p5gconnectInstrument Control:Sensing and Controlp5gconnectp5gconnect
Reads data from a P5 Glove controller.
DescriptionPlugin opcode in p5g. This opcode is part of the plugin repository and has to be installed separately.
The plugin repository can be found here: https://github.com/csound/plugins
Opens and at control-rate polls a P5 Glove controller.
Syntaxp5gconnectInitialization
The opcode locates a P5 Glove attached to the computer by USB,
and starts a listener thread to poll the device.
Performance
Every control cycle the glove is polled for its position, and
finger and button states. These values are read by the
p5gdata opcode.
Example
Here is an example of the p5g opcodes. It uses the file p5g.csd.
Example of the p5g opcodes.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See Alsonon-MIDI DevicesCreditsAuthor: &namejohn;Codemist Ltd2009New in version 5.12