Re: CAL Script: How to insert RPN?
2018/08/17 03:09:55
(permalink)
☼ Best Answerby rogeriodec 2018/08/17 04:10:43
The way I get around this is to work out what combination of Controller events result in the equivalent RPN events.
CC 6 Data Entry Most Significant Bit(MSB)
CC 32 Data Entry Least Significant Bit(MSB)
CC 100 Registered Parameter Number LSB (RPN)
CC 101 Registered Parameter Number MSB (RPN)
For instance, if I want to enter a Yamaha XG pitch pitch bend range (which is done via a RPN 0 event), I use the following
(do
(int pitchbendrange 2)
(getInt pitchbendrange "Please enter pitchbend Range" 0 24)
(insert Now 0 CONTROL 100 0)
(insert (+= Now 1) 0 CONTROL 101 0)
(insert (+= Now 2) 0 CONTROL 6 pitchbendrange)
)
I also use a specially crafted Studioware panel that does the same thing but without needing CAL
Hope that helps.
Windows 10 64bit fully patched, 16 gig ram . PCR-800 Controller. (Working in Win 10 1809 64bit)CPU: i5 4670. Video: Nvidia GTX560ti (latest drivers). Audio IF: Focusrite 2i2 2nd Gen
Internet always on.
Software: Cakewalk by Bandlab (2018.09 B29)
ASIO mode. 24bit 48khz 256 samples Rapture Pro, AAS GS2, VS-3, EP-4, VA-2, Chromophone 2, Z3TA+ 2, Addictive drums 2, Addictive Keys, Mpowersynth (latest), Iris 2, GPO5, Sampletank 3,