Hello everyone, I'm trying to find a library that can create sounds(From samples/soundfonts?). I don't need much complexity - just enough to be able to make a midi file from it.
I need one because I'm trying to make computer-generated music; but so far I can only find libraries that read sound files(mp3, midi, ect...)
So given a waveform, play the waveform without having to first convert it into file format like MP3?
I couldn't find much either just by googling it, good question.
In case no one else can suggest something:
Uncompressed PCM WAV formats are just the waveform with some header format info, so perhaps you can write a temporary WAV file and then play it (of course this can apply to mp3 compression as well).
Also, re-reading your question, I realize you were asking something different.
I'm not too familiar with MIDI, but the "event message" system that it has sounds pretty complicated.
Maybe this will help? http://stackoverflow.com/questions/2126193/wav-to-midi-conversion