Re: [LAD] need help mixing on the fly

From: Julius Smith <jos@email-addr-hidden>
Date: Sat Feb 18 2017 - 22:01:48 EET

Hi David,

Attached is the output from

  faust -a sndfile.cpp tmix2.dsp > tmix2.cpp

for the Faust program (tmix2.dsp):

  // two-channel audio mixer:
  gain1 = hslider("Gain1",0.5,0,1,0.001);
  gain2 = hslider("Gain2",0.5,0,1,0.001);
  process = _, _ : *(gain1), *(gain2) :> _;

(See tmix2.cpp attached)

Cheers,
- Julius

On Fri, Feb 17, 2017 at 5:44 PM, David Griffith <dave@email-addr-hidden> wrote:

>
> For a couple years I've been trying, without success, to reliably mix two
> audio streams on the fly in C. I'm using libao, libmodplug, libsamplerate,
> libsndfile, and libvorbis. The program is Frotz (
> https://github.com/DavidGriffith/frotz), a Z-machine emulator for playing
> old Infocom games as well as newer ones. Could I please get some help with
> this?
>
>
> --
> David Griffith
> dave@email-addr-hidden
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>

-- 
Julius O. Smith III <jos@email-addr-hidden>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/>


_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Received on Sun Feb 19 00:15:01 2017

This archive was generated by hypermail 2.1.8 : Sun Feb 19 2017 - 00:15:01 EET