Helpful ReplyHow to send Sysx via CAL

Author
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
2016/10/05 08:24:05 (permalink)

How to send Sysx via CAL

HI:)
 
Does anybody know exactly how to send Sysx Commands via CAL?? 
It is possible, but I can't find the correct Syntax...
For sure I could send it within the Sysx Window in sonar, but I would like to have a key command for.
 
I should send Data like:
 
F0 43 10 3d 19 00 01 F7
or
F0 43 10 3d 1A 00 00 F7
 
Thanks;)
 
Bassman.
 
post edited by Basseman - 2016/10/05 08:45:56
#1
promidi
Max Output Level: -66 dBFS
  • Total Posts : 1220
  • Joined: 2014/11/21 18:46:39
  • Location: South Australia
  • Status: offline
Re: How to send Sysx via CAL 2016/10/05 09:27:22 (permalink) ☄ Helpfulby williamcopper 2016/10/06 09:48:28
Here you go.  Remember Cal is case sensitive

(do
    (sendMIDI -1 -1 SYSX 43 10 3d 19 00 01)
)

or

(do
    (sendMIDI -1 -1 SYSX 43 10 3d 1A 00 00)
)



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,
#2
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: How to send Sysx via CAL 2016/10/06 13:39:39 (permalink)
Hi:)
 
Without F0 and F7 as I see, but how can I set the right Midiport?? Should send it on the 3rd Port...
Sorry, but can't find good information on CAL in Internet.
 
Thank you;)
Bassman.
 
#3
promidi
Max Output Level: -66 dBFS
  • Total Posts : 1220
  • Joined: 2014/11/21 18:46:39
  • Location: South Australia
  • Status: offline
Re: How to send Sysx via CAL 2016/10/06 17:55:28 (permalink)
This is an excerpt from the CAL Language programming guide that deals specifically with the SENDmidi command.   The number that sets the port number is the first "-1" in the examples I gave you before

Hope this helps.

(sendMIDI <port> <channel> <kind> <data1> [[<data2>]….])

You can send a MIDI event during a CAL program with this function.
Use ‘port’ as the port number (0 .. 15) you want to send over. If ‘port’ is set to -1, the function will send the message through all ports. The ‘channel’ variable is the channel number (0 .. 15) and -1 will set the function to send over all channels. The ‘kind’ constant is one of the recognised event types such as “NOTE” or “CONTROL” just like with the “insert” function. Use ‘data1’ and ‘data2’ for the information to be sent. Not all event kinds use both data bytes, and you must use the proper formatting of the data bytes for the event in question. ‘data2’ is only valid for “NOTE”, “CONTROL” , and “KEYAFT”. Remember, MIDI data bytes must be between 0 and 127 except for type “SYSX” (system exclusive message).

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,
#4
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: How to send Sysx via CAL 2016/10/07 08:40:58 (permalink)
You'll find a whole heap of CAL resources on my Onedrive in the Sonar/CAL folder.

https://1drv.ms/f/s!Ahg7GEVUP0HfzHQrOR1Fbrn72zMj

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
#5
Bassman002
Max Output Level: -84 dBFS
  • Total Posts : 321
  • Joined: 2014/12/19 05:51:16
  • Status: offline
Re: How to send Sysx via CAL 2016/10/07 23:13:28 (permalink)
@mudgel
@promidi
 
that's a nice joerney for to find a description of CAL:)  Thanks! I've always looked for CAL and found C/AL, nothing else.....thank you;)
 
Now the things go like they should go!!
 
Bassman.
 
#6
Jump to:
© 2025 APG vNext Commercial Version 5.1