-
... y (https://github.com/OSSIA/libossia.git) * and the interactive sequencer OSSIA/score (https://github.com/OSSIA/score.git) */ //-------------------------------------------// // NODE // //-------------------------------------------// + OSSIA ...
-
// test //-- INIT SynthDef(\thatblip, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5 ...
-
// test //-- INIT //-- PLAY ( Ndef(\xxx, { |freq = 200| BPF.ar( WhiteNoise.ar(0.3 ! 2) + GrayNoise.ar(0.2), XLine.kr(0.5, 1, 4) * freq.lagud([1, 0.2, 0.5], [0.2, 0.6, 0.3]) * [[1, 1.2, 1.5]], 0.01 ).flop.sum }).play; ); ( Tdef(\xtest, { loo ...
-
... UserView(win, win.view.bounds) .background_(Color.gray(0.1)); //game over & score box, only visible when you crash //(score = snake body size) deadbox = StaticText(win, Rect( win.bounds.width/2 - 50, win.bounds.height/2 - 20, 10 ...
-
... berBox displaying the number of lines var <lineBox; // NumberBox displaying the score var <scoreBox; // the current game screen (a subclass of ChordGameScreen) var currentScreen; // the main game screen var <gameScreen; // number of matrix ...
-
... y (https://github.com/OSSIA/libossia.git) * and the interactive sequencer OSSIA/score (https://github.com/OSSIA/score.git) */ OSSIA_Base // base classe for OSSIA_Device and OSSIA_Node { var <name; var <path; var <children; // overwriten by ...
-
//-- INIT ( SynthDef(\heavy, { |out| var n = 1200; var sig = { var freqs = { |i| (0..i).nthPrime.scramble.keep(8) }.dup(n).flat.as(Set).as(Array); var amps = { 0.4.rand }.dup(freqs.size); var dts = { 2.4.rand }.dup(freqs.size); freqs = freq ...
-
... re collection", { var a1 = SamplerArguments.new, a2 = SamplerArguments.new; var score = SamplerScore.new; score.add([a1, 0]); score.add([a2, 0.03]); assertTrue.(SSampler.gestureIDsOf(score).asSet == Set[a1.gestureID, a2.gestureID], "playEnv ...
-
... gth=1800; // 300 is 5 minutes, 1800 is 30 minutes TempoClock.default.tempo = 1; Score.write([ [0.1, [\s_new, \scpodcast_harp1, 1000, 0, 0, \amp, 0.7]], [length * 0.33, [\n_set, 1000, \pluckratefactor, 3]], // More plucking [length * 0.67, [ ...
-
... gth=1800; // 300 is 5 minutes, 1800 is 30 minutes TempoClock.default.tempo = 1; Score.write([ [0.1, [\s_new, \scpodcast_harp1, 1000, 0, 0, \amp, 0.7]], [length * 0.33, [\n_set, 1000, \pluckratefactor, 3]], // More plucking [length * 0.67, [ ...