![]() |
|
Bouncing Ball V1 - Printable Version +- XOR Userforum (https://forum.xor.eu) +-- Forum: Products (https://forum.xor.eu/forumdisplay.php?fid=3) +--- Forum: NerdSEQ (https://forum.xor.eu/forumdisplay.php?fid=6) +---- Forum: Project / Mapping Exchange (https://forum.xor.eu/forumdisplay.php?fid=30) +----- Forum: Mappings (https://forum.xor.eu/forumdisplay.php?fid=33) +----- Thread: Bouncing Ball V1 (/showthread.php?tid=1745) |
Bouncing Ball V1 - XORadmin - 01-06-2024 Here is the bouncing ball. Started by executing Row 01 (SHIFT+OK on 01) or the XMAP FX. Works with V2.0C Variable A: Width = Amount of notes Variable B: Helpcounter to create the 'timebase' Variable C: Tempo Variable D: Note Offset Variable E: Helpcounter Variable F: Type of Trigger Code: 00 SKIP 01 = =0=0 > //always skip 1 rowSo generally, 03 - 06 is a simple timebase and decrements E. 08 Skips always if A hasn't been 'executed / initialized'. 09 Skips until E reaches A and gets reset again on 0A On 0B Var A is decremented. That repeats and gets faster as A is getting smaller and E reaches it faster until A is 0 and 08 will skip it again. And VA is also being used to play a note and because it is getting smaller each time it will also play each time a lower note. D is just an offset to the Note you can add to have it in a range you like. |