Sorry if this is a total noob question but I'm a total when it comes to the Galileo board.
Ive searched everywhere online and can't find any information on if it is possible to send midi information over usb from the Galileo board. I have seen stuff for using the host usb socket so that the Galileo can be used as a synth or sample player, but I am trying to make a step sequencer that sends midi information to trigger programs such as battery on my mac. Im using the Arduino IDE as Im fairly comfortable in that environment.
If it is possible does anyone know of any libraries or documentation to achieve this, or if not any external components I may need to look at that are compliant with the Galileo.
Thanks in advance, and Im pleased to be joining your community.
Thank you for your interest in the Intel® Galileo Gen 2 Board.
I'm not sure if I fully understand what you are trying to accomplish with the Galileo board. Do you mind providing some kind of image that shows the setup that you are interested in implementing? Do you want the information to go from the board to your Mac or vice versa? Are the MIDI files stored or generated by an external device?
In the meantime, you may be interested in checking this video:
Intel Galileo Synthetizer
The poster also shared his experience in the Galileo Community:
a digital musical instrument using the Galileo
I haven't personally tried anything this, so perhaps you may be interested in contacting community member victorlazzarini for further details.
I'll be waiting for your response.
Have a nice day.
Thanks so much for your reply, here is a photo of what I have built.
Its a step sequencer that uses an Arduino sketch on the board to read and write a 2d array from values inputed with the control panel in the shot.
I need to send the midi information (note on/off and cc) generated in the Arduino sketch on the board to my mac, i don't need to read any information from my mac. Ideally I would like to achieve this through usb but I have a midi breakout board that I could use through RX and TX (but again not sure if that is possible, as I have failed so far using midi.h Library).
All of my code is completed and working except for how to send out the midi info (and saving my arrays to multiple save files on the onboard SD card, but thats another venture for another time). Thanks for the links, I had watched those before purchasing the Galileo gen 2 board, but unfortunately thats about all the info I can find online.
i am really grateful for your reply and I will try and contact victorlazzarini to see if he could help.
Thank you for sharing the image and for providing a more detailed description of your project.
The midi.h library does not work because, as stated here https://github.com/FortySevenEffects/arduino_midi_library/, it is compatible with Arduino boards that have an AVR processor (the Galileo board uses an x86 processor).
In the mentioned thread, victorlazzarini mentions that he uses the alsa usb audio module (homembit does the same in this Edison oriented project http://www.instructables.com/id/Programable-MIDI-Synth-with-Intel-Edison-and-Csoun/) For more information regarding ALSA (Advanced Linux Sound Architecture), please check this link: https://www.alsa-project.org/main/index.php/Main_Page.
Additionally, I was looking at the Intel® Galileo Board, Intel® Galileo Gen 2 Board, and Intel® Edison Board – Shield Testing Report ( https://www.intel.com/content/dam/support/us/en/documents/Galileo-Edison_ShieldTestReport_330937-002...) and noticed a MIDI audio compatible shield. Even if you are not interest in the shield itself, the code that appears in page 149 provides an alternative approach, which consists in extracting audio samples from a SD card.
If you have any update or another question, don't hesitate to contact us.
Have a nice day.
Thank you for all the info, I'll have a really good read through it all to see if any will be a viable option for me, as far as functionality and if I can get my head around it. With the shield for reading audio files it looks like it is made as an mp3 player, one of the functions I would need from that option would be to be able to play up to 8 samples simultaneously, I had a quick browse of all this info whilst at work but didn't have time to go into depth with it. hopefully I will be able to achieve some new knowledge from all this tonight.
I have also contacted victor by a private message.
Thanks for all your help