[LAD] help with libsndfile/etc

AlgoMantra algomantra at gmail.com
Fri Oct 24 08:52:02 UTC 2008


Geeks, tuxians and audioslaves!

I need some help here. I got a bit freaked when I saw that
the libsndfile example files contained a program nearly 1000 lines long to
simply play
a file. But perhaps it's intended for a higher level of geekery. My needs
are very modest.

My task: I just want to load a few samples(wav) which are represented on a
GUI (using SDL) and when they knock about on the screen, sound (music)
is generated using some rules.I need them to mix, of course.

 I was using SDL_mixer for this. But my problem was that I want to write to
file
(record) a whole session of the running program as a single wav. SDL_mixer
does not seem to have writing options.

Now is there a way I can do this in some reasonably efficient manner using
libsndfile?
I could load using libsndfile too, skipping SDL_mixer altogether. It's
already installed.

What to do? Any tips would be appreciated.

Thanks,

-------    -.-
1/f   )))  --.
-------    ...
http://www.algomantra.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20081024/9de921cb/attachment.html>


More information about the Linux-audio-dev mailing list