An OSCInPort responds to the following
addresses by default, in addition
to whatever is defined by the oscNode instance variable. The default
address
space begins with "/sc"
,
and is reserved by SuperCollider for future expansion.
The default address space is defined in the OSCNode class method named
*default
except for the /sc/midi
subtree
which is hard coded into SuperCollider.
Calls the Main::run
method.
Stops synthesis.
Posts all arguments separated by spaces and terminated by a newline.
Posts all arguments, each on a separate line.
Set the value of one of the interpreter variables 'a' - 'z'.
varName - a Symbol which is the name of
the variable.
value - a value for the variable.
Set the value of all of the interpreter variables 'a' - 'z' to nil.
Compile and execute a file containing SuperCollider code. Compiler is
disabled in SCPlay.
pathName - a String representing the path
name of the file on the remote machine.
Compile and execute a String containing SuperCollider code. Compiler
is disabled in SCPlay.
password - a Symbol that must match the
OSCNode class variable password on
the remote machine.
If the password on the remote machine is nil, then this method is disabled.
string - a String containing SuperCollider
code. Must not exceed the maximum packet size.
Subtree:
/sc/obj
Perform a method on an object in the ObjectTable.
id - an id of an object in the ObjectTable.
Should be either an Integer or a Symbol.
selector - a Symbol which is the name
of a method to perform.
...args - a list of argument for the method.
port.send("/sc/obj/perform", 37, \transform, 123.4);
Subtree:
/sc/library
Choose an item from the Lib menu.
names - an Array of Symbols to access
the Library.
port.send("/sc/library/choose", ['Play', 'analog daze']);
Perform a method on an object in the Library.
names - an Array of Symbols to access
the Library.
...args - a list of argument for the method.
port.send("/sc/library/perform", ['Wavetables', 'sine'], \reverse);
Subtree:
/sc/sound
Play a SoundFile from disk.
pathName - a String representing the path
name of the file on the remote machine.
duration - how long to play. If nil, then
plays to the end. Default is nil.
loop - a Boolean whether to loop. Default
is false.
Subtree:
/sc/mixer
Sets the volume for a channel of the mixer.
channel - a channel number from 1 to the
maximum number of channels.
Copies that channel of the mixer to a free channel.
channel - a channel number from 1 to the
maximum number of channels.
Kills that channel of the mixer.
channel - a channel number from 1 to the
maximum number of channels.
Close the Mixer window.
Subtree:
/sc/midi
This subtree is built into the SuperCollider program, it is not implemented using OSCNodes.
Subtree:
/sc/midi/in
The remote system responds as if it received this data as MIDI input.
All arguments are Integers.
MIDI controller input.
MIDI pitch bend.
MIDI program change.
MIDI channel pressure.
MIDI poly key pressure.
MIDI note on.
MIDI note off.
MIDI all notes off.
Subtree: /sc/midi/out
The remote system sends this data as MIDI output to OMS.
All arguments are Integers.
MIDI controller input.
MIDI pitch bend.
MIDI program change.
MIDI channel pressure.
MIDI note on.
MIDI note off.
MIDI all notes off controller 123.
This page was created by SimpleText2Html 1.0.3 on 26-Jul-100.