Re: Integrating Events and Patterns
[email protected] Tue, 8 Jun 2021 23:59:55 +0200
| Newsgroups | gmane.comp.audio.supercollider.user |
|---|---|
| Message-ID | <[email protected]> |
Then maybe like this ?
(
e = (
'sus': Pwhite(0.5, 0.8),
'rel': Pwhite(0.01, 0.3),
'degree': Pseq([ 0, 2, 3, 4 ], inf),
'dur': Pseq([ 0.2 ], inf),
'octave': Prand([ 5 ], inf),
'dec': Pseq([ 0, 2, 3, 4 ], inf),
'instrument': nil
);
n = Pbindef(\e, *e.asKeyValuePairs);
e = PbindefEvent(n);
w = Window("", Rect(0, 0, 300, 300));
PdefGui(n, parent: w, bounds: Rect(0, 0, 50, 10));
q=EnvirGui(e, 24, parent: w, bounds: Rect(40, 0, 600, 90));
w.front;
);
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/