This project has moved. For the latest updates, please go here.


Sep 13, 2011 at 5:11 AM

If I had an array with information for a series of notes (frequency, amplitude, and duration), how could I save that data to a .wav file?

Sep 22, 2011 at 3:50 PM

WAV files contain audio. You would need to convert that information into audio somehow. The simplest solution would be to create sine waves, but it wouldn't sound great to listen to. An alternative would be to create a MIDI file, and then play it back through a software synthesizer.


Sep 23, 2011 at 12:07 AM

Yeah, the program currently just plays sine waves (I didn't want to do anything more complex until I got the whole saving bit working. How exactly would I save to a MIDI file? That seems to be what I'm looking for. Thanks!