step value to variable (via mapping) - Printable Version +- XOR Userforum (https://xor-electronics.com/forum) +-- Forum: Products (https://xor-electronics.com/forum/forumdisplay.php?fid=3) +--- Forum: NerdSEQ (https://xor-electronics.com/forum/forumdisplay.php?fid=6) +---- Forum: General Questions (https://xor-electronics.com/forum/forumdisplay.php?fid=17) +---- Thread: step value to variable (via mapping) (/showthread.php?tid=1852) |
step value to variable (via mapping) - baikul - 07-16-2024 Hello friends, I'm trying to make a mapping but I can't find a way to save the value of a step of a pattern in a variable. I have pattern 01 with a duration of 8 steps. I want variable A to be the value (note) from step 1, variable B to be step 2 and so on how can I do this? RE: step value to variable - XORadmin - 07-16-2024 (07-16-2024, 08:40 AM)baikul Wrote: Hello friends, I'm trying to make a mapping but I can't find a way to save the value of a step of a pattern in a variable. It is possible, however there is no direct command for it so it has to do that in some sort of algorithm: Code: 00 TRCK TRK1 PTRW :Get the current row of track 1 (scaled to 0 - 4095) The Track Row pointer points already to the next step once the last step has been finished. It is possible that the result of the CV generation might still be the result of the step before then (pointer points already to the next step, mapping for the new step gets already executed but the pattern didn't execute the new step yet). But when the clock goes high, then the pattern step is definitely valid and so there is the check around which allows the updates only when the clock comes up. RE: step value to variable (via mapping) - baikul - 07-19-2024 Yeah!! It works perfect. Now I can have variable banks to retrieve values and do calculations. Thank you very much, I wouldn't have done it without your help. |