[SDL] SDL_Mixer and speed/pitch shift
Sylvain Beucler
beuc at gnu.org
Mon Aug 6 13:41:38 PDT 2007
On Sun, Aug 05, 2007 at 11:55:15PM -0700, E. Wing wrote:
> > Is there a way to implement pitch shift with SDL_Mixer? Or an
> > alternate SDL library that would do that (but I also need midi/BGM
> > support in the mixer)?
>
> One alternative is OpenAL (+ SDL_sound to decode?). Pitch shifting is
> easy in OpenAL, e.g.
> alSourcef(mySource1, AL_PITCH, pitch_multiplier);
Thanks. I had seen OpenAL, though it does not support MIDIs. Do you
know if it is possible to mix 'n match several sound libraries at once
(like alSourcef and MIX_PlayMUS in the program)?
Or maybe I should just try to implement rate conversion in
SDL_Mixer.. :)
--
Sylvain
More information about the SDL
mailing list