Skip to content

Recipes ​

Copy/paste starting points for common MIDI transforms.

Transpose up an octave ​

neuroscript
when is note {
  transpose(+12)
}

Drop notes below middle C ​

neuroscript
when is note and note < 60 { drop }

Remap channel 1 → 2 ​

neuroscript
when is note and channel == 1 { channel = 2 }

Velocity clamp (40-100) ​

neuroscript
when is note {
  velocity_clamp(40, 100)
}

Route high velocity notes to different channel ​

neuroscript
when is note and velocity > 100 { channel = 10 }

Delay notes by 100ms ​

neuroscript
when is note {
  emit current after 100ms
  drop
}

Every 4th note to channel 2 ​

neuroscript
state channel every4: Int = 0
when is note {
  state.every4 = state.every4 + 1
  when state.every4 % 4 == 0 { channel = 2 }
}

Map sustain pedal (CC64) to mod wheel (CC1) ​

neuroscript
when is cc and controller == 64 {
  emit cc(controller: 1, value: value)
}

Velocity curve (boost soft notes) ​

neuroscript
when is note and velocity < 64 {
  velocity = clamp(velocity + 20, 1, 127)
}

Learn More ​

Neurode MIDI for macOS, iPhone, and iPad