Hello
Have been attempting to make a StepNote pattern rotate - sadly my script skills are very much newb level!
It seems like I have nearly achieved this but for one frustrating problem - it is only working when I rotate to the left! When I move the pattern to the right the pattern dissapears as it goes beyond the edge. It seems like it should work since the script for moving left and right are identical apart from one +/- sign!
If anyone more knowledgeable could give the script a quick look/test and let me know what is wrong I would be very grateful for the help!
here is the template:-
Thanks in advance
Need some help from a script master please!!
Need some help from a script master please!!
- Attachments
-
- RotateStepNote.jzml
- (6.18 KiB) Downloaded 48 times
-
- Newbie
- Posts: 17
- Joined: 21 Nov 2014 02:47
Re: Need some help from a script master please!!
have u tried using modulo (%)? it should give u a nice wrap around back to the beginning if your steps go out or range.
Re: Need some help from a script master please!!
Try this one!
- Attachments
-
- RotateStepNote-corrected.jzml
- (6.76 KiB) Downloaded 56 times
Re: Need some help from a script master please!!
Oops sorry....I forgot to update - Macciza already came to my resuce!
Many thanks to you all though, I shall study your solution too! It can never hurt to see the various possible solutions to this ;D
Thanks again!
Many thanks to you all though, I shall study your solution too! It can never hurt to see the various possible solutions to this ;D
Thanks again!
Re: Need some help from a script master please!!
Hi
Sorry about that . . .
See other thread for my solution
Critical difference to note here is that my approach uses subarrays to reorganise the array
I believe this is quicker then iterating through a for loop
Cheers
Sorry about that . . .
See other thread for my solution
Critical difference to note here is that my approach uses subarrays to reorganise the array
I believe this is quicker then iterating through a for loop
Cheers
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]