mccy
Seeker
Posts: 3
|
Post by mccy on Oct 17, 2022 16:54:05 GMT
I would like to divide the range of a controller in different areas 0-20, 21-40… and trigger different notes c0, c#0, d0… with a footcontroller for layerswitchin in a sampler (AudioLayer in iOS)… the note should change when the controller reaches a new area…
Could Someone help me with this plan?
cheers
Martin
|
|
mccy
Seeker
Posts: 3
|
Post by mccy on Oct 17, 2022 21:21:19 GMT
This is, what may work… Í would like something that would compare the changes, so that the notes are spit out only once in a range.
# Enter rules here # Press 'Install Rules' when done
IF M0 == B0 01 IF M2 < 20 SND 90 19 00 SND 90 18 64
ELSE IF M2 < 40 SND 90 18 00 SND 90 1A 00 SND 90 19 64
ELSE IF M2 < 60 SND 90 19 00 SND 90 1B 00 SND 90 1A 64 ELSE IF M2 < 80 SND 90 1A 00 SND 90 1B 64 END END END END END
|
|
mccy
Seeker
Posts: 3
|
Post by mccy on Oct 18, 2022 4:42:36 GMT
Thisone is better ;-)
B0 01 00-20 = 90 18 64
B0 01 21-40 = 90 19 64
B0 01 41-60 = 90 1A 64
B0 01 61-80 = 90 1B 64
|
|