Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firmware V1.28 Test Version
#31
(08-06-2023, 10:41 AM)mgd Wrote: Here's a list of caveats and things to remember/building blocks when dealing with the mapping screen [@Thomas: pls correct anything I got wrong]

0) First and foremost the whole mapping screen (all 45 lines!) is executed/processed 100 or more times for each row in one of your patterns. E.g. when your song runs at 120 BPM (2 beats per second) the mapping screen is processed 125x for each row in any of your patterns.
This is great for reacting to external controls (e.g. faders connected via I2C) but requires extra means when you wish to do stuff in relation to the musical events in your pattern.

1) Synchronize processing of (some) mapping screen functionality with your sequence
This is achieved via the function XMAP <some mapping row> that you can place in the function part of a sequencer row. It will process exactly this one row of the mapping and nothing else [outside of the normal mapping processing].

The content of <some mapping row> is then processed and completely in sync with your sequence. Fine.
Now we need to make sure this line is excluded from normal mapping processing (remember, 125x per row, see above).

This is done by placing something like
Code:
SKIP 1  = VAVA
directly in front of row <some mapping row> (the one we process via XMAP <some mapping row> from our pattern).
The SKIP cmd conditionally skips 1 (or more - up to 8) following rows from processing. By choosing a condition that is always TRUE (like VA == VA - whatever the value of VA it will always be identical to itself) we can assure that this row is executed only when the pattern says so via XMAP.

2) The above works great for things that can be done in a single mapping row. However sometimes we may wish for more complicated processing. For this we can expand the trick we applied above:
Code:
SKIP 1  = VAVA
CALC INC  VAVA > SETV V  A
SKIP <n> = VAVB
<n> rows of mapping processing
...
The trick is that during normal processing the line
Code:
SKIP <n> = VAVB
will be TRUE (provided we made sure VA and VB started out the same) and the following <n> rows will normally not be processed. Only when we process
Code:
CALC INC  VAVA > SETV V  A
from our pattern (by means of XMAP <row # of that row>) it will be activated. To make sure it will be processed just once we have to reset the condition by something like
Code:
VAR  #  A #000 > SETV V  B

<n> can be up to 8 rows. If we need particularly complex processing we can repeat the above pattern like
Code:
SKIP <n> = VAVB
<n> rows of mapping processing
SKIP <n> = VAVB
another <n> rows of mapping processing
SKIP <n> = VAVB
yet another <n-1> rows of mapping processing
VAR  #  A #000 > SETV V  B
Be aware to put the last line (aka resetting the condition) into the last block of rows to process!

Kind regards,
Michael

PS: I will expand this as I come across other things I find useful as building blocks Smile

@Thomas
Wishes for extensions to the mapping processing:
1) SKIP cmd
It would be handy if the SKIP command would get at least a constant value of 0 as an additional second value, e.g. like:
SKIP 7  = VA#0
Comparing against 0 is so common that it seems a waste to always have a variable fixed to that value. It's probably possible to trick some row value (that implicitly is always 0), but that would create a debugging nightmare if for whatever reason that will change.

2) VAR cmd
Fast scrolling UP through the values works just fine. DOWN seems to stop when the first digit is 0 and from then on one needs to use slow scrolling to e.g. reach #000. Please ammend Smile

3) Copy and paste in mapping screen
I'm sure it is on your TODO list but I thought I'd mention it anyway Wink
When editing/developing more complicated processing I often need to insert rows. I'm not aware of a way to achieve that (other than to re-enter all the lines below).

A short reply here:

- It is 70 rows (or 45 hex rows).
- Each row is executed 1000 times per second!
- beside the XMAP they are also other possibilities to synchronize your algorithm with the project/bpm/automator and any source.
1) SKIP cmd ->  I think adding 0 and 1 as constants is a good idea
2) VAR cmd -> Yes editing surely needs some more attention
3) Is in there already. SHIFT+MARK copies a line into the cliboard, SHIFT+COPY does insert it somehwere else. SHIFT+DELETE clears a line, SHIFT+UP+DELETE deletes a line and shifts the stuff below up, SHIFT+DOWN+DELETE Inserts an empty line and shifts the rest down.
I know this is not perfect yet, but it will at least speed up everything for now. Marking and copying like in the sequencer and pattern screen will follow up.

So anyone else created some cool things with the mapping already? And did someone try the bouncing ball of mgd?
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
Firmware V1.28 Test Version - by XORadmin - 08-01-2023, 04:46 PM
RE: Firmware V1.28 Test Version - by Zosimos - 08-01-2023, 04:50 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-01-2023, 05:34 PM
RE: Firmware V1.28 Test Version - by shylock1908 - 08-01-2023, 06:22 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-01-2023, 08:37 PM
RE: Firmware V1.28 Test Version - by sllopes - 08-01-2023, 07:19 PM
RE: Firmware V1.28 Test Version - by Catchthehare - 08-01-2023, 08:29 PM
RE: Firmware V1.28 Test Version - by trapcodien - 08-01-2023, 08:44 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-01-2023, 08:52 PM
RE: Firmware V1.28 Test Version - by trapcodien - 08-01-2023, 08:56 PM
RE: Firmware V1.28 Test Version - by Thedoge - 08-01-2023, 09:10 PM
RE: Firmware V1.28 Test Version - by trapcodien - 08-01-2023, 10:16 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-01-2023, 10:33 PM
RE: Firmware V1.28 Test Version - by trapcodien - 08-01-2023, 10:56 PM
RE: Firmware V1.28 Test Version - by st3rk - 08-02-2023, 08:54 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-02-2023, 09:04 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-02-2023, 09:20 AM
RE: Firmware V1.28 Test Version - by st3rk - 08-02-2023, 10:34 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-02-2023, 11:02 AM
RE: Firmware V1.28 Test Version - by st3rk - 08-02-2023, 11:25 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-02-2023, 12:00 PM
RE: Firmware V1.28 Test Version - by Terekki - 08-03-2023, 11:00 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-03-2023, 11:25 AM
RE: Firmware V1.28 Test Version - by Onosendai - 08-03-2023, 09:54 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:35 PM
RE: Firmware V1.28 Test Version - by st3rk - 08-04-2023, 11:16 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:37 PM
RE: Firmware V1.28 Test Version - by mgd - 08-04-2023, 01:36 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-04-2023, 02:10 PM
RE: Firmware V1.28 Test Version - by mgd - 08-05-2023, 07:27 AM
RE: Firmware V1.28 Test Version - by mgd - 08-06-2023, 10:41 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-06-2023, 12:21 PM
RE: Firmware V1.28 Test Version - by vidret - 08-07-2023, 10:36 AM
RE: Firmware V1.28 Test Version - by ipassenger - 08-08-2023, 11:57 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-08-2023, 07:35 PM
RE: Firmware V1.28 Test Version - by mgd - 08-08-2023, 07:18 PM
RE: Firmware V1.28 Test Version - by mgd - 08-08-2023, 08:09 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-09-2023, 01:26 PM
RE: Firmware V1.28 Test Version - by mgd - 08-09-2023, 07:00 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-09-2023, 08:44 PM
RE: Firmware V1.28 Test Version - by mgd - 08-10-2023, 05:22 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-10-2023, 06:32 AM
RE: Firmware V1.28 Test Version - by Cyber_Imp - 08-11-2023, 04:24 AM
RE: Firmware V1.28 Test Version - by trevormeier - 08-11-2023, 11:03 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:50 PM
RE: Firmware V1.28 Test Version - by septcercles - 09-01-2023, 12:06 AM
RE: Firmware V1.28 Test Version - by XORadmin - 09-03-2023, 02:01 PM
RE: Firmware V1.28 Test Version - by vidret - 08-15-2023, 08:29 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:51 PM
RE: Firmware V1.28 Test Version - by Cyber_Imp - 08-15-2023, 11:01 PM
RE: Firmware V1.28 Test Version - by mgd - 08-16-2023, 09:57 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:52 PM
RE: Firmware V1.28 Test Version - by Labrioche - 08-16-2023, 06:03 AM
RE: Firmware V1.28 Test Version - by st3rk - 08-17-2023, 03:18 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 04:38 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 03:58 PM
RE: Firmware V1.28 Test Version - by visti - 08-16-2023, 04:04 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-18-2023, 04:30 PM
RE: Firmware V1.28 Test Version - by st3rk - 08-18-2023, 05:23 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-26-2023, 05:53 PM
RE: Firmware V1.28 Test Version - by mgd - 08-27-2023, 09:45 AM
RE: Firmware V1.28 Test Version - by Elektro GOWK - 08-27-2023, 10:18 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-27-2023, 07:38 PM
RE: Firmware V1.28 Test Version - by Elektro GOWK - 08-27-2023, 08:50 PM
RE: Firmware V1.28 Test Version - by XORadmin - 08-28-2023, 11:12 AM
RE: Firmware V1.28 Test Version - by XORadmin - 08-31-2023, 10:33 AM
RE: Firmware V1.28 Test Version - by nsolarz - 08-31-2023, 08:18 PM
RE: Firmware V1.28 Test Version - by Chess1 - 09-08-2023, 04:04 AM
RE: Firmware V1.28 Test Version - by XORadmin - 09-08-2023, 05:11 AM
RE: Firmware V1.28 Test Version - by Chess1 - 09-14-2023, 12:53 AM
RE: Firmware V1.28 Test Version - by XORadmin - 09-14-2023, 05:59 AM
RE: Firmware V1.28 Test Version - by Morim - 09-11-2023, 07:53 PM
RE: Firmware V1.28 Test Version - by XORadmin - 09-11-2023, 07:57 PM
RE: Firmware V1.28 Test Version - by XORadmin - 09-18-2023, 03:00 PM
RE: Firmware V1.28 Test Version - by TheSandbag - 09-25-2023, 02:56 PM
RE: Firmware V1.28 Test Version - by XORadmin - 09-25-2023, 03:16 PM
RE: Firmware V1.28 Test Version - by TheSandbag - 09-25-2023, 03:21 PM
RE: Firmware V1.28 Test Version - by XORadmin - 09-25-2023, 04:07 PM
RE: Firmware V1.28 Test Version - by st3rk - 09-29-2023, 09:34 AM
RE: Firmware V1.28 Test Version - by XORadmin - 09-29-2023, 11:10 AM
RE: Firmware V1.28 Test Version - by st3rk - 09-29-2023, 08:55 PM
RE: Firmware V1.28 Test Version - by kaspar - 10-08-2023, 01:10 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-08-2023, 01:20 PM
RE: Firmware V1.28 Test Version - by kaspar - 10-08-2023, 07:27 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-10-2023, 05:06 AM
RE: Firmware V1.28 Test Version - by trevormeier - 10-10-2023, 09:21 PM
RE: Firmware V1.28 Test Version - by proxemics - 10-12-2023, 05:01 PM
RE: Firmware V1.28 Test Version - by kaminiello - 10-21-2023, 08:32 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-21-2023, 09:15 PM
RE: Firmware V1.28 Test Version - by shield - 10-26-2023, 08:35 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-26-2023, 09:04 PM
RE: Firmware V1.28 Test Version - by Renzki - 10-28-2023, 08:30 AM
RE: Firmware V1.28 Test Version - by XORadmin - 10-28-2023, 09:48 AM
RE: Firmware V1.28 Test Version - by Renzki - 10-28-2023, 05:08 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-28-2023, 07:18 PM
RE: Firmware V1.28 Test Version - by XORadmin - 10-29-2023, 10:59 PM
RE: Firmware V1.28 Test Version - by Renzki - 10-30-2023, 09:11 AM
RE: Firmware V1.28 Test Version - by XORadmin - 10-30-2023, 09:47 AM
RE: Firmware V1.28 Test Version - by yrn1 - 10-28-2023, 04:21 PM
RE: Firmware V1.28 Test Version - by Renzki - 10-29-2023, 09:26 AM
RE: Firmware V1.28 Test Version - by XORadmin - 10-29-2023, 10:48 AM
RE: Firmware V1.28 Test Version - by Renzki - 10-31-2023, 10:37 AM
RE: Firmware V1.28 Test Version - by XORadmin - 10-31-2023, 11:00 AM
RE: Firmware V1.28 Test Version - by OhJay - 11-01-2023, 06:45 AM
RE: Firmware V1.28 Test Version - by proxemics - 11-01-2023, 07:20 PM
RE: Firmware V1.28 Test Version - by XORadmin - 11-01-2023, 08:53 PM
RE: Firmware V1.28 Test Version - by XORadmin - 11-02-2023, 07:42 PM
RE: Firmware V1.28 Test Version - by dborowik - 11-03-2023, 01:13 PM
RE: Firmware V1.28 Test Version - by chriswest - 11-09-2023, 09:28 AM
RE: Firmware V1.28 Test Version - by joesh - 11-11-2023, 10:49 PM
RE: Firmware V1.28 Test Version - by XORadmin - 11-12-2023, 09:29 AM
RE: Firmware V1.28 Test Version - by OhJay - 11-12-2023, 01:26 PM
RE: Firmware V1.28 Test Version - by XORadmin - 11-13-2023, 09:03 AM
RE: Firmware V1.28 Test Version - by proxemics - 11-21-2023, 03:39 AM
RE: Firmware V1.28 Test Version - by sllopes - 11-08-2023, 09:30 PM
RE: Firmware V1.28 Test Version - by Chess1 - 11-22-2023, 04:26 PM
RE: Firmware V1.28 Test Version - by XORadmin - 11-22-2023, 07:03 PM
RE: Firmware V1.28 Test Version - by snailed - 12-01-2023, 02:47 AM
RE: Firmware V1.28 Test Version - by XORadmin - 12-01-2023, 06:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)