Aller au contenu

MIDI Extractor Modifier

By Kriss Norde

The MIDI Extractor modifier drives the value of a control with the values stored in a MIDI file.

Overview

The value produced by the MIDI Extractor comes from the MIDI event selected in the Mode menu. Each mode can be trimmed so that only specific messages for that event are processed (for example, only some notes). The value can then be scaled or modified by additional factors such as Scale, Velocity, Attack and Decay. The manual notes that this modifier relies on some knowledge of MIDI.

Where to find this node

Right-click a parameter, then choose Modify With > MIDI Extractor.

Controls tab

MIDI File
a browser control that specifies the MIDI file used as the modifier's input.
Time Scale
the relationship between time as the MIDI file defines it and time as Fusion defines it. 1.0 plays the MIDI events at normal speed, 2.0 at double speed, and so on.
Time Offset
adjusts the sync between the MIDI file and Fusion, if there is an unexpected delay or if the MIDI file should start partway into or before an animation.
Result Offset, Result Scale
the range of values produced. By default, 0 to 1 (or -1 to 1 in Pitch Bend mode). Scale makes this range larger, Offset provides a constant base value.
Result Curve
applies a gamma-like curve to the result, so middle values can produce higher or lower results while still maintaining the full scale.
Mode
Beat, Note, Control Change, Poly AfterTouch, Channel AfterTouch or Pitch Bend, the MIDI event the values are read from. Beat produces regular pulses based on the tempo of the MIDI file (including any tempo maps), without using any specific message.
Combine Events
what happens when several events occur at the same time (common in Note mode, or with multiple channels selected for other events). Choose the most recent event, the oldest event still happening, the highest, the lowest, the average, the sum or the median of all current events.
Beat (Quarters)
Beat mode only, how often a beat occurs, in quarter notes (1.0 = one beat every quarter).
Note Range
Note and Poly AfterTouch modes only, the range of notes that generates a value.
Pitch Scale
Note mode only, how much the result changes with pitch. 1.0 makes the result vary from 0.0 to 1.0 over the entire range.
Velocity Scale
Note mode only, how much the result changes with velocity (same principle), added to the Pitch Scale result.
Control Number
Control Change mode only, the MIDI controller number from which events are extracted.
Envelope Controls
Note and Beat modes only, an envelope followed before, during and after the note or beat: Pre-Attack Time, Attack, Decay, Sustain (notes only) and Release. A beat has an instantaneous duration and goes straight to Release: in Beat mode, set Release to some value or there will hardly be a beat. All time values in the MIDI Extractor are in seconds.

Channels tab

Channels
checkboxes that select which of the 16 channels in the MIDI file are considered. A good way to single out an instrument from an arrangement.

Use cases

  • Picking out the kick drum from a GM drum track (the manual's example): Note mode with a Note Range between 35 and 36.

Tips

  • MIDI data usually ranges from 0 to 127; Fusion represents it as a value between 0 and 1. Pitch Bend, transmitted as a 14-bit value, ranges from -1 to 1 with a finer resolution.