MidioutCHOP Class

From TouchDesigner Documentation
Revision as of 14:58, 8 August 2017 by Admin (talk | contribs) (MIDI OutCHOP Class Auto Create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{lowercase} {OPClassSummary|OPtype=midiout|OPfamily=CHOP} {ClassMemberSection|empty=True} {ClassMethodSection|empty=} {ClassMethod

   |class=midioutCHOP
   |name=sendSoftPedal
   |call=sendSoftPedal(channel,value)
   |returns=
   |text=:

Sends a Soft Pedal event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendSoftPedal(1,20) } {ClassMethod

   |class=midioutCHOP
   |name=sendPortamentoTime
   |call=sendPortamentoTime(channel, value)
   |returns=
   |text=:

Sends a Portamento Time event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendPortamentoTime(1, 78) } {ClassMethod

   |class=midioutCHOP
   |name=sendEffectControl
   |call=sendEffectControl(channel, index,value)
   |returns=
   |text=:

Sends a Main Volume event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - Valid index ranges are 1 to 2.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendEffectControl(1,1,27) } {ClassMethod

   |class=midioutCHOP
   |name=sendProgram
   |call=sendProgram(channel, value)
   |returns=
   |text=:

Sends a Program Change event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI program change.  Valid ranges are dependent on the Controller Normalize parameter.

n.sendProgram(1, 10) } {ClassMethod

   |class=midioutCHOP
   |name=sendSoundController
   |call=sendSoundController(channel, index,value)
   |returns=
   |text=:

Sends a Sound Controller event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - Valid index ranges are 1 to 10.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendSoundController(1,5,29) } {ClassMethod

   |class=midioutCHOP
   |name=send
   |call=send(message1, message2...)
   |returns=
   |text=:

Send a sequence of bytes through this CHOP. Messages can any combination of strings, byte arrays, or individual single-byte numeric values. To serialize non-byte values (example floats or integers) there are several python modules to do this, such as pickle or struct. Returns none. n.send(0xb0,0x2f,0x40) #Control Change : Channel 1, Index 48, Value 64 } {ClassMethod

   |class=midioutCHOP
   |name=sendLegatoFootswitch
   |call=sendLegatoFootswitch(channel,value)
   |returns=
   |text=:

Sends a Legato Footswitch event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendLegatoFootswitch(1,07) } {ClassMethod

   |class=midioutCHOP
   |name=sendMainVolume
   |call=sendMainVolume(channel, value)
   |returns=
   |text=:

Sends a Main Volume event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendMainVolume(1, 100) } {ClassMethod

   |class=midioutCHOP
   |name=sendAllNotesOff
   |call=sendAllNotesOff(channel,value)
   |returns=
   |text=:

Sends a All Notes Off event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendAllNotesOff(1,125) } {ClassMethod

   |class=midioutCHOP
   |name=sendPolyKeyPressure
   |call=sendPolyKeyPressure(channel, index, value)
   |returns=
   |text=:

Sends a Polyphonic Key Pressure event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - The MIDI index/note.  Valid ranges are 0 to 127, or 1 to 128, dependent on the One Based Index parameter.
value - The MIDI pressure value.  Valid ranges are determined by the CHOP Note Normalize parameter.

n.sendPolyKeyPressure(1, 63, 100) } {ClassMethod

   |class=midioutCHOP
   |name=sendBankSelect
   |call=sendBankSelect(channel,value)
   |returns=
   |text=:

Sends a Bank Select event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendBankSelect(1, 65) } {ClassMethod

   |class=midioutCHOP
   |name=sendLocalControl
   |call=sendLocalControl(channel,value)
   |returns=
   |text=:

Sends a Local Control Controllers event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendLocalControl(1,87) } {ClassMethod

   |class=midioutCHOP
   |name=sendMonoOn
   |call=sendMonoOn(channel,value)
   |returns=
   |text=:

Sends a Mono On/Poly Off event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendMonoOn(1,57) } {ClassMethod

   |class=midioutCHOP
   |name=sendExclusive
   |call=sendExclusive(message1, message2...)
   |returns=
   |text=:

Send a sytem exclusive message through this CHOP. The System Exclusive start and end charecter are added to the message. Messages can any combination of strings, byte arrays, or individual single-byte numeric values. To serialize non-byte values (example floats or integers) there are several python modules to do this, such as pickle or struct. Returns none. n.sendExclusive(0xb0, 'abc' ,0x40) # Send a system exclusive message consisting of a start byte, 0xb0, 'a', 'b', 'c' (as ascii), 0x40, and an end byte. } {ClassMethod

   |class=midioutCHOP
   |name=sendHold2
   |call=sendHold2(channel,value)
   |returns=
   |text=:

Sends a Hold2 event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendHold2(1,55) } {ClassMethod

   |class=midioutCHOP
   |name=sendModulationWheel
   |call=sendModulationWheel(channel,value)
   |returns=
   |text=:

Sends a Modulation Wheel event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendModulationWheel(1, 65) } {ClassMethod

   |class=midioutCHOP
   |name=sendPitchBend
   |call=sendPitchBend(channel, value)
   |returns=
   |text=:

Sends a Pitch Bend event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The pitch bend value.  Valid ranges are between 0 and 16384.

n.sendPitchBend(1, 5000) } {ClassMethod

   |class=midioutCHOP
   |name=sendBalance
   |call=sendBalance(channel, value)
   |returns=
   |text=:

Sends a Balance event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendBalance(1, 103) } {ClassMethod

   |class=midioutCHOP
   |name=sendNoteOff
   |call=sendNoteOff(channel, index, value)
   |returns=
   |text=:

Sends a Note Off event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - The MIDI index/note.  Valid ranges are 0 to 127, or 1 to 128, dependent on the One Based Index parameter.
value - (Optional) The MIDI note value.  Valid ranges are determined by the CHOP Note Normalize parameter. Minimum when not specified.

n.sendNoteOff(1, 63) } {ClassMethod

   |class=midioutCHOP
   |name=sendOmniOn
   |call=sendOmniOn(channel,value)
   |returns=
   |text=:

Sends a Omni On event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendOmniOn(1,41) } {ClassMethod

   |class=midioutCHOP
   |name=sendEffectsDepth
   |call=sendEffectsDepth(channel, index,value)
   |returns=
   |text=:

Sends a Effects Depth event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - Valid index ranges are 1 to 5.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendEffectsDepth(1,4,61) } {ClassMethod

   |class=midioutCHOP
   |name=panic
   |call=panic()
   |returns=
   |text=:

Sends a volume off event for each channel and note off event for each note. n.panic() } {ClassMethod

   |class=midioutCHOP
   |name=sendDataDecrement
   |call=sendDataDecrement(channel,value)
   |returns=
   |text=:

Sends a Data Decrement event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendDataDecrement(1,17) } {ClassMethod

   |class=midioutCHOP
   |name=sendBreathController
   |call=sendBreathController(channel, value)
   |returns=
   |text=:

Sends a Breath Controller event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendBreathController(1, 12) } {ClassMethod

   |class=midioutCHOP
   |name=sendDataIncrement
   |call=sendDataIncrement(channel,value)
   |returns=
   |text=:

Sends a Data Increment event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendDataIncrement(1,17) } {ClassMethod

   |class=midioutCHOP
   |name=sendPan
   |call=sendPan(channel, value)
   |returns=
   |text=:

Sends a Pan event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendPan(1, 45) } {ClassMethod

   |class=midioutCHOP
   |name=sendPortamentoControl
   |call=sendPortamentoControl(channel,value)
   |returns=
   |text=:

Sends a Portamento Control event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendPortamentoControl(1,112) } {ClassMethod

   |class=midioutCHOP
   |name=sendDamperPedal
   |call=sendDamperPedal(channel,value)
   |returns=
   |text=:

Sends a Damper Pedal event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendDamperPedal(1,14) } {ClassMethod

   |class=midioutCHOP
   |name=sendNoteOn
   |call=sendNoteOn(channel, index, value)
   |returns=
   |text=:

Sends a Note On event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - The MIDI index/note.  Valid ranges are 0 to 127, or 1 to 128, dependent on the One Based Index parameter.
value - (Optional) The MIDI note value.  Valid ranges are determined by the CHOP Note Normalize parameter. Maximum when not specified.

n.sendNoteOn(1, 63) } {ClassMethod

   |class=midioutCHOP
   |name=sendGeneralPurposeController
   |call=sendGeneralPurposeController(channel, index,value)
   |returns=
   |text=:

Sends a General Purpose Controller event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - Valid index ranges are 1 to 8.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendGeneralPurposeController(1,3,76) } {ClassMethod

   |class=midioutCHOP
   |name=sendPortamento
   |call=sendPortamento(channel,value)
   |returns=
   |text=:

Sends a Portamento event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendPortamento(1,34) } {ClassMethod

   |class=midioutCHOP
   |name=sendFootController
   |call=sendFootController(channel, value)
   |returns=
   |text=:

Sends a Foot Controller event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendFootController(1, 12) } {ClassMethod

   |class=midioutCHOP
   |name=sendPolyOn
   |call=sendPolyOn(channel,value)
   |returns=
   |text=:

Sends a Poly On/Mono Off event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendPolyOn(1,16) } {ClassMethod

   |class=midioutCHOP
   |name=sendControl
   |call=sendControl(channel, index, value)
   |returns=
   |text=:

Sends a Controller event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
index - The MIDI controller index.  Valid ranges are 0 to 127, or 1 to 128, dependent on the One Based Index parameter..
value - The MIDI control value.  Valid ranges are determined by the CHOP Controller Normalize and Controller Format parameters.

n.sendControl(1, 10, 100) } {ClassMethod

   |class=midioutCHOP
   |name=sendOmniOff
   |call=sendOmniOff(channel,value)
   |returns=
   |text=:

Sends a Omni Off event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendOmniOff(1,91) } {ClassMethod

   |class=midioutCHOP
   |name=sendSostenuto
   |call=sendSostenuto(channel,value)
   |returns=
   |text=:

Sends a Sostenuto event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendSostenuto(1,42) } {ClassMethod

   |class=midioutCHOP
   |name=sendChannelPressure
   |call=sendChannelPressure(channel, value)
   |returns=
   |text=:

Sends a Channel Pressure event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The channel pressure.  Valid ranges are dependent on the Note Normalize parameter.

n.sendChannelPressure(1, 10) } {ClassMethod

   |class=midioutCHOP
   |name=sendResetAllControllers
   |call=sendResetAllControllers(channel,value)
   |returns=
   |text=:

Sends a Reset All Controllers event through the CHOP.

channel - The MIDI event channel.  Valid ranges are 1 to 16.
value - The MIDI value.  Valid ranges are 0 to 127.

n.sendResetAllControllers(1,34) } {ClassInheritance|class=CHOP} {ClassInheritance|class=OP} TouchDesigner Build:

{#invoke:Category|list|CHOP Classes}

An Operator Family which operate on Channels (a series of numbers) which are used for animation, audio, mathematics, simulation, logic, UI construction, and many other applications.

Any of the procedural data operators. OPs do all the work in TouchDesigner. They "cook" and output data to other OPs, which ultimately result in new images, data and audio being generated. See Node.