2

Overview

I am using a Midi Fighter 3D to play notes into Ableton Live (Lite in this situation, but I have a license for Suite if needed). The MF3D outputs 16 sequential MIDI notes for each of 4 banks as follows:

Bank 1: C1(36), C#1(37), D1(38), D#1(39), E1(40), F1(41), F#1(42), G1(43), G#1(44), A1(45), A#1(46), B1(47), C2(48), C#2(49), D2(50), D#2(51)
Bank 2: E2(52)... G3(67)
Bank 3: G#3(68)... B4(83)
Bank 4: C5(84)... D#6(99)

This works well for playing drum kits, however, I would also like to use it to play bass lines and other melodic parts, similar to how you would on the Ableton Push.

The Problem

When I play a melodic part, I would typically like to play in a scale, not chromatically. However, I don't want to reprogram the MF3D to output different MIDI notes as this would

  • complicate using the standard drum racks,
  • make it difficult to change scales,
  • and probably mess up the way it works with other software.

I also want to maximize the number of in-scale notes available in the selected bank.

The Question

How can I re-map the sequential notes of the MF3D to sequential notes in a scale, starting at some arbitrary root note

I'd like a solution that I can put in a rack so I can use the chain selector to play a drum kit on one bank and an instrument on a different bank. Any other solution that lets me switch between drum kits and scales by changing banks on the MF3D would also be appreciated.

Example

For example, I might like to have bank 1 send the default note values, but map bank 2 to a C minor scale as follows:

E2 (52) --> C2 (36)
F2 (53) --> D2 (38)
F#2 (54) --> D#2 (39)
G2 (55) --> F2 (41)
G#2 (56) --> G2 (43)
A2 (57) --> G#2 (44)
A#2 (58) --> A#2 (46)
B2 (59) --> C3 (48)
C3 (60) --> D3 (50)
C#3 (61) --> D#3 (51)
D3 (62) --> F3 (53)
D#3 (63) --> G3 (55)
E3 (64) --> G#3 (56)
F3 (65) --> A#3 (58)
F#3 (66) --> C4 (60)
G3 (67) --> D4 (62)

What I've Tried

I tried using the Scale MIDI effect, but this doesn't work b/c it maps solely based on note name; i.e. I can map an incoming E to play a C in the same octave, but I can't have E2 mapped to C2 while E3 is mapped to G#3.

  • 16 notes could be doable with a MIDI Rack and a lot of Pitch effects forum.ableton.com/viewtopic.php?t=134286 ... and if you want to hack around with Python code, you could create a Remote Script, or modify one of the existing ones out there. – piiperi Reinstate Monica Oct 27 '20 at 8:18
  • Unfortunately a control surface or remote script wouldn't allow for a UI so no changing scales/root notes without an edit and restart of Live. The pitch effects could work, but I can't wrap my head around how to change scales... any ideas? – Jens Ehrich Oct 27 '20 at 14:54
  • Max4Live maybe? There you can even code stuff in JavaScript. For changing "scales" i.e. note-to-note mappings with the MIDI Rack contraption, you'd have to have a separate rack for each different mapping, and switch between racks using some sort of remote control means. – piiperi Reinstate Monica Oct 27 '20 at 16:14
  • 1
    This MIDI Note Mapper Max4Live patch seems to be exactly what you want. maxforlive.com/library/device/2273/midi-note-mapper The author says: "I use it a lot for MIDI file conversions between different drumkits." – piiperi Reinstate Monica Oct 27 '20 at 19:04
  • Good find - I missed that one. It's definitely an improvement over using individual pitch effects. I'm looking into making a custom M4L device first, but this will be my backup plan. – Jens Ehrich Oct 28 '20 at 14:46
0

To solve this problem, I came up with the following device which I have dubbed Scale Mode. It maps a range of sequential MIDI values onto a preselected scale.

Scaled Mode Max Device

It differs from the built-in Scale MIDI effect in that it doesn't repeat any notes; i.e. instead of just transposing 'bad' notes to the nearest 'good' note, it actually remaps the range so that there are no duplicates. This allows for playing a larger range of notes on pad controllers like the Midi Fighter 3D.

Unfortunately it does require Max for Live so it won't work with Live Lite.

There are still several bugs - it doesn't work correctly below the root note, it's unintuitive to define scales that don't start on C, and it behaves unpredictably when the output goes above MIDI note 127; however, it works for my purpose.

I will post the initial code here as part of this answer, however, I will only be developing it further on my GitHub page (I will post a link here later once it has been posted there).

enter image description here

----------begin_max5_patcher----------
3969.3oc2bs1aiabE8yq+UPXjh.z3kcd+nn4CsaPQWfjtEMA8KIEFzRzRLKE
o.Iks2MH+26cHonHEGRQJQZ6saPr2kbjlYNy8dtm4NO9sqdy02E+je50N+Ym
e14Mu42t5MuI+QlG7lx+8atdi2SKB8RyK10gAO36FsaioT2T7dunn3Lurf3n
7R7iqieL0IasuC7gxbR7e6Fusa8W5DuKaUbPzJGn39t6+zO3kD4swO+i9OgW
7gcY+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VVZ9sc1ri9lYEMRz2btFLnuz17xjRavOZ16GFgKiseH.AA.jqIJJGhNQ
olqbPgMgTsKY69H4h5ixgzIwjIvmTJFPMsmh3xpI1.pIoZBpIAan8I7TabJF
bmDO0zRB7PbLZrNXG6XP4.c4w2vVli1J17GhDSUXpzbEQhMaB9V5raWxKbjj
OD3jiNrpTmeMMjnfp9.OLW1FRDBlKw7GLCDVSvHjICcPIkLP6q.H5gIkHM4x
a3kjgPtRDUhXDJDlPpIlDaXKjhkRdgvzQw05XA5ZZINQtVCppo8E10ZnU.pc
UlasNtvbl7zf7garOVZojSsOLaHrw4.QmA2HBtqrUpvKt1SnlbC2RaghbwZK
XzgztES.2NUMTD5R4dn7gJWEMJJg8xUQLW4vjqhdF5GH6trWl4LkL.ox85xZ
ONSwQBBSKLpa7ujl67IyeXDjDjMK0c5MebAuT6Ex.v45aafyulFREMA0CQNz
oLLNO.i96hvRlCupRaBUYk1pcAmZmiA0EOxCZhbNHCYXTLd9ELUmeKrxzXMA
ruAEElrcpc0stUIaWxIGeoCUT57fuCg7oyPoXHxXK3kXtAKL+gR.8sbPsEsh
7ou2ILzTFsbBBv4qY.uiY9kZKZFaWxK0QdH9wS.gAdPLSzonlHC0tpGgRp1t
Dlovn3Xf8gA+UIF7M5HK.VJ4TaAiGbDkQ1IknhltPhTbhPf6JUGVJ4TyPfwC
bhWWrICd.7ApIXpj3gLURbaufhL4dz8HjoRN59C5n6Nn12aPcemAc78ET9Fy
qq6Inq98q9evHtQ+a
-----------end_max5_patcher-----------

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.