[SDL] SDL useful for sound synthesis?

Louis Desjardins lost_bits1110 at hotmail.com
Thu Sep 21 09:46:14 PDT 2006


Hi there,

I've been browsing through the SDL site and the examples to try to figure 
whether SDL is appropriate for my application.

I'm basically synthesizing my own sound using an "additive synthesis" 
technique, i.e. adding individual continuous sinusoids that each have their 
own phase, frequency, and amplitude.

I am able to compute 10 seconds of sound and then output this to the audio 
device simply via OSS. However, I need to be able to do this in an 
"on-the-fly" manner, i.e. I cant be precalculating 10 seconds of sound, but 
rather, I will be calculating a few milliseconds of sound samples at a time 
and playing these as soon as they get processed.

I just have to make sure that everything is real-time and sounds continuous 
and that there are no clicks or anything between samples.

I am totally new to audio programming so if someone could help direct me as 
to whether SDL or SDL_mixer (or maybe another library) would be best suited 
for my needs (and why?) that woudl be great!

Thanks again,

LD

_________________________________________________________________
Find a local pizza place, music store, museum and more…then map the best 
route!  http://local.live.com





More information about the SDL mailing list