|
void | openPort (int port) |
| open the port with the given index More...
|
|
void | close () |
| shuts down the output
|
|
bool | isConnected () |
| return true if the port has been sucessfully opened
|
|
void | setVerbose (bool verbose) |
| enable or disable diagnostic messages More...
|
|
void | linkTempo (string oscAddress, int argument=0) |
| control the clock of the units and sequencer with an OSC message More...
|
|
pdsp::SequencerGateOutput & | out_trig (string oscAddress, int argument=0) |
| get a trigger output for the given OSC address. Only the first value of those address will be taken, as float value. When you have used an address as trig output you can't use it as value More...
|
|
pdsp::SequencerValueOutput & | out_value (string oscAddress, int argument=0) |
| get a value output for the given OSC address. Only the first value of those address will be taken, as float value. When you have used an address as value output you can't use it as trigger More...
|
|
std::function< float(float)> & | parser (string oscAddress, int argument=0) |
| get a reference to the parser for the selected address and argument. You can assign a lambda function to this value to elaborate the signal. More...
|
|
void | initTo (string oscAddress, int argument, float value) |
| sets an initial value for the selected addres and argument, valid until any other OSC message is received More...
|
|
void | clearAll () |
| sends 0.0f as message to all the connected trigger and value outputs.
|
|
|
void | prepareToPlay (int expectedBufferSize, double sampleRate) override |
|
void | releaseResources () override |
|
|
static double | getGlobalSampleRate () |
|
◆ initTo()
void pdsp::osc::Input::initTo |
( |
string |
oscAddress, |
|
|
int |
argument, |
|
|
float |
value |
|
) |
| |
sets an initial value for the selected addres and argument, valid until any other OSC message is received
- Parameters
-
[in] | oscAddress | address for OSC input |
[in] | argument | index of argument from message, 0 if not gived (first argument) |
[in] | value | initial value for the selected address and argument |
◆ linkTempo()
void pdsp::osc::Input::linkTempo |
( |
string |
oscAddress, |
|
|
int |
argument = 0 |
|
) |
| |
control the clock of the units and sequencer with an OSC message
- Parameters
-
[in] | oscAddress | address for OSC input |
[in] | argument | index of argument from message, 0 if not gived (first argument) |
◆ openPort()
void pdsp::osc::Input::openPort |
( |
int |
port | ) |
|
open the port with the given index
- Parameters
-
◆ out_trig()
get a trigger output for the given OSC address. Only the first value of those address will be taken, as float value. When you have used an address as trig output you can't use it as value
- Parameters
-
[in] | oscAddress | address for OSC input |
[in] | argument | index of argument from message, 0 if not gived (first argument) |
◆ out_value()
get a value output for the given OSC address. Only the first value of those address will be taken, as float value. When you have used an address as value output you can't use it as trigger
- Parameters
-
[in] | oscAddress | address for OSC input |
[in] | argument | index of argument from message, 0 if not gived (first argument) |
◆ parser()
std::function< float(float)> & pdsp::osc::Input::parser |
( |
string |
oscAddress, |
|
|
int |
argument = 0 |
|
) |
| |
get a reference to the parser for the selected address and argument. You can assign a lambda function to this value to elaborate the signal.
- Parameters
-
[in] | oscAddress | address for OSC input |
[in] | argument | index of argument from message, 0 if not gived (first argument) |
◆ setVerbose()
void pdsp::osc::Input::setVerbose |
( |
bool |
verbose | ) |
|
enable or disable diagnostic messages
- Parameters
-
[in] | verbose | true for enabling, false for disabling |
The documentation for this class was generated from the following files: