-
/* \random_time Creates an UMap that generates a new random time value each time it is started. This UMap can also be used on 'init' mode parameters. It can only be used for time (SMPTESpec) parameters. min: minimum time max: maximum time v ...
-
UMIDIFile { classvar <>all; var <path; *initClass { all = IdentityDictionary(); } *new { |path, reload = false| ^super.newCopyArgs( path ).init( reload ); } init { |reload = false| var rawPath, file; if( path.notNil ) { path = path.formatGP ...
-
/* Example for a custom-made MIDI hardware device and its elements. The joybox is made from a Doepfer pocket electronics kit, which can send 16 midi controls, and 8 XY joysticks in a 4x2 layout (see gui). // basic example: // make an Mktl f ...
-
... ; a.stop( \snd2 , 0); a.voicesLeft( \snd2 ); //check if any free voices a.loadedKeys; //report all keys that have soundfiles loaded a.overlaps; //how many voices allowed to play simultaneously a.length( \snd1 ); //how long is the soundfile ...
-
/* Filename: VirtualRoom.sc created: 21.4.2005 Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
-
DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...
-
DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...
-
// methods for recursive translation from score (string) to event lists. // and for applying pathet. + String { fromScoreToEvents { arg converter, addResource=true; ^converter.convert(this, addResource); } } + Object { fromScoreToEvents { a ...
-
/* \p_crossfade Creates an pattern UMap for linear crossfading between two values. a: the first value b: the second value crossfade: (0-1) the crossfading position (a to b) The 'a' and 'b' arg ranges are mapped to that of the parameter to w ...
-
... cher { value {|msg, time, addr, recvPort| var pattern; pattern = msg[0]; active.keysValuesDo({|key, func| if(pattern.matchOSCAddressPattern(key), {func.value(msg, time, addr, recvPort);}); }) } typeKey { ^('OSC inverse pattern').asSymbol } ...