On Saturday 04 January 2003 16.51, Vandana wrote: > I want to play sound samples (sorry for using 'wav', I just want > to play raw sound samples) that are resident in memory. I want to > play the samples (not read or write files). Which is the most > convenient and easy to use library for this purpose?
Well, Audiality can do that (and other things), but it's still in heavy development. (The highest level API and the scripting language probably won't change much, but I did change naming conventions between 0.1.0 and the upcoming 0.1.1...) SDL_mixer is another alternative. Quite similar to Audiality in some ways, although more focused on SFX and music for games. (Audiality is turning into something different; game SFX is no longer the top priority.) (Both depend on SDL currently, but it'll be optional for future Audiality releases. Just need proper ALSA support and a C sound file lib.) If you want something dead simple (ie just play 44.1 kHz sounds with 44.1 kHz output), you might just want to roll your own - but as soon as you start doing resampling, looping, click-free volume/pan control and stuff, complexity tends to explode. //David Olofson - Programmer, Composer, Open Source Advocate .- The Return of Audiality! --------------------------------. | Free/Open Source Audio Engine for use in Games or Studio. | | RT and off-line synth. Scripting. Sample accurate timing. | `---------------------------> http://olofson.net/audiality -' --- http://olofson.net --- http://www.reologica.se ---