-
... .4, \midinote , PHPZ1 ( Pseq ([12, 0, 0, 0, 0, 3, 0, 0, 0, 0], inf )).trace+50).play a.stop a= Pbind ( \dur , 1/6, \legato , 0.2, \amp , PHPZ1 ( PImpulse (8), PSaw (64)).trace).play a.stop
-
... \legato , 0.4, \midinote , PClip ( Pseq ([0, 2, 4, 5], inf ), 2, 4).trace*5+50).play a.stop a= Pbind ( \dur , 1/6, \legato , 0.2, \amp , PClip ( PSinOsc (16), 0.5, 1).trace*0.5).play a.stop
-
... .4, \midinote , PBRZ2 ( Pseq ([12, 0, 0, 0, 0, 3, 0, 0, 0, 0], inf )).trace+50).play a.stop a= Pbind ( \dur , 1/6, \legato , 0.2, \amp , PBRZ2 ( PImpulse (8), PSaw (64)).trace).play a.stop
-
... .4, \midinote , PLPZ1 ( Pseq ([12, 0, 0, 0, 0, 3, 0, 0, 0, 0], inf )).trace+50).play a.stop a= Pbind ( \dur , 1/6, \legato , 0.2, \amp , PLPZ1 ( PImpulse (8), PSaw (64)).trace).play a.stop
-
// requires SimpleMIDIFile.sc from wslib + SimpleMIDIFile { playNotesWithFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track ...
-
... 1].wait; }; RedMst.stop; (this.class.name++": sequence finished").postln; }); } play { task.reset; task.play(RedMst.clock); } stop { task.stop; RedMst.stop; } pause { task.pause; } resume { task.resume; } }
-
... k, s); { SinOscFB.ar(Rand(400.0, 300), Line.kr(1, 3, 10, doneAction:2)) * 0.1 }.play; a.start; // hit cmd-period, wait a little, then: { SinOscFB.ar(Rand(400.0, 3000), Line.kr(3, 1, 10, doneAction:2)) * 0.1 }.play; a.stop; // dev notes // m ...
-
SFPlay { classvar <playfunc, <buffer; *play {arg path, starttime = 0, outbus = 0, server; var c, soundfile, info, numChannels, numFrames, sampleRate, duration; c = Condition.new; server = server ? Server.default; path.notNil.if({soundfile = ...
-
... MKtl(\nocoast).device.midiOut, \chan: 0, \midinote: rrand(50, 100), \dur: 0.1).play // midiB (\type: \midi, \midiout: MKtl(\nocoast).device.midiOut, \chan: 1, \midinote: rrand(10, 40), \dur: 0.1).play ////// just a pattern... Pdef(\player) ...
-
... lity of the fileseeking which is required for writing soundfile headers.) The . playing flag can tell you whether the MP3 is currently (still) playing - i.e. it is true if you have started the MP3 and not yet stopped it. (It will revert bac ...