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

Re: [sc-dev] Event's sustain



>> legato inconsistent between different tempi.
> I don't think so, but maybe try:
It is inconsistent in relation to Event's sustain (~sustain).
Your example does not take sustain as arg.

But thanks. 

Anymore thoughts?

y.

On Nov 29, 2014, at 8:12 PM, Stephan Wittwer <stephan.wittwer@xxxxxxxxx> wrote:

> 
> 
> 2014-11-29 15:02 GMT+01:00 yota morimoto <yotamorimoto@xxxxxxxxx>:
> 
> [...] 
> legato inconsistent between different tempi.
> [...]
> 
> I don't think so, but maybe try:
> 
> s.boot;
> 
> (
> SynthDef("test", { | out = 0, amp = 0.1, gate = 1, freq = 440, tempo = 1 |
> 	var src, eg, r;
> 	r = freq.reciprocal;
> 	eg = Linen.kr(gate, r, 1, r, 2);
> 	src = VarSaw.ar(freq, width: 0.4);
> 	Out.ar(out, src * eg * amp)
> }).add;
> 
> v = Pbind(
> 	\instrument, "test", 
> 	\degree, Pseq([ 0, 7, 6, 7, 4, \ ], inf), 
> 	\legato, 0.5, // change this
> 	\out, Pn(Pseries(0, 1, 2))
> ).play
> )
> 
> 	// line by line
> v.clock.tempo = 3;
> v.clock.tempo = 0.5;
> v.clock.tempo = 7;
> v.clock.tempo = 15;
> 
> 
> v.stop;
> 


_______________________________________________
sc-dev mailing list

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