Me and my Sis are currently working on building a Laserharp made out of 12 lasers. Through a potentiometer and a photosensor we read the voltage with analog.read() into a number from 0-1024.
Through loopmidi we created a virtual midi cable. In Hairless Midi we connect our Arduino Mega 2560 and specified the Midi out as the said virtual midi cable (named vmpk in this case). In the end we connected the Virtual MIDI Piano Keyboard with the vmpk port. We tried to run our sketch several times.
(We also considered to change the baud rate of hairless midi so it would fit the arduino)
Sometimes it was able to actually send the notes from the arduino in order to make it hearable with the synthesizer. (It didn’t work the way we want it to -unfortunately when debugging the hairless midi we could see that random midi note ons where send but mostly not the one we actually activated in the programm. Or sometimes random note ons on a different channel - but that is a different kind of story).
However rarely it happened we got an “ftdi drivers don’t seem to be installed. not attempting any ftdi latency tricks” error.
But if we just tried to end the connection and reconnect it, we were able to avoid the problem.
However now we suddenly got this error again, not being able to avoid it anymore. Restarting it doesn’t help either.
I don’t really get what this “ftdi driver” is supposed to do but read in other threads we had to install it otherwhise it wouldn’t work (which is strange because sometimes it did work! we didn’t get this error all the time but now it seems unavoidable). Also installing the driver didn’t really change anything.
What can i do? Do any of you got an idea why it popped up this suddenly from nowhere? and Also what we could do or what the problem is?
Anyway, thanks it advance.
I’ll just attach the sketch just in case. Maybe it’ll kind of help.
Laserharp.ino (2.18 KB)