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

[sc-users] DiskIn and done-flag



Hi there,

The documentation on DiskIn says it sets the done-flag, but the Synth below
doesn't stop after the playback is done. Any ideas?

Thanks!
Robert

SynthDef(\diskPlayer2, {
	arg buf, gate, out = 0, loop = 0, att = 0.01, rel = 0.01, lev = 1;
	var sig;
	sig = DiskIn.ar(2, buf, loop) * EnvGen.kr(Env.adsr(att,0,1,rel), gate,
doneAction: 2);
	FreeSelfWhenDone.kr(sig);
	Out.ar(out, lev * sig);
}).send(server);





-----

*
Robert van Heumen 
Composer and improvising musician
http://hardhatarea.com/ 
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/DiskIn-and-done-flag-tp7615453.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
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/