Hi,
I'm designing sound for an indie game that's under developement. My goal is to use PD to dynamically trigger/blend sounds depending on game data, and by randomly selecting background sounds and music loops.
I got it pretty far by using [soundfiler] loading .wav files into arrays and [tabread4~] reading from the arrays. It looped nicely without any clicks, and I could easily change playback speed. But ofcourse I needed to compress all files to .ogg format, and I realized that [soundfiler] doesn't seem to accept that format...
So I tried using [oggread~] and writing its output to arrays with [tabwrite~], but then I have to wait for all the files to play through before [tabread4~] can read them from the arrays. And [oggread~] makes awful pops when it loops so I can't use it for looping the files.
Does anyone know a good solution? I have read about sndfiler, wich seems to be a good solution, but they state that it can crash patches etc, and I don't really know how to install it and get it to work. Anyone of you had any experience with sndfiler? If you can help me with another solution to my problem or with getting sndfiler to work, I'd appreciate it!
Thanks!