Midi Effect: Ocatve Shifter
Hi,
Looking to make an octave shifter for live performance that transposes Midi notes up and down an Octave by turning an encoder.
I've found this post on the forum which looks like it might do exactly what I want to do but I am a total max newbie and have no idea to turn these lines into something fruitful.
https://cycling74.com/forums/notein-octave-changer
Thanks in advance for any help.
that is discussion page with few posted examples.
Describe what do you exactly need, and then one might help you.
one could understand that you want a switch with 3 positions
-1oct
0
+1oct
or is it something else ?
Almost exactly right - I would like to switch between -3 and +3 octaves
cheap version:

you will notice a problem with this soon, but first play a bit with it.
The problems you are going to face is as first lost link between incoming notes
and transposed ones, which would end in hanging notes.
Next problem would be that transposing + - 3 octaves ,
might end with values outside of midi notes range 0 - 127 and if you feed midiout object with that,
it could corrupt the midi stream when illegal values get sent.
--
On the page you posted, Christopher Dobrian posted effective solution to the first problem, using a table to link midi input - to transposed midi output ,
and so turn off corresponding transposed notes when original ones get released.
The other problem - keeping transposed values in allowed range, is another challenge.
One has to decide what to do with values out of range, like
- to send them into same transpose direction, but shift them to nearest allowed octave
- ignore tranposition and pass original pitch
- do something else ?
Thanks for your help here folks.
As I look at the second patch from Christopher Dobrian I roughly understand that should achieve what I am looking for. (as seen below)
In terms of the problems mentioned about playing impossible values that wont be a problem as I will test and map these settings out before playing.
If I have the above patch what steps do I need to take to make it usable in Ableton?
Thanks