So, it's been a while since I've done anything with Faust (life is full of problems, let me tell you...), but I'll try to help you as best as I can (it *is* the weekend after all ;) , which I hope answers your third email).
Am Samstag, 15. Juli 2017, 00:52:07 CEST schrieb Yassin Philip: > 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)); I'm missing the definition of a, d, s and r. > noize = env * noise; The definition of "noise" is missing. > kick = additiveDrum(freq,ratio,gain,5,attack,release,gate); The definition of additiveDrum is also missing (but that is most likely a library function, right?). > 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); > > }; I don't see where pano1 is used after this. > > pano2 = _ <: *(p2),*(1-p2) > > with { > > p2 = nentry("[2]Pano2[style:knob]",0.5,0,1,0.1); > > }; Same here, you define it but don't insert it anywhere. Even so, you would only have *one* panorama setting, right? So I would say this is redundant. > process = hgroup("Noize", noize : mute1 : amplify1 ),hgroup("Kick", kick > > : mute2 : amplify2); So if I understand this correctly, you should be hearing the noise on the left channel and the kick on the right channel, but you *don't* here anything, or what exactly does... > 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 ... "Wrong" here mean? Looking at the diagram from your next email, you did play with the sliders, buttons, everything, right? > :( 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 (:>_,_) Should that work? Regardless, that looks weird, I would expect a simple "+" (or more explicitly: "_,_ + _", or "+ <: _,_" if you really want two outputs) for mixdown. > or > using various blocks and combinations, no-way, I'm really missing > something... What? > > Thank you for your patience, Faust is fantastic BTW 1.) Even though I don't use it ATM, I agree :) . 2.) Full sources, please. Some definitions are missing, and in general, one requires everything in order to get the full picture. > yPhil HTH -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ 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