Hi Mike!

2012/11/7 Mike MacHenry <mike.mache...@gmail.com>:
> I am looking for advice on what libraries from Savonet I can use for a
> project I'm working on. Here is a simplified version of what I want to do.
>
> I want to write a program that takes list of ogg, wav, or mp3 files and
> plays them to an Icecast stream. Files will be randomly selected, played not
> in their entirety but some segment, faded in and out, panned, and many files
> can play at once.

This should all be possible with liquidsoap, although some features
may require relatively advanced knowledge of the language.

> I found Liquid Soap and Savonet and I think it's probably a great set of
> libraries for the job. I have been looking around at the various documentary
> pages for the libraries in Savonet and I have been unable to find a simple
> mixer library, which I'm sure must exist.
>
> PulseAudio, JackAudo, and SDL all seem like they clearly mix audio, but I
> think Pulse really needs to interface the Linux sound system, Jack requires
> me to use it to tie together multiple process, and SDL seems to want to
> connect to audio devices, whereas I want to stream.
>
> Does anyone have recommendations on what libraries I should be focusing on
> learning to write something like this? Perhaps one of those three actually
> has all the capabilities I need.

I am wondering why do you need a mixer library for? If by this you
mean that you want to merge two different tracks into one then this
should be possible using liquidsoap it self. For instance in the
following snippet:

# One source
source1 = (...)

# Another source
source2 = (...)

# Mix those two sources together
mixed = add([source1, source2])

Is that what you need?

Romain

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to