Looping recorded sounds with minim...
Hi I want to record sounds (multiple sounds which should be stored in a folder) with a microphone and loop it with the other sounds I have added - song, song 2 and song 3. The problem is I want the...
View Articlenull pointer exception processing error
Hello i am currently working my thesis (creation of BCI with emotiv, arduino,servo and processing). My goal is to send r and l keystrokes to move the servo right or left with emotiv. For start i have...
View Articleplaying multiple tracks at the same time and adjusting volume
This is for an art project. I'm trying to play 4 wav. files on an infinite loop at the volume 0. when I press a button, the volume should rise up to 100. each button is connected with a wav. file, so...
View ArticleHow to use ultrasonic sensor to trigger a video ? (Arduino+processing)
Hey ! First time I'm using Arduino and Processing at the same time and I'm completely lost ! I'm designing an interactive installation, and I need the trigger the position in a video with the distance...
View ArticleHow do I fix port busy?
I am trying to install the Processing.org(Processing) code on an Arduino Mega 2560 board with A sample program for the MPU5060("MPU5060_DMP6.ino"). Everything seems to be fine, except that I get the...
View ArticleGame Control Plus processing sketch stops when loses windows focus.
I posted a question earlier but it was really poorly written. Hopefully this is clear. Game Control Plus is a fantastic library that allows you to easily write a processing sketch that captures a...
View ArticleIs Arduino 1.6.13 stable? or Did my MPU6050 just break?
I just upgraded to Arduino 1.6.13 I am using a Mega 2560, so I changed the #include, but noticed that the MeGyro example only works for a few seconds. I question if my MPU6050 broke on the same day...
View ArticleSolved This Arduino program executes 3 lines of code and then restarts itself...
int Segment, n, Compare; double ANGLE [300] ; double DISTANCE [300] ; double XX [300] ; double YY [300] ; double Correlation [20 ] = {1,9,2,8,3,7,2,6,5}; double Sorted_Correlation [20 ] =...
View ArticleControl P5 inside a class?
Hello, I'm building an interface using controlp5 for an Arduino with some sensors attached to it. I want to have many sensors, so I am trying to build the interface in a modular fashion so that I can...
View ArticleThis programs jams when it executes "gyro.begin()" Solution?
This programs jams when it executes "gyro.begin()" Is there a solution? int Segment, n, Compare; double ANGLE [100]; double DISTANCE [100] ; double XX [100] ; double YY [100] ; double Correlation [20 ]...
View ArticleThe port name?
arduino = new Arduino(this, "/dev/name/COM3", 57600); What port do I use. I have tried COM1/2/3/4/5
View ArticleHow do I get Jeff Rowberg's MPU6050 software to run.
I am trying to get Jeff Rowberg's software for the Invensense MPU6050 to run. (Arduino's MPU6050.ino and Processing's MPUTeapot.ino) But MPU6050.ino and MPUTpot.ino do not talk to each other....
View ArticleArduino to Processing with push button and LEDs
I have created a program that allows you to use processing to communicate to LEDs connected to a nano. The processing code allows the user to select an LED colour and how many times the LED will flash....
View Articlechanging video in processing using arduino and button
I want to changing video in processing. Before push the button, we can see video 'A'. After push the button, we can see video 'B'. //this is my arduino code. int switchPin=7; int LEDPin=13; void...
View Articlehow to delete the previous frame?
hello I am new to processing and I'm working on a code to create a simple compass using the arduino. this is my current code: PFont f; import processing.serial.*; Serial myPort; String val; int angle;...
View ArticleComing to an end with this assignment. Just cannot make the text appear on...
int pageNumber = 1; //Variables for falling ball float y0 = 0; float x0 = random (width); float y0_speed=3; PImage bot; PImage gift; PImage img; PImage img2; int quantity = 300; float [] xPosition =...
View ArticleTransfer file from PC to Arduino SD card
Hi, I am looking for an example that shows how to transfer a file from my PC to the SD card of my Arduino. I have searched the Internet and your forum but I could not find anything. I would be very...
View ArticleText- to Speech: How to implement read out function of Sketch to Terminal?
Hello, I am quite new in the field of programming and for a university project I would be very happy to receive some help from advanced people in this field ;) I just came recently across this...
View ArticleHow to remove ghosting on resistor array
Hi, I have a resistor array 4*4 . I send 5V pulses to each column separately, and I read data from rows. now I need to remove ghosting on the plot I have static resistance (blue line) and when i change...
View ArticleHow to count rectangular signals and calculate signal/minute?
Hello! I have little expierence with programming and I had followed some instructions to make a light sensitive counter that would peak every time there's a sufficient change in ambient or artificial...
View Article