|
void | openPort (int index, int baudRate=250000) |
| open the port with the given index More...
|
|
void | openPort (string name, int baudRate=250000) |
| open the port with the given index More...
|
|
void | close () override |
| close the opened port
|
|
void | listPorts () |
| list the available ports
|
|
bool | isConnected () |
| return true if the port has been sucessfully opened
|
|
void | setVerbose (bool verbose) |
| enable or disable diagnostic messages More...
|
|
pdsp::ExtSequencer & | channel (int channelNumber) |
| patch a pdsp::ScoreSection::out_message() method to the result of this method for message to the serial out
|
|
|
void | prepareToPlay (int expectedBufferSize, double sampleRate) override |
|
void | releaseResources () override |
|
|
static double | getGlobalSampleRate () |
|
◆ openPort() [1/2]
void pdsp::serial::Output::openPort |
( |
int |
index, |
|
|
int |
baudRate = 250000 |
|
) |
| |
open the port with the given index
- Parameters
-
[in] | index | of the port to open |
[in] | baudRate | rate of the connection, 250000 baud if not given |
◆ openPort() [2/2]
void pdsp::serial::Output::openPort |
( |
string |
name, |
|
|
int |
baudRate = 250000 |
|
) |
| |
open the port with the given index
- Parameters
-
[in] | name | name of the serial output path |
[in] | baudRate | rate of the connection, 250000 baud if not given |
◆ setVerbose()
void pdsp::serial::Output::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: