Skip to content

Recipes

Copy/paste starting points for common MIDI transforms.

Transpose up an octave

neuroscript
event(note = clamp(note + 12, 0, 127))

Drop notes below middle C

neuroscript
drop note where note < 60

Remap channel 1 → 2

neuroscript
when ch == 1: event(ch = 2)

Velocity clamp (40-100)

neuroscript
event(vel = clamp(vel, 40, 100))

Route high velocity notes to different channel

neuroscript
when vel > 100: event(ch = 10)

Delay notes by 100ms

neuroscript
send after 100ms

Every 4th note to channel 2

neuroscript
counter("every4") + 1 -> counter("every4")
when counter("every4") % 4 == 0: event(ch = 2)

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

neuroscript
when type == cc and cc == 64: emit.cc(1, value)

Velocity curve (boost soft notes)

neuroscript
when vel < 64: event(vel = clamp(vel + 20, 1, 127))

Learn More

Built with ❤️ for musicians