-
... , offset] --> BasicTimeSpec [quant, offset, latency] --> BasicTimeSpec Example: SynthDescLib .global.read; c = Pbind ( \freq , Pseq (#[5000, 2500, 2500, 2500], inf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , ...
-
... , offset] --> BasicTimeSpec [quant, offset, latency] --> BasicTimeSpec Example: SynthDescLib .global.read; c = Pbind ( \freq , Pseq (#[5000, 2500, 2500, 2500], inf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , ...
-
... a) } useSynthDefSustain { |event| event.use { ~unitDuration = { var synthDesc = SynthDescLib.at(~instrument.value); var sustainControl, unitDuration; if(synthDesc.notNil) { sustainControl = synthDesc.controlDict.at(\sustain); if(sustainCont ...
-
... aStore { | libname=\alga, dir(synthDefDir), completionMsg, mdPlugin | var lib = SynthDescLib.getLib(libname); var file, path = dir ++ name ++ ".scsyndef"; if(metadata.falseAt(\shouldNotSend)) { protect { var bytes, desc; file = File(path, " ...
-
... et, index) }; StartUp.add { // condition should be true in 3.6, false in 3.7 if(SynthDescLib.global['system_setbus_control_1'].isNil) { (1 .. SystemSynthDefs.numChannels).do { arg i; SynthDef("system_setbus_audio_" ++ i, { arg out = 0, fade ...
-
... ue + (~offset.value * ~speed.value.abs); } getMsgFunc { |instrument| var desc = SynthDescLib.global.at(instrument.asSymbol); ^if(desc.notNil) { desc.msgFunc } { ~msgFunc } } sendSynth { |instrument, args| var group = ~synthGroup; args = arg ...
-
... ; var <>triggers; *readAll { | path, server | server = server ? Server.default; SynthDescLib.alga.readAll(path, server) } *read { | path, server | server = server ? Server.default; SynthDescLib.alga.readDef(path, server) } //Default sampleA ...
-
... gDef = argDef ? def; if(argDef.isEvent, { argDef = argDef[\def] }); synthDesc = SynthDescLib.alga.at(argDef); if(synthDesc == nil, { ("AlgaTemp: Invalid AlgaSynthDef: '" ++ argDef.asString ++ "'").error; ^nil; }); synthDef = synthDesc.def; ...
-
... .new; // default = C major x = 0; ~chord = { x <! (x = x + rrand(1, 3)) } ! 4; SynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), ...
-
... .new; // default = C major x = 0; ~chord = { x <! (x = x + rrand(1, 3)) } ! 4; SynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), ...