Note Mapping and Tracking

Can anyone recommend a good approach to note mapping and tracking? Here is the scenario…

Let’s say I have two states, harmony and, um, not harmony. I can select the state with a button Widget and it can change with variations. Let’s say that the harmony raises the pitch by a major third, so when I play a C, it sounds as an E.

Everything works great, until you hold a note and change the state.

  1. Harmony is ON. I play and hold a C, and an E is sent to the instrument block.
  2. I change Variations and Harmony is now OFF. I release the C, the instrument block gets a Note OFF for C, but the E continues to play. It’s stuck until I play and release an E.

An overly simple solution is to send Note Off for both the straight and harmonized notes, but this breaks things for polyphonic playing and instruments. Even with monophonic instruments, we have legato, so the variation switch could occur with multiple notes held.

I can brute force a solution and I can use the NoteMapper and NoteTracker, but there are many ways to approach it. I’d rather copy a simple, effective design than to reinvent an overly complicated wheel.

Anybody got any solutions or recommendations to share?

I’ve faced this issue before. I generally add another sound module in the new key I want. Then, at the right time, deselect the original whilst activating the transposed one. You may have to add a short delay.

1 Like

Nice! I hadn’t considered that option. I think it will work in my immediate use case.

In fact, I don’t think I’ll need to add any delay. Rather than bypassing the unused instrument, I can just block the “Note On” messages to it.

It might not be pretty, and it might use some additional resources, but it keeps me from spending time on programming that would distract me from working on music. :+1:

Yeah, I worried about that for a while, as it didn’t seem “clever” enough. But if it works, then all is good. Also, because I use an iPad to totally control GP, I hide all the knobs, switches and sliders behind an enlarged text box with the song title. Then pretty becomes a non-issue. Cheers.

1 Like