How about:

process(x,y,z) = x*z, y*z;

On Sat, Feb 26, 2022 at 9:33 AM David Braun <br...@ccrma.stanford.edu>
wrote:

> I would prefer using a parameterized function which enables some
> re-usability. Check out how each of these works in the IDE.
> import("stdfaust.lib");
> myMultiply(gain, sig1, sig2) = sig1*gain, sig2*gain;
> //process = _, _, _ : myMultiply;
> //process = os.osc(440), os.osc(880) : sp.stereoize(_*.1);
> process = os.osc(440), os.osc(880) : myMultiply(0.1);
>
> On Sat, Feb 26, 2022 at 8:40 AM Meng Qi <mengqimu...@gmail.com> wrote:
>
>> _,_,_ <: _,!,_,!,_,_ : _*_,_*_ : _,_;
>>
>> Regards,
>> /M.Q. <http://mengqi.bandcamp.com/>
>> http://www.mengqimusic.com
>>
>>
>> Klaus Scheuermann <kla...@posteo.de> 于2022年2月26日周六 23:57写道:
>>
>>> Hi All,
>>>
>>> stuck again ;) How do I multiply two signals each with a third one and
>>> output the two signals?
>>>
>>> _,_,_ : ??? : _,_
>>>
>>> Thanks, Klaus
>>>
>>>
>>> _______________________________________________
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>>
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>


-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to