Open chloehkai opened 8 years ago
Hi Cheong,
I'm using Arduino UNO connected with Mac OS 10.10 Yosemite When I try to change MIDI out, it crashes. If I have turned on IAC Driver in Audio MIDI setup before opening Hairless, then it doesn't crash again. Perhaps that's something you'd like to look into?
Thanks for reporting the bug. Do you have any more details about the crash? Was any message displayed?
I wonder if it's because newer versions of Arduino IDE doesn't accept Serial.print (x, BYTE) syntax anymore?
You're right that Ardumidi is no longer being maintained or supported. :(. I will remove it from the next release of hairless (whenever that is.)
Instead, I suggest using the Arduino MIDI Library: http://projectgus.github.io/hairless-midiserial/#how_do_i_use_the_arduino_midi_library
Thanks for your prompt response! I've just tried to replace all BYTE messages to Serial.write() in "ardumidi.cpp" and it's working now. This is a great library by the way. I like the idea of using a virtual MIDI connection. I've seen other USB MIDI libraries, and they all required flashing the Arduino firmware, which I hesitate to try.
Do you have any more details about the crash? Was any message displayed?
Sorry, I forgot to save the error message. Now it doesn't crash anymore, whether I've turned on IAC or not. I'll let you know when I see the same problem again.
I had the same issue: "'byte' was not declared in this scope" and solution was to
Hi,
I'm using Arduino UNO connected with Mac OS 10.10 Yosemite When I try to change MIDI out, it crashes. If I have turned on IAC Driver in Audio MIDI setup before opening Hairless, then it doesn't crash again. Perhaps that's something you'd like to look into?
Then I tried to upload your ardumidi_test example, And I got this error during compiling:
/Arduino/libraries/ardumidi/ardumidi.cpp: In function 'void midi_print(char*, int)': /Arduino/libraries/ardumidi/ardumidi.cpp:72:21: error: 'BYTE' was not declared in this scope
I wonder if it's because newer versions of Arduino IDE doesn't accept Serial.print (x, BYTE) syntax anymore? I'm using Arduino IDE 1.6.9. Thanks!
Cheong