CAL and Audio Data

Author
Baseman
Max Output Level: -90 dBFS
  • Total Posts : 41
  • Joined: 2008/05/05 05:50:19
  • Status: offline
2014/06/05 04:01:24 (permalink)

CAL and Audio Data

Hi there:)
 
In the net I found some articles which say that you can edit Audio with the CAL Language, but nowhere I can find with which commands. There's no command in the CAL Reference to do that or are these unknown commands?
 
Does anybody has got the newest CAL Reference or does anybody know about audio commands in CAL??
 
Thanks a lot;)
Basie.
 
P.S. I'd like to have some CAL Programs to decrease or increase the gain (1,2, and 3 dB)of a marked audioclip and to have a keyboard command. Don't know if it's possible to change the cal files in the keyb command section....
[Edit]
It is possible to edit the Standard Sonar Cal Programs and give Keyb Commands to them! So I could edit some of them, which I do not need:)
 
post edited by Baseman - 2014/06/05 04:09:41
#1

15 Replies Related Threads

    mudgel
    Max Output Level: 0 dBFS
    • Total Posts : 12010
    • Joined: 2004/08/13 00:56:05
    • Location: Linton Victoria (Near Ballarat)
    • Status: offline
    Re: CAL and Audio Data 2014/06/05 05:24:57 (permalink)
    CAL as a language was only for scripting within Cakewalk software. There is no New reference as Cakewalk has not actively developing CAL any longer and hasn't for many years.

    Here's a link to all the CAL data I have online. There may be something in there that can help you.

    https://onedrive.live.com...p;ithint=folder%2c.rar

    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.
    #2
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re: CAL and Audio Data 2014/06/05 08:37:13 (permalink)
    I scoured the web a while back for CAL stuff, not only routines but also documentation on programming with it, and have some doc I can look through to see if something like that can be done.
     
    I currently have no idea, since anything I have ever done with it has been to midi data.
     
    I will try to post something back by tonight, time permitting.
     
    Bob Bone

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #3
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: CAL and Audio Data 2014/06/05 09:08:32 (permalink)
    No audio processing in CAL that I am aware of but you can use a keyboard shortcut to call Process > Apply Effect > Gain. To create a shortcut search for gain in the Global Bindings area of Preferences > Customization > Keyboard Shortcuts.
    #4
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re: CAL and Audio Data 2014/06/05 10:05:18 (permalink)
    mudgel...Here's a link to all the CAL data I have online...



    Thanks, Mudgel!  I've downloaded and from looking at the list of CALs, I'm pretty sure I don't already have all of these.  Very cool. 
     
    Some CALs I already have come up non-functional, but others still work, it's always an adventure to try them out.  CTRL+F1 is always used at least once or twice when I'm working on a piece (keyboard shortcut to the CAL folder) - good old Random Time is a great starting point if there are spots where quantization had to be used and you need to get it mussed up.
     
    Thanks for the share.
     
    Randy B.

    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #5
    Baseman
    Max Output Level: -90 dBFS
    • Total Posts : 41
    • Joined: 2008/05/05 05:50:19
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 03:17:28 (permalink)
    HI:)
     
    @mudgel
     
    I already have downloaded your CAL Files, thanks, very great:)But found nothing for Audio....but very usefull little programs for Midi!!! Thanks again!
     
    @robert_e_bone
     
    I found a lot of Help and Reference Guides for CAL, but nothing about Audio, perhaps I have to contact this guy, who talked about it, will be difficult to find this post again...
     
    @scook
     
    For sure I have STRG-G Shortcut for Gain! I often do some Voice Edits, "s", "t", "k" and other Gain Edits by hand, and you always have to hit STRG-G, then you have to choose how much db, then hit "Return". It would be very nice, to have schortcuts for:
    -1dB,-2dB, -3dB, +1dB, +2dB,+3dB.
    I've had a little external Programm to create Shortcuts, but this program doesn't work anymore since Win 7:(
     
    Basie.
    #6
    mudgel
    Max Output Level: 0 dBFS
    • Total Posts : 12010
    • Joined: 2004/08/13 00:56:05
    • Location: Linton Victoria (Near Ballarat)
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 05:10:45 (permalink)
    When CAL first became available Cakewalk software was purely a MIDI sequencer. I'm not aware of any direct audio fn tins that are now or were available before but I don't remember any.

    It's continuing function relies on Cakewalk's maintaining the hooks within the Sonar program. Sadly this isn't the case and many of the original calls that could be made through CAL are no longer available.

    Cakewalk like many other programs would benefit greatly from a well integrated scripting language.

    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.
    #7
    mudgel
    Max Output Level: 0 dBFS
    • Total Posts : 12010
    • Joined: 2004/08/13 00:56:05
    • Location: Linton Victoria (Near Ballarat)
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 05:12:07 (permalink)
    It would be interesting if someone from Cakewalk would give us a definitive list of which CAL hooks remain in Sonar and respond to calls from CAL scripts

    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.
    #8
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 06:04:22 (permalink)
    I just tried AutoHotkey for the first time (running Win7). This script binds the WINDOWS+z key combo to -1dB clip gain
     
    #z:: send {Alt}PAG{Tab}-1{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}-1{Tab}{Tab}{Enter}
    #9
    Brando
    Max Output Level: -47.5 dBFS
    • Total Posts : 2776
    • Joined: 2003/11/06 11:47:20
    • Location: Canada
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 09:14:31 (permalink)
    Hey Scook - That's pretty cool. I believe there have been some other users who use(d) either AutoHotkey or other generic macro/automation apps within SONAR. This looks good though and for those looking to automate routine functions that might be a stretch for CAL, the investment in time might be better spent learning/using this utility than CAL. If I am not mistaken, someone from Cake actually recommended something like this (Maybe this specific utility - I don't recall) -  a few years ago -
    Cheers Scook - you are a wealth of knowledge and information.

    Brando
    Cakewalk, Studio One Pro, Reaper
    Presonus Audiobox 1818VSL
    ASUS Prime Z370-A LGA1151, 32GB DDR4, Intel 8700K i7, 500 GB SSD, 3 x 1TB HDD, Windows 10 Pro 64
    #10
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 10:10:46 (permalink)
    It was pretty easy to install and create the script. CAL is pretty much over. I still use it for some simple stuff but a macro script tool like AutoHotkey looks like the future of my SONAR programming. Of course, CAL scripts can be launched using AutoHotkey (although I have yet to test it).
    #11
    Brando
    Max Output Level: -47.5 dBFS
    • Total Posts : 2776
    • Joined: 2003/11/06 11:47:20
    • Location: Canada
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 10:45:26 (permalink)
    I agree it looks great - and there are user utilities including a GUI generator, & script recorder. Nice bonus might be the extension of macro capability to other applications outside of SONAR. Pretty cool. Thanks for discovering it Scook - great find.

    Brando
    Cakewalk, Studio One Pro, Reaper
    Presonus Audiobox 1818VSL
    ASUS Prime Z370-A LGA1151, 32GB DDR4, Intel 8700K i7, 500 GB SSD, 3 x 1TB HDD, Windows 10 Pro 64
    #12
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 11:01:42 (permalink)
    You are welcome. I cannot take credit for the discovery though, like you I recall others recommending it, one in the last month or so. I had a copy laying around for a while but did not look at it until this morning. It was easy to knock out the gain script. I like that it will extend SONAR using the windows key, a key modifier not used in SONAR. I just installed the MacroCreator.
    #13
    Cactus Music
    Max Output Level: 0 dBFS
    • Total Posts : 8424
    • Joined: 2004/02/09 21:34:04
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 11:15:28 (permalink)
    I'm going to give your hot key trick a try as the lack of these (wave editing) sort of tools disappoints me with Sonar. 
     
    In my wave editor and it's sister DAW you open the Gain dialog which is a simple little box. Then you set the amount up or down, this gain adjustment remains until you close the dialog box. You zoom in and highlight and apply. So quick and easy to run trough a wave file and knock the peaks off. All with a few mouse drags and clicks. It will also tell you what the Max level of the highlighted clip is.
    It seems like it would not be hard to program this in. 
    This is my one and only feature request. 

    Johnny V  
    Cakelab  
    Focusrite 6i61st - Tascam us1641. 
    3 Desktops and 3 Laptops W7 and W10
     http://www.cactusmusic.ca/
     
     
    #14
    stoutlyric
    Max Output Level: -88 dBFS
    • Total Posts : 135
    • Joined: 2006/02/02 20:43:48
    • Status: offline
    Re: CAL and Audio Data 2014/06/06 12:53:42 (permalink)
    Ive been using cal and it really helps. The cal stuff I'm doing is really simple midi editing but you can bind it to a keyboard shortcut and save a ton of time.

    Long live CAL!
    #15
    mudgel
    Max Output Level: 0 dBFS
    • Total Posts : 12010
    • Joined: 2004/08/13 00:56:05
    • Location: Linton Victoria (Near Ballarat)
    • Status: offline
    Re: CAL and Audio Data 2014/06/07 05:04:46 (permalink)
    I remember using AutoHotkey but after moving from Win XP I just didn't reinstall it and like so many utilities just didn't keep up with it. Just checked and I have a version in my archives from Feb 2004 v 1.0.01.
    Must download the latest and check it out.

    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.
    #16
    Jump to:
    © 2025 APG vNext Commercial Version 5.1