Difference between revisions of "MIDI Out CHOP"
(TD Editor) |
(cleaning) (Tag: 2018.28070) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Summary | {{Summary | ||
− | | | + | |opFilter=True |
− | |long=The MIDI Out CHOP sends MIDI events to any available MIDI devices when its input channels change. More flexibly, the Python [[MidioutCHOP Class]] can be used to send any type of MIDI event to a MIDI device via an existing MIDI Out CHOP. In [[Tscript]], the | + | |long=The MIDI Out CHOP sends MIDI events to any available MIDI devices when its input channels change. More flexibly, the Python [[MidioutCHOP Class]] can be used to send any type of MIDI event to a MIDI device via an existing MIDI Out CHOP. In [[Tscript]], the <code>midi</code> command can output MIDI events. |
The MIDI devices can be other software programs (such as midisynth) or devices attached to the serial ports. Channels are used to control the sending of the MIDI events. The channels are evaluated over the last time slice (from the last [[Timeline]] position to the current). | The MIDI devices can be other software programs (such as midisynth) or devices attached to the serial ports. Channels are used to control the sending of the MIDI events. The channels are evaluated over the last time slice (from the last [[Timeline]] position to the current). | ||
Line 25: | Line 25: | ||
: By default, channels are to start with "ch" followed by the channel number (1-16). In the case of notes, it is followed by "n" for notes, then digits for the note number. In the case of controllers, it is followed by "c" and a controller number. These prefixes can be altered. MIDI Out now interprets aftertouch, pressure, pitchwheel channels, and outputs these events to the MIDI stream. Note-normalization is added allowing 0 to 127 and 0 to 1 ranges. MIDI Out reads a bar ramp channel to output MIDI clock events  (with a channel popup menu to the parameter to select the channel name). Program change events are implemented through the "pc" channels.both 7 and 14 bit controller events can be output. You can capture a MIDI stream and output it to a file. | : By default, channels are to start with "ch" followed by the channel number (1-16). In the case of notes, it is followed by "n" for notes, then digits for the note number. In the case of controllers, it is followed by "c" and a controller number. These prefixes can be altered. MIDI Out now interprets aftertouch, pressure, pitchwheel channels, and outputs these events to the MIDI stream. Note-normalization is added allowing 0 to 127 and 0 to 1 ranges. MIDI Out reads a bar ramp channel to output MIDI clock events  (with a channel popup menu to the parameter to select the channel name). Program change events are implemented through the "pc" channels.both 7 and 14 bit controller events can be output. You can capture a MIDI stream and output it to a file. | ||
− | See also the [[MIDI In DAT]], [[MIDI Event DAT]], [[MIDI In Map CHOP]], [[MIDI In CHOP]], | + | See also the [[MIDI In DAT]], [[MIDI Event DAT]], [[MIDI In Map CHOP]], [[MIDI In CHOP]], <code>midi</code> command. |
− | | | + | |opLicense=Non-Commercial |
− | | | + | |opClass=midioutCHOP_Class |
− | | | + | |opLabel=MIDI Out |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
|short=The MIDI Out CHOP sends MIDI events to any available MIDI devices when its input channels change. | |short=The MIDI Out CHOP sends MIDI events to any available MIDI devices when its input channels change. | ||
}} | }} | ||
{{ParameterPage | {{ParameterPage | ||
− | | | + | |opFamily=CHOP |
− | | | + | |pageName=Dest |
|items= | |items= | ||
− | {{ | + | {{Parameter|parName=active |
− | + | |parOrder=0 | |
− | | | + | |parLabel=Active |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary= |
− | | | + | |parType= |
− | }} | + | |parReadOnly= |
− | {{ | + | |parItems= |
− | + | }} | |
− | | | + | {{Parameter|parName=destination |
− | {{ | + | |parItems= |
− | + | {{ParameterItem|itemName=device | |
− | | | + | |opFamily=CHOP |
− | | | + | |parName=destination |
− | | | + | |itemLabel=Device |
− | | | + | |itemSummary= |
− | }} | + | }}<!-- |
− | + | -->{{ParameterItem|itemName=file | |
− | + | |opFamily=CHOP | |
− | | | + | |parName=destination |
− | | | + | |itemLabel=File |
− | | | + | |itemSummary= |
− | | | ||
}} | }} | ||
− | | | + | |parOrder=1 |
− | | | + | |parLabel=MIDI Destination |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=Where the MIDI events are sent to. MIDI Mapper is the default destination. |
− | }} | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | }} | |
− | | | + | {{Parameter|parName=device |
− | | | + | |parOrder=2 |
− | | | + | |parLabel=Device Table |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary= |
− | {{ | + | |parType= |
− | + | |parReadOnly= | |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=id |
− | | | + | |parOrder=3 |
− | | | + | |parLabel=Device ID |
− | }} | + | |opFamily=CHOP |
− | {{ | + | |opType=midiout |
− | + | |parSummary= | |
− | | | + | |parType= |
− | | | + | |parReadOnly= |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=onebased |
− | }} | + | |parOrder=4 |
− | {{ | + | |parLabel=One Based Index |
− | + | |opFamily=CHOP | |
− | | | + | |opType=midiout |
− | | | + | |parSummary= |
− | | | + | |parType= |
− | | | + | |parReadOnly= |
− | | | + | |parItems= |
− | }} | + | }} |
− | {{ | + | {{Parameter|parName=file |
− | + | |parOrder=5 | |
− | | | + | |parLabel=MIDI File |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=The filename of the output MIDI file. |
− | | | + | |parType= |
− | }} | + | |parReadOnly= |
− | {{ | + | |parItems= |
− | + | }} | |
− | | | + | {{Parameter|parName=writefile |
− | | | + | |parOrder=6 |
− | | | + | |parLabel=Write MIDI File |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary=Writes all the data to a MIDI file. |
− | {{ | + | |parType= |
− | + | |parReadOnly= | |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=prefix |
− | | | + | |parOrder=7 |
− | | | + | |parLabel=Channel Prefix |
− | }} | + | |opFamily=CHOP |
+ | |opType=midiout | ||
+ | |parSummary=The prefix string that all input channels must have in order to extract the channel number from their name (i.e. "ch1note44", with a channel prefix of "ch"). | ||
+ | |parType= | ||
+ | |parReadOnly= | ||
+ | |parItems= | ||
+ | }} | ||
+ | {{Parameter|parName=cookalways | ||
+ | |parOrder=8 | ||
+ | |parLabel=Cook Every Frame | ||
+ | |opFamily=CHOP | ||
+ | |opType=midiout | ||
+ | |parSummary=Forces a cook of the CHOP every frame. It should be On because the MIDI Out CHOP will otherwise only cook if the CHOP leads to a graphics display viewer. You want it to cooks whether you are displaying anything or not. | ||
+ | |parType= | ||
+ | |parReadOnly= | ||
+ | |parItems= | ||
+ | }} | ||
− | | | + | |pageSummary= |
}} | }} | ||
{{ParameterPage | {{ParameterPage | ||
− | | | + | |opFamily=CHOP |
− | | | + | |pageName=Output |
|items= | |items= | ||
− | {{ | + | {{Parameter|parName=autonoteoff |
− | + | |parItems= | |
− | | | + | {{ParameterItem|itemName=none |
− | {{ | + | |opFamily=CHOP |
− | + | |parName=autonoteoff | |
− | | | + | |itemLabel=None |
− | | | + | |itemSummary= |
− | | | + | }}<!-- |
− | | | + | -->{{ParameterItem|itemName=start |
− | }} | + | |opFamily=CHOP |
− | + | |parName=autonoteoff | |
− | + | |itemLabel=At Playback Start | |
− | | | + | |itemSummary= |
− | | | + | }}<!-- |
− | | | + | -->{{ParameterItem|itemName=end |
− | | | + | |opFamily=CHOP |
− | }} | + | |parName=autonoteoff |
− | + | |itemLabel=At Playback End | |
− | + | |itemSummary= | |
− | | | + | }}<!-- |
− | | | + | -->{{ParameterItem|itemName=both |
− | | | + | |opFamily=CHOP |
− | | | + | |parName=autonoteoff |
− | }} | + | |itemLabel=At Playback Start and End |
− | + | |itemSummary= | |
− | |||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
}} | }} | ||
− | | | + | |parOrder=0 |
− | | | + | |parLabel=Automatic Note Off |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=A MIDI 'All Note Off' event can be sent upon the start and/or end of the output. |
− | }} | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | }} | |
− | | | + | {{Parameter|parName=reset |
− | | | + | |parOrder=1 |
− | | | + | |parLabel=All Notes Off |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary=Sends an All Notes Off message to all MIDI channels. |
− | {{ | + | |parType= |
− | + | |parReadOnly= | |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=volumeoff |
− | | | + | |parOrder=2 |
− | | | + | |parLabel=All Volume Off |
− | }} | + | |opFamily=CHOP |
− | {{ | + | |opType=midiout |
− | + | |parSummary=Sends an All Notes Off message to all MIDI channels. | |
− | | | + | |parType= |
− | | | + | |parReadOnly= |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=volumeon |
− | }} | + | |parOrder=3 |
− | {{ | + | |parLabel=All Volume On |
− | + | |opFamily=CHOP | |
− | | | + | |opType=midiout |
− | | | + | |parSummary=Sends an All Notes On message to all MIDI channels. |
− | | | + | |parType= |
− | | | + | |parReadOnly= |
− | | | + | |parItems= |
− | }} | + | }} |
+ | {{Parameter|parName=startstop | ||
+ | |parOrder=4 | ||
+ | |parLabel=Send Start/Stop/Continue Events | ||
+ | |opFamily=CHOP | ||
+ | |opType=midiout | ||
+ | |parSummary=Sends the appropriate events when the framebar starts or stops. | ||
+ | |||
+ | <nowiki>---- not implemented: ----</nowiki> | ||
+ | |parType= | ||
+ | |parReadOnly= | ||
+ | |parItems= | ||
+ | }} | ||
− | | | + | |pageSummary= |
}} | }} | ||
{{ParameterPage | {{ParameterPage | ||
− | | | + | |opFamily=CHOP |
− | | | + | |pageName=Note |
|items= | |items= | ||
− | {{ | + | {{Parameter|parName=notename |
− | + | |parOrder=0 | |
− | | | + | |parLabel=Note Name |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=The base name of the note channels. If input channels have a number after the name, it is assumed to be the note number. If not, the channel value is assumed to contain the note number. |
− | | | + | |parType= |
− | }} | + | |parReadOnly= |
− | {{ | + | |parItems= |
− | + | }} | |
− | | | + | {{Parameter|parName=aftername |
− | | | + | |parOrder=1 |
− | | | + | |parLabel=Aftertouch Name |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary=The name of the aftertouch channel. |
− | {{ | + | |parType= |
− | + | |parReadOnly= | |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=pressname |
− | | | + | |parOrder=2 |
− | | | + | |parLabel=Pressure Name |
− | }} | + | |opFamily=CHOP |
− | {{ | + | |opType=midiout |
− | + | |parSummary=The name of the channel pressure channel. | |
− | | | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | |parItems= | |
− | | | + | }} |
− | | | + | {{Parameter|parName=notenorm |
− | | | + | |parItems= |
− | | | + | {{ParameterItem|itemName=off |
− | }} | + | |opFamily=CHOP |
− | + | |parName=notenorm | |
− | + | |itemLabel=None | |
− | | | + | |itemSummary= |
− | | | + | }}<!-- |
− | | | + | -->{{ParameterItem|itemName=0to1 |
− | | | + | |opFamily=CHOP |
+ | |parName=notenorm | ||
+ | |itemLabel=0 to 1 | ||
+ | |itemSummary= | ||
}} | }} | ||
− | | | + | |parOrder=3 |
− | | | + | |parLabel=Normalize |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=Values in the range 0-1 are mapped to MIDI value 0-127. |
− | }} | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | }} | |
− | | | + | {{Parameter|parName=pitchname |
− | | | + | |parOrder=4 |
− | | | + | |parLabel=Pitch Wheel Name |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary=The name of the pitch wheel channel. |
+ | |parType= | ||
+ | |parReadOnly= | ||
+ | |parItems= | ||
+ | }} | ||
− | | | + | |pageSummary= |
}} | }} | ||
{{ParameterPage | {{ParameterPage | ||
− | | | + | |opFamily=CHOP |
− | | | + | |pageName=Control |
|items= | |items= | ||
− | {{ | + | {{Parameter|parName=controlname |
− | + | |parOrder=0 | |
− | | | + | |parLabel=Controller Name |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=The base name of the controller channels. |
− | | | + | |parType= |
− | }} | + | |parReadOnly= |
− | {{ | + | |parItems= |
− | + | }} | |
− | | | + | {{Parameter|parName=controlformat |
− | {{ | + | |parItems= |
− | + | {{ParameterItem|itemName=7bit | |
− | | | + | |opFamily=CHOP |
− | | | + | |parName=controlformat |
− | | | + | |itemLabel=7 bit Controllers |
− | | | + | |itemSummary= |
− | }} | + | }}<!-- |
− | + | -->{{ParameterItem|itemName=14bit | |
− | + | |opFamily=CHOP | |
− | | | + | |parName=controlformat |
− | | | + | |itemLabel=14 bit Controllers |
− | | | + | |itemSummary= |
− | | | ||
}} | }} | ||
− | | | + | |parOrder=1 |
− | | | + | |parLabel=Controller Format |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=Sends 7 or 14 bit controller events. |
− | }} | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | }} | |
− | | | + | {{Parameter|parName=controlnorm |
− | {{ | + | |parItems= |
− | + | {{ParameterItem|itemName=off | |
− | | | + | |opFamily=CHOP |
− | | | + | |parName=controlnorm |
− | | | + | |itemLabel=None |
− | | | + | |itemSummary= |
− | }} | + | }}<!-- |
− | + | -->{{ParameterItem|itemName=0to1 | |
− | + | |opFamily=CHOP | |
− | | | + | |parName=controlnorm |
− | | | + | |itemLabel=0 to 1 |
− | | | + | |itemSummary= |
− | | | + | }}<!-- |
− | }} | + | -->{{ParameterItem|itemName=-1to1 |
− | + | |opFamily=CHOP | |
− | + | |parName=controlnorm | |
− | | | + | |itemLabel=-1 to 1 |
− | | | + | |itemSummary= |
− | | | + | }}<!-- |
− | | | + | -->{{ParameterItem|itemName=onoff |
− | }} | + | |opFamily=CHOP |
− | + | |parName=controlnorm | |
− | + | |itemLabel=On/Off | |
− | | | + | |itemSummary= |
− | | | ||
− | | | ||
− | | | ||
}} | }} | ||
− | | | + | |parOrder=2 |
− | | | + | |parLabel=Normalize |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | | | + | |parSummary=Maps channel values from different ranges to 0-127. |
− | }} | + | |parType= |
− | {{ | + | |parReadOnly= |
− | + | }} | |
− | | | + | {{Parameter|parName=progname |
− | | | + | |parOrder=3 |
− | | | + | |parLabel=Program Change |
− | | | + | |opFamily=CHOP |
− | | | + | |opType=midiout |
− | }} | + | |parSummary=The name of the program change channel. |
− | {{ | + | |parType= |
− | + | |parReadOnly= | |
− | | | + | |parItems= |
− | | | + | }} |
− | | | + | {{Parameter|parName=barname |
− | | | + | |parItems= |
− | | | + | |parOrder=4 |
− | | | + | |parLabel=Bar Ramp Name |
− | }} | + | |opFamily=CHOP |
− | {{ | + | |opType=midiout |
− | + | |parSummary=Clock ticks frequency is determined by the period of the ramp. The ramp must be 0 to 1. An incoming channel name for a 0 to 1 ramp over each 4-beat bar. | |
− | | | + | |parType= |
− | | | + | |parReadOnly= |
− | | | + | }} |
− | | | + | {{Parameter|parName=barticks |
− | | | + | |parOrder=5 |
− | }} | + | |parLabel=Ticks per Bar |
+ | |opFamily=CHOP | ||
+ | |opType=midiout | ||
+ | |parSummary=Default is 96 = 4 beats * 24 ticks per beat. | ||
+ | |parType= | ||
+ | |parReadOnly= | ||
+ | |parItems= | ||
+ | }} | ||
− | | | + | |pageSummary= |
}} | }} | ||
{{:CHOP Filter Common Page | {{:CHOP Filter Common Page | ||
}} | }} | ||
− | {{History | + | {{InputsPage |
+ | |opFamily=CHOP | ||
+ | |opInputs={{OPInput | ||
+ | |opFamily=CHOP | ||
+ | |inputIndex=0 | ||
+ | |inputName= | ||
+ | |inputSummary= | ||
+ | }} | ||
+ | }}{{History | ||
}} | }} | ||
{{CHOPNavBox | {{CHOPNavBox | ||
− | | | + | |opFamily=CHOP |
}} | }} | ||
{{#invoke:Category | {{#invoke:Category | ||
|list|CHOPs}} | |list|CHOPs}} |
Latest revision as of 18:40, 24 January 2019
Summary[edit]
The MIDI Out CHOP sends MIDI events to any available MIDI devices when its input channels change. More flexibly, the Python MidioutCHOP Class can be used to send any type of MIDI event to a MIDI device via an existing MIDI Out CHOP. In Tscript, the midi
command can output MIDI events.
The MIDI devices can be other software programs (such as midisynth) or devices attached to the serial ports. Channels are used to control the sending of the MIDI events. The channels are evaluated over the last time slice (from the last Timeline position to the current).
The MIDI Out CHOP sends MIDI events based on any changes to its input channels. The channels have to be named appropriately, like ch3c14
and ch7n60
.
An event is sent every time a channel changes its value during this slice. All timing is preserved, as long as the Timeline is running in realtime (the "Realtime" flag is in the top menu bar).
Naming the CHOP channels: Channels are mapped to events by their name. Events like notes, controllers and velocities must be followed by the note/controller number (n65, c7). If the number is left off a note event, the note number is the value of the channel. Other events, which are sent to the entire channel, do not need a trailing number (pc, pw). The channel prefix can be used to identify the MIDI channel the event should be sent on (i.e. "ch1n45" assigns that TouchDesigner channel to note 45 messages on MIDI channel 1). Channels can always be renamed with a Rename CHOP before entering the MIDI Out CHOP.
The MIDI Out CHOP sends MIDI velocity as well. The values of the channels entering the MIDI Out CHOPs are sent as the velocity of the note. If Normalize is "None", the channel needs to be 0 to 127. If Normalize is "0 to 1", channel values between 0 and 1 are scaled to be MIDI 0 to 127.
The "Cook Every Frame" option cooks the CHOP every frame, even if the CHOP isn't being displayed. All Volume Off and All Volume On flags are new and emit events for Controller 7 of all 16 channels. MIDI output go in a separate thread to allow output that slows TouchDesigner less. It now works in Time Slice mode for note events and controller events. (Not for Program Change or Sysex messages yet) Note channels only trigger anew Note On when the input channel goes from 0 or less to a value greater than zero. Similar for Note Off events.The channel name determines how it is interpreted.
For example,
- ch3n60 - this channel is interpreted as channel3 note 60. A Note On event is sent when the value goes from 0 or less to greater than zero
- ch5n - This channel will contain note numbers.  The value quantized to an integer, and when the integer value changes, the note of the old value goes off and the note of the new value goes on. If the channel steps from 53 to 78, it sends a Note Off event for note 53, and a Note On event for note 78.
- ch14c7 - the value of the channel is sent to controller 7 (volume) of channel 14. By default, the values 0 to 1 are mapped to MIDI value 0 to 127.
These features work in Time Slice mode:
- By default, channels are to start with "ch" followed by the channel number (1-16). In the case of notes, it is followed by "n" for notes, then digits for the note number. In the case of controllers, it is followed by "c" and a controller number. These prefixes can be altered. MIDI Out now interprets aftertouch, pressure, pitchwheel channels, and outputs these events to the MIDI stream. Note-normalization is added allowing 0 to 127 and 0 to 1 ranges. MIDI Out reads a bar ramp channel to output MIDI clock events  (with a channel popup menu to the parameter to select the channel name). Program change events are implemented through the "pc" channels.both 7 and 14 bit controller events can be output. You can capture a MIDI stream and output it to a file.
See also the MIDI In DAT, MIDI Event DAT, MIDI In Map CHOP, MIDI In CHOP, midi
command.
Contents
Parameters - Dest Page
Active active
-
MIDI Destination destination
- ⊞ - Where the MIDI events are sent to. MIDI Mapper is the default destination.
- Device
device
-
- File
file
-
Device Table device
-
Device ID id
-
One Based Index onebased
-
MIDI File file
- The filename of the output MIDI file.
Write MIDI File writefile
- Writes all the data to a MIDI file.
Channel Prefix prefix
- The prefix string that all input channels must have in order to extract the channel number from their name (i.e. "ch1note44", with a channel prefix of "ch").
Cook Every Frame cookalways
- Forces a cook of the CHOP every frame. It should be On because the MIDI Out CHOP will otherwise only cook if the CHOP leads to a graphics display viewer. You want it to cooks whether you are displaying anything or not.
Parameters - Output Page
Automatic Note Off autonoteoff
- ⊞ - A MIDI 'All Note Off' event can be sent upon the start and/or end of the output.
- None
none
-
- At Playback Start
start
-
- At Playback End
end
-
- At Playback Start and End
both
-
All Notes Off reset
- Sends an All Notes Off message to all MIDI channels.
All Volume Off volumeoff
- Sends an All Notes Off message to all MIDI channels.
All Volume On volumeon
- Sends an All Notes On message to all MIDI channels.
Send Start/Stop/Continue Events startstop
- Sends the appropriate events when the framebar starts or stops.
---- not implemented: ----
Parameters - Note Page
Note Name notename
- The base name of the note channels. If input channels have a number after the name, it is assumed to be the note number. If not, the channel value is assumed to contain the note number.
Aftertouch Name aftername
- The name of the aftertouch channel.
Pressure Name pressname
- The name of the channel pressure channel.
Normalize notenorm
- ⊞ - Values in the range 0-1 are mapped to MIDI value 0-127.
- None
off
-
- 0 to 1
0to1
-
Pitch Wheel Name pitchname
- The name of the pitch wheel channel.
Parameters - Control Page
Controller Name controlname
- The base name of the controller channels.
Controller Format controlformat
- ⊞ - Sends 7 or 14 bit controller events.
- 7 bit Controllers
7bit
-
- 14 bit Controllers
14bit
-
Normalize controlnorm
- ⊞ - Maps channel values from different ranges to 0-127.
- None
off
-
- 0 to 1
0to1
-
- -1 to 1
-1to1
-
- On/Off
onoff
-
Program Change progname
- The name of the program change channel.
Bar Ramp Name barname
- Clock ticks frequency is determined by the period of the ramp. The ramp must be 0 to 1. An incoming channel name for a 0 to 1 ramp over each 4-beat bar.
Ticks per Bar barticks
- Default is 96 = 4 beats * 24 ticks per beat.
Parameters - Common Page
Time Slice timeslice
- Turning this on forces the channels to be "Time Sliced". A Time Slice is the time between the last cook frame and the current cook frame.
Scope scope
- To determine which channels get affected, some CHOPs use a Scope string on the Common page.
Sample Rate Match srselect
- ⊞ - Handle cases where multiple input CHOPs' sample rates are different. When Resampling occurs, the curves are interpolated according to the Interpolation Method Option, or "Linear" if the Interpolate Options are not available.
- Resample At First Input's Rate
first
- Use rate of first input to resample others.
- Resample At Maximum Rate
max
- Resample to the highest sample rate.
- Resample At Minimum Rate
min
- Resample to the lowest sample rate.
- Error If Rates Differ
err
- Doesn't accept conflicting sample rates.
Export Method exportmethod
- ⊞ - This will determine how to connect the CHOP channel to the parameter. Refer to the Export article for more information.
- DAT Table by Index
datindex
- Uses the docked DAT table and references the channel via the index of the channel in the CHOP.
- DAT Table by Name
datname
- Uses the docked DAT table and references the channel via the name of the channel in the CHOP.
- Channel Name is Path:Parameter
autoname
- The channel is the full destination of where to export to, such hasgeo1/transform1:tx
.
Export Root autoexportroot
- This path points to the root node where all of the paths that exporting by Channel Name is Path:Parameter are relative to.
Export Table exporttable
- The DAT used to hold the export information when using the DAT Table Export Methods (See above).
Operator Inputs
- Input 0 -
TouchDesigner Build:
CHOPs |
---|
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |
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.
To re-compute the output data of the Operators. An operator cooks when (1) its inputs change, (2) its Parameters change, (3) when the timeline moves forward in some cases, or (4) Scripting commands are run on the node. When the operator is a Gadget, it also cooks when a user interacts with it. When an operator cooks, it usually causes operators connected to its output to re-cook. When TouchDesigner draws the screen, it re-cooks all the necessary operators in all Networks, contributing to a frame's total "cook time".
The term "Frame" is used (1) in the Timeline, (2) as a time-unit in CHOPs, (3) as a time-unit in TOPs, and (4) with movies images which are read and created with TOPs.
A Time Slice is the time from the last cook frame to the current cook frame. In CHOPs it is the set of short channels that only contain the CHOP channels' samples between the last and the current cook frame.
A parameter in most CHOPs that restricts which channels of that CHOP will be affected. Normally all channels of a CHOP are affected by the operator.
samples-per-second of a CHOP. Each CHOP in your network has a sample rate, whether it is used or not. The overall timeline has a "frame rate", which is the number of animation frames per second, generally your monitor display frequency.
Exporting is the connection of CHOP channels to parameters of operators. The output of each exporting CHOP is one or more channels, active only while the CHOP Viewer is on. The current value of a channel can be exported to a parameter of any operator, overriding that parameter's value. See Parameter.
An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.
Parameters in TouchDesigner are an operator's settings (numbers, menus, flags, strings, paths) which the user can alter. Parameters for any operator can be opened by right-clicking on the operator and selecting "Parameters..." A currently selected operator's parameters can be viewed in a Network Editor by pressing the keyboard shortcut 'p'.
TouchDesigner is a hierarchy of components. "root" is the top-most network in the hierarchy. The Path is simply /
. A typical path is /project1/moviein1
.