Arduino Forum

Using Arduino => Audio => Topic started by: daitangio on Mar 06, 2011, 02:03 pm

Title: Midi to C like wav 2 ?
Post by: daitangio on Mar 06, 2011, 02:03 pm
Hi all,
I need to convert a midi files to tone for a small piezo speaker.
Is there something like wav2c but for midi files?
I googled a bit without much success
Thanks!
Title: Re: Midi to C like wav 2 ?
Post by: scjurgen on Mar 06, 2011, 05:25 pm
The midifile protocol is quite simple and there are some parsers out there. Maybe you can start exploring with this:
http://cnx.org/content/m14879/latest/ (http://cnx.org/content/m14879/latest/).
Title: Re: Midi to C like wav 2 ?
Post by: Grumpy_Mike on Mar 07, 2011, 10:25 pm
Not much for an arduino to do here.

Simply get a MIDI monitor to display the notes for the tune and look up the frequencies or if you are doing a lot of it then get a processing sketch to do it for you.