[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] SendTrig in 2 or more SynthDefs



Am 16.12.2014 um 16:09 schrieb Huth Florian <flo.huth@xxxxxxxx>:

> one question:
> 
> why is stop no trigger? when i set it to 1 with:
> 
> Synth(\rec,[\stop,1]); //or smth.
> 
> shouldnt that trigger the output of
> 
> SendTrig.kr(stop,1,1);
> 
> inside my synth?
> 


Only once and only if it wasn't > 0 before - in general you need a trigger arg.
See SynthDef help, "UGen Graph Functions and Special Argument Forms"

BTW in your OSCFunc you can use a switch statement:

...
switch(msg.at(2),
	1, { ... },
	2, { ... },
	3, { ... }
	...
)
...


Greetings

Daniel

-----------------------------
www.daniel-mayer.at
-----------------------------

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/