TJF wrote:rgwan wrote:I want to make a midi synthesizer.
it can change wave pitch and save sound in wave file.or play to speaker.
oh.my english is very poor.....
For a synthesiser you just need to generate the sound itself. Create an empty sound object and fill it with data (ie a sinus wave: frequency = tone height, amplitude = volume). Then use fbsound to play the result.
AFAIK fbsound cannot save files so you have to code this yourself (you can learn from fbsound by reversing the load algorithm).
It 's mean.I must write code for save the sound to the WAVE or mp3 ogg file.
Yes?