-
//very simple example - just posting ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: {|b| ...
-
// basic example on how to swap one action from one control element to another. k = MKtl(\nk2, "*nanokontrol2"); k.gui; ( // function that should be linked to some element var setFunc = {|el ... args| "(%) % [%].\n".postf(el.parent.elemInde ...
-
/* this example for WFSCollider demonstrates how to program midi control for your score. It creates a very simple score with a sine wave in the center of the room, with infinite duration. The frequency of the sine wave is controlled via the ...
-
( Alga.boot({ //Simple Buffer player AlgaSynthDef(\playBuf, { PlayBuf.ar(2, \buf.ir(0), BufRateScale.kr(\buf.ir), doneAction:2) }, sampleAccurate: true).add; //Read a kick and a snare b = Buffer.read(s, File.realpath(Alga.class.filenameSymb ...
-
... ssing a tuplet relation. e.g. 3/2 represents three in the space of two. See the examples below for more Examples // simple example ( // create an XMLScore z = XMLScore .new; // add a voice to the XMLScore z.add(y = XMLPart (meter: XMLMeter ...
-
"simple JIT startup example.".postln; s.options .numAudioBusChannels_(1024) .zeroConf_(false) // don't wait for zeroconf when booting server .memSize_(8192 * 32) // memSize is in kB, so 8 * 32 = 256 MB for soundfiles, buffers // keep severa ...
-
# TextSequencer Use simple strings to compose complex rhythms. Copyright (c) 2009, 2016 Neels Hofmeyr <neels@hofmeyr.de> Published under the GNU General Public License v3. This is a "Quark", a plugin for the supercollider audio synthesizer ...
-
... nts of an instance of XMLScore. pathname - the path to write a MusicXML file to Examples // simple example ( // create an XMLScore z = XMLScore .new; // add a voice to the XMLScore z.add(y = XMLPart (meter: XMLMeter (4, 4), key: XMLKey .maj ...
-
... s the initialization and deallocation of resources relevant to your pieces in a simple manner. See also: MoltenPiece MoltenPlayer Creation / Class Methods *new (argNumPieces) argNumPieces - Number of piece slots to allocate. Should be an In ...
-
// A very simple example use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f] ...