Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping Discussion
#90
(03-09-2025, 08:25 PM)trevormeier Wrote: What's the correct method for using the mapping screen to send MIDI note information from a track?

I'm sending the notes from a Modular track to the Mapping Screen, and from there sending those notes to MIDI. (I have creative reasons why I'm doing this, feel free to ask if you're interested).

I'm having two challenges:
1. I can't get MIDI note on/off message to reliably match the gate length programmed in a track
2. Additional notes created in a Table on a track aren't sent to the mapping screen

For gate length, if I have:

Code:
TRCK TRK1 NOT1 > MIDI TC01 NOTE

... a new note on Track 1 will send a MIDI Note On followed immediately by a Note Off command. 

What I would like is to send the Note Off command only after the note is finished (either [ ] in the Pattern or when the gate goes low). I've tried a few different ways. This gets me the closest:

Code:
TRCK TRK1 NOT1 > MIDI TC01 NTON
TRIG TR 1
CALC IF = 01=0
CALC PASS 0200 > MIDI TC01 NTOF

This method does send the correct gate lengths, but it's fairly glitchy. Notes will often have a double trigger at the start, and sometimes gates will get inverted or missed. This mapping works best if the Pattern is programmed with gate/trig on/off commands. Using the "Auto Gate On Note" setting is very glitchy, with many gates missed or inverted.
Rely on the auto-gate is not working properly for sure except maybe if you set the autogate very long which will also delay the whole thing. The auto-gate can be shorter than the mapping execution times and so those could be possibly missed.
I would probably detect on 2 situations:
Gate status changed and Note value changed. (and maybe combinations of these)
A note change needs always a note off and a note on since there is no such thing in midi as note change. So sending just another note on will not work here.
The old status of the Gate and the note must be saved in variables so you are able to compare the current situation with the possible new situation.

For the Gate:
- check if the old gate status is different than the new gate status, else skip the part
- if it changed, then check for how it changed and depending on that execute 2 different blocks which are preset after a XXMP (XMAP variant) and there you either have one block which just sends the new note on or the other block sends a note off with the old note
In both situations update the variable for the 'old' gate and the 'old' note so the new check can happen

For the note changes:
- check if the note changed
- if so, check the gate status. If it is off then you probably don't have to do anything since the off happened already before. If it is on (and was on) then execute also another XXMP part which first sends a note off of the old note and then a note on for the new note. Update the 'old' note and gate status. If the gate is on adn was off then only a note on need to be send. Update the old note and gate status as well.

They are possible pitfalls involved and so it is surely needed in the mapping rows before all those checks that the current gate and notes are being saved in additional variables which you check against. Else it can be possible that a gate/note check on one mapping row will get you a different result on different mapping rows if the status changed between the mapping row execution.

This is all theory but I guess that this should generally work. Since it is Midi there is more work involved than just passing a new note.

Quote:And for sending Table notes, I haven't yet found a way to access them in the mapping screen. Can someone give me a tip on how to do that?

The track notes are currently only based on the pattern sequencing and not on the external stuff. It might be good or not to include the table manipulations as well but I got to investigate that and possible side effects. There are possible tricks like executing different XMAP from the table (like set a variable which is added to the TRCK TRK1 NOT1 then for example) to get the notevalues + table transpose.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply


Messages In This Thread
Mapping Discussion - by XORadmin - 12-07-2023, 08:35 AM
RE: Mappings - by knights who say neve - 12-10-2023, 06:53 AM
RE: Mappings - by Labrioche - 12-14-2023, 07:28 AM
RE: Mappings - by XORadmin - 12-14-2023, 08:57 AM
RE: Mappings - by Labrioche - 12-14-2023, 07:24 PM
RE: Mappings - by XORadmin - 12-14-2023, 07:55 PM
RE: Mappings - by XORadmin - 12-10-2023, 08:05 AM
RE: Mappings - by XORadmin - 12-14-2023, 05:13 PM
RE: Mappings - by zeitkunst - 12-21-2023, 03:36 PM
RE: Mappings - by XORadmin - 12-21-2023, 04:03 PM
RE: Mappings - by zeitkunst - 12-21-2023, 04:29 PM
RE: Mappings - by XORadmin - 12-22-2023, 07:00 AM
RE: Mappings - by zeitkunst - 12-22-2023, 10:30 AM
RE: Mappings - by XORadmin - 12-23-2023, 07:48 AM
RE: Mappings - by zeitkunst - 12-31-2023, 12:30 AM
RE: Mappings - by XORadmin - 12-31-2023, 12:09 PM
RE: Mappings - by zeitkunst - 01-15-2024, 02:13 PM
RE: Mappings - by XORadmin - 01-15-2024, 02:55 PM
RE: Mappings - by zeitkunst - 01-15-2024, 03:09 PM
RE: Mappings - by XORadmin - 01-15-2024, 04:21 PM
RE: Mappings - by zeitkunst - 01-15-2024, 07:18 PM
RE: Mappings - by XORadmin - 01-15-2024, 07:39 PM
RE: Mappings - by knights who say neve - 12-11-2023, 05:25 AM
RE: Mappings - by XORadmin - 12-11-2023, 06:06 AM
RE: Mappings - by XORadmin - 12-11-2023, 12:48 PM
RE: Mappings - by knights who say neve - 12-13-2023, 07:10 AM
RE: Mappings - by XORadmin - 12-13-2023, 08:22 AM
RE: Mappings - by nsolarz - 12-13-2023, 03:14 PM
RE: Mappings - by XORadmin - 12-13-2023, 10:23 PM
RE: Mappings - by yrn1 - 12-16-2023, 05:52 PM
RE: Mappings - by XORadmin - 12-16-2023, 06:05 PM
RE: Mappings - by yrn1 - 12-16-2023, 08:39 PM
RE: Mappings - by XORadmin - 12-16-2023, 09:04 PM
RE: Mappings - by yrn1 - 12-16-2023, 09:24 PM
RE: Mappings - by XORadmin - 12-16-2023, 09:57 PM
RE: Mappings - by TheSandbag - 12-22-2023, 11:50 AM
RE: Mappings - by XORadmin - 12-22-2023, 12:25 PM
RE: Mappings - by kriskeyman - 12-22-2023, 06:55 PM
RE: Mappings - by XORadmin - 12-22-2023, 08:05 PM
RE: Mappings - by yrn1 - 01-05-2024, 08:53 AM
RE: Mapping Discussion - by Labrioche - 01-07-2024, 01:13 PM
RE: Mapping Discussion - by XORadmin - 01-07-2024, 02:43 PM
RE: Mapping Discussion - by Raymond19990802 - 01-08-2024, 09:31 AM
RE: Mapping Discussion - by XORadmin - 01-08-2024, 09:35 AM
RE: Mapping Discussion - by shledge - 02-09-2024, 12:37 AM
RE: Mapping Discussion - by XORadmin - 02-09-2024, 07:39 AM
RE: Mapping Discussion - by shledge - 02-09-2024, 08:13 AM
RE: Mapping Discussion - by XORadmin - 02-09-2024, 09:10 AM
RE: Mapping Discussion - by shledge - 02-09-2024, 12:51 PM
RE: Mapping Discussion - by shledge - 02-09-2024, 09:59 PM
RE: Mapping Discussion - by XORadmin - 02-10-2024, 04:40 PM
RE: Mapping Discussion - by shledge - 02-12-2024, 10:37 AM
RE: Mapping Discussion - by vjrt - 04-09-2024, 03:18 PM
RE: Mapping Discussion - by XORadmin - 04-09-2024, 07:06 PM
RE: Mapping Discussion - by vjrt - 04-09-2024, 08:36 PM
RE: Mapping Discussion - by XORadmin - 04-12-2024, 07:45 AM
RE: Mapping Discussion - by FiFitheGreater - 06-09-2024, 08:46 PM
RE: Mapping Discussion - by XORadmin - 06-09-2024, 10:00 PM
RE: Mapping Discussion - by kriskeyman - 06-18-2024, 06:46 AM
RE: Mapping Discussion - by XORadmin - 06-18-2024, 08:15 AM
RE: Mapping Discussion - by kriskeyman - 08-01-2024, 06:05 AM
RE: Mapping Discussion - by XORadmin - 08-01-2024, 06:15 AM
RE: Mapping Discussion - by kriskeyman - 08-01-2024, 06:24 AM
RE: Mapping Discussion - by visti - 08-21-2024, 09:45 PM
RE: Mapping Discussion - by XORadmin - 08-21-2024, 10:10 PM
RE: Mapping Discussion - by kriskeyman - 09-11-2024, 07:44 AM
RE: Mapping Discussion - by XORadmin - 09-11-2024, 08:44 AM
RE: Mapping Discussion - by theb_roll - 09-14-2024, 07:00 AM
RE: Mapping Discussion - by XORadmin - 09-14-2024, 07:37 AM
RE: Mapping Discussion - by theb_roll - 09-14-2024, 07:57 AM
RE: Mapping Discussion - by XORadmin - 09-14-2024, 12:34 PM
RE: Mapping Discussion - by kriskeyman - 10-01-2024, 05:47 PM
RE: Mapping Discussion - by XORadmin - 10-01-2024, 07:26 PM
RE: Mapping Discussion - by visti - 10-04-2024, 06:22 PM
RE: Mapping Discussion - by XORadmin - 10-04-2024, 07:32 PM
RE: Mapping Discussion - by visti - 10-07-2024, 11:06 AM
RE: Mapping Discussion - by rubberband - 10-09-2024, 03:33 AM
RE: Mapping Discussion - by XORadmin - 10-09-2024, 07:49 PM
RE: Mapping Discussion - by rubberband - 10-10-2024, 02:33 PM
RE: Mapping Discussion - by XORadmin - 10-10-2024, 02:50 PM
RE: Mapping Discussion - by rubberband - 10-15-2024, 01:22 PM
RE: Mapping Discussion - by XORadmin - 10-15-2024, 03:03 PM
RE: Mapping Discussion - by rubberband - 10-15-2024, 06:47 PM
RE: Mapping Discussion - by XORadmin - 10-15-2024, 07:42 PM
RE: Mapping Discussion - by rubberband - 10-17-2024, 04:06 PM
RE: Mapping Discussion - by sync_mutex - 12-03-2024, 12:08 PM
RE: Mapping Discussion - by XORadmin - 12-03-2024, 12:11 PM
RE: Mapping Discussion - by visti - 01-26-2025, 05:44 PM
RE: Mapping Discussion - by trevormeier - 03-09-2025, 08:25 PM
RE: Mapping Discussion - by XORadmin - 03-11-2025, 11:49 AM
RE: Mapping Discussion - by trevormeier - 03-13-2025, 02:27 PM
RE: Mapping Discussion - by jako - 04-18-2025, 08:29 PM
RE: Mapping Discussion - by XORadmin - 04-30-2025, 08:24 PM
RE: Mapping Discussion - by visti - 07-09-2025, 12:42 PM
RE: Mapping Discussion - by XORadmin - 07-09-2025, 01:56 PM
RE: Mapping Discussion - by XORadmin - 01-22-2026, 03:16 PM
RE: Mapping Discussion - by XORadmin - 01-22-2026, 07:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)