Sorry (apparently FFox doesn't know how to embed an online img, oh well) the diagram is here <https://framapic.org/TVHGMH480G53/3M7B4nBn3Dxf.png>.

yPhil

On 14/07/17 23:52, Yassin Philip wrote:

Hi everybody!

My name is Yassin Philip, I'm a musician and an occasional coder, I hope I won't be making too much noise :) English is not my native langage and yes, it shows, please excuse me for that too.

I'm trying to mix two sources : A noise, and the output of a FAUST instrument ; I have been following the "One voice mixer" tutorial <https://www.youtube.com/watch?v=kTN-ZAEdYD4> :

gate = button("gate"); // 0/1

env = gate : hgroup("Noise Env", adsr(a, d, s, r));

noize = env * noise;

kick = additiveDrum(freq,ratio,gain,5,attack,release,gate);

mute1 = *(1-checkbox("Mute1"));

mute2 = *(1-checkbox("Mute2"));

amplify1 = *(hslider("Gain1", 0.5,0,1,0.01));

amplify2 = *(hslider("Gain2", 0.5,0,1,0.01));

pano1 = _ <: *(p1),*(1-p1)

with {

p1 = nentry("[1]Pano1[style:knob]",0.5,0,1,0.1);

};

pano2 = _ <: *(p2),*(1-p2)

with {

p2 = nentry("[2]Pano2[style:knob]",0.5,0,1,0.1);

};

process = hgroup("Noize", noize : mute1 : amplify1 ),hgroup("Kick", kick : mute2 : amplify2);

The above code is "Faust code OK" in FaustWorks ; This is really prototype code, I purposely duplicated stuff to be dead sure that I'm using separate objects, please forget its crudeness anyway, here is the diagram :

Faust diagram

It really looks like we should hear both sources together, right? Wrong :( See if I leave only one of them two, say "hgroup("Noize", noize : mute1 : amplify1)" alone, /then/ I can hear it, same for "hgroup("Kick", kick : mute2 : amplify2)" :(

I tried everything, like mixing them down to simple stereo (:>_,_) or using various blocks and combinations, no-way, I'm really missing something... What?

Thank you for your patience, Faust is fantastic BTW

yPhil


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to