Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7?

Author
re_PGC
Max Output Level: -90 dBFS
  • Total Posts : 27
  • Joined: 2010/04/06 11:00:37
  • Location: Mexico
  • Status: offline
2011/03/29 11:10:21 (permalink)

Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7?

I had tested it even in sonar 7 under 64 bit version of WIN7, 3 different computers one brand new with OS factory pre-installed, the others always a fresh install  after a fresh OS install. always crash.

I seem to remember it worked before, with sonar 8.5, 32 bis Win Vista.

The only version that runs is cakewalk PRO (version 4 old windows version) (under win 7)

The "bug report web page" was down, Is it up again?
The link is?

Thanks.
#1

22 Replies Related Threads

    HumbleNoise
    Max Output Level: -46 dBFS
    • Total Posts : 2946
    • Joined: 2004/01/04 12:53:50
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/29 20:07:17 (permalink)
    CAL works in my system - see below.

    Humbly Yours

    Larry

    Sonar X2 x64
    MAudio 2496
    Yamaha MG 12/4
    Roland XV-88
    Intel MB with Q6600 and 4 GB Ram
    NVidia 9800 GTX
    Windows 7 x64 Home Premium
    #2
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 11:23:55 (permalink)
    Thanks Larry, would you please be so kind to test the following in your system, thanks in advance. (Just to be sure the problem is mine not CW. it seems it crash somewhere between EditCopy40 & EditPaste40)
    It its a single track (piano solo) should end with a file with 3 identical tracks :
    -------------------------------------------------------------------------------------
    ; Copy track 0 to tracks 1 and 2 (track 1 to tracks 2 and 3)

    (do
        (TrackSelect 1 0)
        (EditCopy40 1 1 1 0 0 0 )
        (EditPaste40 0 1 1 1 46825 0 1 1 1 0 0 0 0 0 )
        (EditPaste40 0 2 1 1 46825 0 1 1 1 0 0 0 0 0 )
        (TrackSelect 0 0)

        (FileSave)
    )
    --------------------------------------------------------
    #3
    HumbleNoise
    Max Output Level: -46 dBFS
    • Total Posts : 2946
    • Joined: 2004/01/04 12:53:50
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 16:06:58 (permalink)
    Sorry re_PGC but I don't know enough about CAL to run the script you've described. I simply ran a pre-defined script within X1 to come to the conclusion that CAL worked in X1, and sorry again but not very interested in learning. Perhaps someone else will know more and be of more help.

    Humbly Yours

    Larry

    Sonar X2 x64
    MAudio 2496
    Yamaha MG 12/4
    Roland XV-88
    Intel MB with Q6600 and 4 GB Ram
    NVidia 9800 GTX
    Windows 7 x64 Home Premium
    #4
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 16:57:05 (permalink)
    Yes, that CAL code crashes for me.

    Cheers, Peter.


    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #5
    codamedia
    Max Output Level: -67 dBFS
    • Total Posts : 1185
    • Joined: 2005/01/24 09:58:10
    • Location: Winnipeg Canada
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 17:42:17 (permalink)
    I tried a few of the Sample Cal files and they were fine, but this one crashed.

    I suggest you fill out the bug report, and include the Cal script so they can test it. Either they will find an error in the script, or they will confirm a bug.

    I tried this on 8.5, and it crashed there as well. Are you sure this script is OK? Have you tried running a stock CAL script to see if it works? (that would tell you right away if CAL is completely broken in your environment)

    FYI: When it crashes, it is creating a MINIDUMP file. In XP they are in "Documents and Settings\[username]\Application Data\Cakewalk\SONAR X1 Producer\MiniDumps" but I'm not sure where they are in Windows 7. 
     
    EDIT: Please note I am on a 32 bit environment, so it likely isn't just a 64 bit issue.

    post edited by codamedia - 2011/03/31 17:45:28

    Don't fix it in the mix ... Fix it in the take! 
     

    Desktop: Win 7 Pro 64 Bit , ASUS MB w/Intel Chipset, INTEL Q9300 Quad Core, 2.5 GHz, 8 GB RAM, ATI 5450 Video
    Laptop: Windows 7 Pro, i5, 8 Gig Ram
    Hardware: Presonus FP10 (Firepod), FaderPort, M-Audio Axiom 49, Mackie 1202 VLZ, POD X3 Live, Variax 600, etc... etc...
    #6
    RJN
    Max Output Level: -87 dBFS
    • Total Posts : 178
    • Joined: 2003/11/16 11:59:16
    • Location: Michigan
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 18:44:08 (permalink)
    re_PGC



    (do
       (TrackSelect 1 0)
       (EditCopy40 1 1 1 0 0 0 )
       (EditPaste40 0 1 1 1 46825 0 1 1 1 0 0 0 0 0 )
       (EditPaste40 0 2 1 1 46825 0 1 1 1 0 0 0 0 0 )
       (TrackSelect 0 0)

       (FileSave)
    )
    --------------------------------------------------------
    Isn't this: 
     
    EditPaste40 align link time track# one_track repetitions length new_clip events tempos meters markers add_mode split
     
    The format for that command?  So your line 4 would be:
    align: no
    link: yes
    time: "1"
    track#: 1
    one_track: 46825  [note: this has to be a 1 or 0 for "yes" or "no"]
    repetitions: 0
    length: 1
    new_clip: yes   (one clip)
    events: yes
    tempos: no
    meters: no
    markers: no
    add_mode: 0 = 'blend with "old"'
    split: no
     
    I can see why it wouldn't work as expected.


    Rob
    --------
    Core i7, 3.4 GHz, 16Gb RAM, Win 10 Pro (64-bit), 2 Tb HD, SONAR Platinum Producer , Roland Quad Capture, Alesis QS8 
    rjnorwich.worpress.com
    #7
    roughly
    Max Output Level: -81 dBFS
    • Total Posts : 479
    • Joined: 2003/12/28 22:34:02
    • Location: Chi town IL
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 21:43:02 (permalink)
    running win 7 x64 and sonar classic here -- cals work fine

    www.callthecow.com
    #8
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 23:17:40 (permalink)
    There is something wrong with the calling sequence for EditCopy40. If you remove all the arguments, a dialog box pops up, select as appropriate and hit OK, then it works.

    It also works with 4 arguments, but not 3 (gives a CAL error), or 5 (crashes).

    The argument lists for various CAL functions have changed over time. I thought the "40" referred to all versions from CAL 4.0 and up, and that 6 arguments was correct. Doesn't look like that is true any more. By the way, the CAL version is now 10.0 in X1.

    Cheers, Peter.


    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #9
    kelsoz
    Max Output Level: -86 dBFS
    • Total Posts : 235
    • Joined: 2007/06/16 19:09:06
    • Location: Pennsylvania
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 23:38:04 (permalink)
    CAL works on my system.  I can't spend time on your routine right now - but at least, I suggest, you run a stock CAL routine on your system to answer the question -
    Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7?

    for your system.

    Good luck.

    kelsoz

    Dell Desktop PC / Win7 HomePrem 64 / Core i5 760 (quad, 2.8GHz) / 8GB / 1 TB / E-MU1616 PCI+Realtek PC Audio / Event 6 Pro Monitors / BIAB 2012.5 / Sonar X3c/64 Bld 216
    #10
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/03/31 23:42:19 (permalink)
    Press CTRL-F1 and find out for yourself. 

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #11
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 11:13:54 (permalink)
    Thanks to all.
    • Yes a filed a request to CW support no answer yet.
    • Yes this one (and the others crashing) worked fine in all Cakewalk versions prior to Sonar (even now under win 7 64bits) (so I have installed this legacy version now, only for this porpoise)
    • It seems now I have enough info to try to fix it myself.
    • The F1 did no give me any clue, some messages here in the forum did, i'll try CTRL-F1 tomorrow.
    I'll try this weekend, tanks again.

    My personal opinion:

    Sonar should give normal error messages, not to crash!

    #12
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 11:20:50 (permalink)
    Many, many thanks, to RJN this is the kind of information I was looking for.

    I'll try this week end.

    What exactly "Bronze Member" means?

    (I am not a CAL expert, but uses this particular collection of macros a lot)
    #13
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 13:37:58 (permalink)
    Hi RJN
    Now is clear to me where the problem was (read below if you like) (not tested yet)
    Anyway I have one additional question:

    Where did you get the up to date documentation of this function?

    I have 2 PDF manuals (up to date, downloaded from CW) and the function reference does not match.
    Thanks in advance....
    --------------------------------------------
    EditPaste40 align link    [your reference]
    time         track#    one_track repetitions length   new_clip     events
    tempos    meters markers add_mode split

    EditPaste40                  [PDF manual reference]
    [<tToTime> <nToTrack> <bOneTrack> <nReps> <tRepLen> <bAsNewClips> <bEvents>
    <bTempos> <bMeters> <bMarkers>]

    [I actually have]
    EditPaste40         0 1 1 1 46825 0 1 1 1 0 0 0 0 0

    [Will change to:]
    EditPaste40  0 0    0 1 1 1 46825 0 1 1 1 0 0 0 0 0
     [Just added two zeros at begging, the last two also have new meaning]
    Meaning:

    EditPaste40 
    align: 0        [no]
    link: 0         [no]
    time: 0         [from start]
    track#: 1       [destination Trk 2]
    one_track: 1    [Yes?]
    repetitions: 1  [Only one]
    length: 46825   [the whole track, now makes sense]
    repetitions: 0  [none]
    new_clip: 1     [yes]
    repetitions: 1  [only one]
    events: 1       [yes]
    tempos: 0       [no, will change to 1, yes]
    meters: 0       [no, will change to 1, yes]
    markers: 0      [no, OK]
    add_mode 0      [no,'blend with "old", overwrite?] [was meters]
    split: 0        [no, may be OK?] [was markers]


    Regards...

    #14
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 15:18:43 (permalink)
    OK, OK. I found this one in the WEB, downloaded it & checked it, seems to be accurate, it even describes my problem (CAL version 6.0 syntax is different from version 4.0) WOW!
    ------------------------------------------------------------
    The Cakewalk Application Language Programming Guide for SONAR
    Version: 2.2
    Original author:D. Glen Gardenas
    Editing and adaptations:Ton Valkenburgh
    Review:Frans H.M. Bergen
    Febrary, 24, 2010

    http://www.MIDI-Kit.nl
    ------------------------------------------------------------------------
    Current link:

    Here...

    Regards...
    post edited by re_PGC - 2011/04/01 15:25:29
    #15
    pwal
    Max Output Level: -46 dBFS
    • Total Posts : 2909
    • Joined: 2004/08/24 07:15:57
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 15:54:21 (permalink)
    what a lovely thread

    list of stuff
    #16
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 18:59:09 (permalink)
    Bad news, I've tried during lunch time. It didn't work!

    For me it is enough. I have other options or workarounds

    Thanks to everybody that helped.

    Regards.


    #17
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/01 21:07:24 (permalink)
    Please re-read my post #9. EditCopy40 is the problem. Simplest fix is to remove the last two arguments, so there are only 4.  Then your CAL code should work. It does for me.

    Cheers, Peter.


    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #18
    RJN
    Max Output Level: -87 dBFS
    • Total Posts : 178
    • Joined: 2003/11/16 11:59:16
    • Location: Michigan
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/02 10:04:22 (permalink)
    Sorry, I've been away.  Your problem inspired me to write a script that takes whatever is selected (track or clip) and paste copies to multiple tracks starting at some empty track.  You select the number of copies and the track to start pasting.
    Here's what I came up with:  (I tested it in SONAR X1b and it worked as expected).  
    ;-------------------------------------------------------------------
    ;
    ;Paste whatever is selected to multiple tracks
    ;
    ;    - Something (clip or track) must be selected first
    ;    - Asks for 1st destination track and pastes copies starting at that track
    ;    - limit to 100 copies
    ;
    (do
        (include "need20.cal")      ; version 2.0 or higher is required
        (int nTrack 0)
        (int nCopies 1)
        (getInt nCopies "How many copies to paste?" 1 100)
        (getInt nTrack "Paste copies starting at Track #?" 1 256)
        (-- nTrack)              ; subtract 1 to get internal track #
        (dword dStart From)        ;store the selection start time
        (EditCopy40 TRUE TRUE TRUE TRUE)
        ; Set up Paste loop
        (int nCount 0)
        (while (< nCount nCopies)
            (do
                (EditPaste40 dStart nTrack TRUE 1 Thru TRUE TRUE TRUE TRUE TRUE)
                (++ nCount)
                (++ nTrack)
            )
        )
    )

    ;-----------------------------------------------------------------------------------------

    Rob
    --------
    Core i7, 3.4 GHz, 16Gb RAM, Win 10 Pro (64-bit), 2 Tb HD, SONAR Platinum Producer , Roland Quad Capture, Alesis QS8 
    rjnorwich.worpress.com
    #19
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/02 23:31:55 (permalink)
    Ok, Peter it worked as expected. finally.

    Tanks, this close the issue.

    Bad news, after using X1 just a few minutes after running my cal routines, it not only crashed. it made WIN7 to crash, (Blue screen).

    Don't know if related to CAL or not, bur enough is enough, thanks to all.

    Have a nice weekend.

    #20
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/02 23:33:46 (permalink)
    Nice program RJN, I'll try it under Cakewalk pro audio version 9.

    It surely wont make MS WIN7 64 bit to crash.

    Regards
    #21
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/03 00:01:38 (permalink)
    I'm glad the CAL is working for you. But the crash is not so good.
    Are you using the latest version - X1b? Many crashes were fixed in this version.

    Cheers, Peter.


    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #22
    re_PGC
    Max Output Level: -90 dBFS
    • Total Posts : 27
    • Joined: 2010/04/06 11:00:37
    • Location: Mexico
    • Status: offline
    Re:Is Cakewalk Application Language (CAL) Supported in Sonar under 64 bit WIN 7? 2011/04/04 18:06:40 (permalink)
    PeterMc


    I'm glad the CAL is working for you. But the crash is not so good.
    Are you using the latest version - X1b? Many crashes were fixed in this version.

    Cheers, Peter.


    No it is not working, Yes I have X1b.

    X1b is much better than X1, but the CAL Problems are the same,
    I am using "Cakewalk Pro Audio, Version 9" under WIN7 SP1 64bits, in order to run my CAL routines.

    Cheers,. Jorge. (re_PGC)

    #23
    Jump to:
    © 2024 APG vNext Commercial Version 5.1