foo_midi icon indicating copy to clipboard operation
foo_midi copied to clipboard

Transposition (+ microtonal transposition if possible)

Open spessasus opened this issue 3 months ago • 1 comments

Hi Peter,

I have a feature request for foo_midi: transposition! This means shifting the notes up or down. I can't find any options in for it in the latest alpha, so I'm creating a feature request.

I propose adding a simple transposition slider in the "processing" tab, that would shift the notes in semitones, i.e. keys (transpose of -1 would subtract 1 from all note on and note off note numbers, except for the drum channels, for example a note on for note 60 would become a note on for note 59).

However, if it would be possible, a microtonal slider with a resolution of at least half a semitone (i.e. 50 cents) would be great. For example, a lot of song from games like Touhou use microtonal tuning, playing notes "in between" the keys. And having the ability to transpose the MIDI arrangements to match the wav ones while using a device they were written for (Secret Sauce's 88Pro mode).

As for actually implementing the microtonal tuning, this would be a bit tricky, but I have some ideas:

  • MIDI has a fine tuning sysEx that can be used. However, I'm not sure if it is supported in all synths. It probably is in secret sauce and BASSMIDI, but I don't know about any others. If everything supports it then it's probably the easiest one to implement.
  • The Fine tuning RPN. It's widely supported, however if a MIDI (such as this one) uses it itself, it will be overwritten.
  • Offseting the pitch wheel. Will work 100%, but all pitch wheel changes in the MIDI will have to be offset and the pitch wheel range (which each MIDI can individually set) has to be taken into account. In other words, if correctly implemented it will work in all synths without a doubt, but it's the hardest one to implement.

What do you think? Let me know!

spessasus avatar Sep 01 '25 22:09 spessasus

I understand the general principle of your request but will need to study it more. As usual the user interface may prove to be the more challenging part.

stuerp avatar Sep 02 '25 18:09 stuerp