-
// Generating an array with ChordSymbol and using it as an arpeggio-like sequence in a pattern ~arp1 = ChordSymbol.asDegrees(\Fmajor7, Scale.minor); ~arp2 = ChordSymbol.asDegrees(\Gmajor7, Scale.minor); ~arp = ~arp1 ++ ~arp2; ~arp ...
-
... list at random for each repeat, but Pxrand never repeats the same element twice in a row. see also: Pwrand ( var a, b; a = Pxrand .new(#[1, 2, 3], 10); // return 10 items b = a.asStream; 11.do({ b.next.postln; }); ) Pxrand used as a sequenc ...
-
/// measure incoming imu speed: /*** sketch: q.accelcount = 0; q.times = List[]; q.times.size; MFdef(\ntmiImuFunc).add(\counter, { var el = MKtl(\ntmi).elAt(\accel, \x); q.times.add (el.lastUpdateTime); if (q.accelcount >= 1000) { "done".po ...
-
+ Buffer { /* This guarantees that buffer info exists before the buffer is on the server. */ *readWithInfo { |server, path, startFrame = 0, numFrames = -1, onlyHeader = false, onComplete| ^this.new(server).path_(path).readWithInfo(startFram ...
-
... pe: \push, elementTypes: [\pad, \button, \encoder, \display, \bend], status: ( linux: "unknown", osx: "unknown. GUI layout is missing.", win: "unknown"), idInfo: "Ableton Push 2", deviceInfo: ( vendorURI: "https://www.ableton.com/en/push/", ...
-
... imple GUI for Waveset Synthesis. Requires WavesetsEvent, which should be placed in your SC extensions folder. Most of the code came from the included help files. https://github.com/musikinformatik/WavesetsEvent /************************* ...
-
>> start 2 == radpost == Ndef.ar('inMaster', 2); Ndef('inMaster').fadeTime = 0.5; Ndef('inMaster').set('trim', 0); Ndef.ar('master', 2); Ndef('master').fadeTime = 0.5; Ndef.ar('spaceMaster', 2); Ndef('spaceMaster').fadeTime = 0.5; Ndef.ar(' ...
-
Just for fun and a demonstration of gui/2Darrays/synths/tasks in less than 30 lines. SynthDef(\peep,{|freq=100| var snd = SinOsc.ar(freq); snd = snd * EnvGen.ar(Env.perc(0.001,0.25), doneAction:2); Out.ar(0, snd ! 2); }).add; w = Wi ...
-
Pvgamelan : Pattern { var <>pattern, <>instKey; // gamelan is synthDef classvar <convertDegree; *initClass { convertDegree = { arg degree=(0), octave=(5); "%%".format(octave, degree.floor).asSymbol; }.flop; } *new { arg pattern, instKey; ^s ...
-
... tes a series of test signals for each speaker of // the currently active setup. In the default settings this generates // short pink noise bursts, twice on each group of 8 speakers. ( n = 8; // size of speaker groups z = 1/4; // duration pe ...