[LAD] help with libsndfile/etc

From: AlgoMantra <algomantra@email-addr-hidden>
Date: Fri Oct 24 2008 - 11:52:02 EEST

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Oct 24 12:15:03 2008

This archive was generated by hypermail 2.1.8 : Fri Oct 24 2008 - 12:15:03 EEST