Subsample configuration: osc
The 6 settings under osc, each with the type, default and limits its schema declares.
Open Sound Control (OSC): Subsample sends a message when a sample is captured or loaded, and can receive requests to import audio files. Requires the optional python-osc package.
enabled in osc
- Type
boolean- Default
false
Turns OSC on. When false, Subsample creates neither the sender nor the receiver, whatever the other osc settings say.
send_host in osc
- Type
string- Default
"127.0.0.1"
Host that outgoing /sample/captured and /sample/loaded messages go to.
send_port in osc
- Type
integer- Default
9000
UDP port that outgoing OSC messages go to.
receive_enabled in osc
- Type
boolean- Default
false
Starts an OSC receiver that imports the audio file named in each /sample/import message into the library. Has no effect unless enabled is true.
receive_port in osc
- Type
integer- Default
9002
UDP port the OSC receiver listens on.
receive_host in osc
- Type
string- Default
"127.0.0.1"- Example
"0.0.0.0"
Network interface the OSC receiver binds to. The receiver reads whatever path a message names, without authentication, so the default accepts messages from this machine only. Set 0.0.0.0 to accept them from other hosts on a network you control.