Marcos Posted June 18, 2021 Share Posted June 18, 2021 Do you know how I can get a PDF manual or guide explaining the CAL scripts? Thank you! Link to comment Share on other sites More sharing options...
Glenn Stanton Posted June 18, 2021 Share Posted June 18, 2021 here's a couple of good references: https://www.cakewalk.com/Documentation?product=Cakewalk&language=4&help=Programming_CAL.01.html https://www.hexachord.net/cakewalk-cal-scripts/ https://bobbyprincemusic.blogspot.com/2014/10/cal-cakewalk-application-language.html 1 Link to comment Share on other sites More sharing options...
msmcleod Posted June 19, 2021 Share Posted June 19, 2021 The original server for this PDF has gone unfortunately.... luckily I've still got it on my server:https://msmcleod.co.uk/cakewalk/Cakewalk%20Application%20Language%20Programming%20Guide.pdf 2 2 Link to comment Share on other sites More sharing options...
Marcos Posted June 19, 2021 Author Share Posted June 19, 2021 (edited) Many Thanks to all! I read that CAL scripts are derivated from Lips languaje. The problem is that meaby is neccesary to create a manual for musicians since the complexity of this, is not a few. So I will try to underestand the sintaxis and them, make a manual more intelligible for musicians. For example if I want to make a particular procedure, random permutations etc, what specific sintax I have to put in the CAL program to do this. THANK YOU FOR ALL PEOPLE THAT RESPOND ME IN AN AFABILY WAY! Edited June 19, 2021 by Marcos Link to comment Share on other sites More sharing options...
Glenn Stanton Posted June 21, 2021 Share Posted June 21, 2021 On 6/19/2021 at 7:54 AM, Milton Sica said: What is the command to put the script name in the window header? do you mean in the CAL edit/view window so you can see the title bar with the currently being edited/viewed file? Link to comment Share on other sites More sharing options...
Glenn Stanton Posted June 21, 2021 Share Posted June 21, 2021 (edited) i do not know how to display the name once you've selected it. that would be nice though to be able to display the name of the file being executed. maybe add the name into the string of an input parameter? (do (dword off_set 10) (getInt off_set "HUMANIZE - Enter the offset percentage " 1 99) ) or a second input variable: (do (dword title 10) (dword off_set 10) (getInt title "HUMANIZE" 1 1) (getInt off_set "Enter the offset percentage " 1 99) ) another option: using a "message": message This CAL function allows you send output to your Cakewalk program’s status bar. (message <value> [ [value] … ]) i haven't tried this one but it might work as well. also more CAL info, perhaps something in the undocumented link would be the answer: Cakewalk Music Software - CAL programming information (bikexprt.com) http://www.bikexprt.com/calfiles/index.htm Edited June 21, 2021 by Glenn Stanton Link to comment Share on other sites More sharing options...
scook Posted June 21, 2021 Share Posted June 21, 2021 1 hour ago, Glenn Stanton said: This CAL function allows you send output to your Cakewalk program’s status bar. The last version of SONAR with a status bar display was 8.5. Link to comment Share on other sites More sharing options...
Glenn Stanton Posted June 22, 2021 Share Posted June 22, 2021 18 hours ago, scook said: The last version of SONAR with a status bar display was 8.5. thanks. i never tried that approach - just using inputs as labels. we definitely need a CAL update - JavaScript would be really good, or Ruby ? Link to comment Share on other sites More sharing options...
scook Posted June 22, 2021 Share Posted June 22, 2021 30 minutes ago, Glenn Stanton said: we definitely need a CAL update - JavaScript would be really good, or Ruby I doubt much has changed since http://forum.cakewalk.com/Are-there-any-Band-Labs-plans-to-create-a-more-modern-script-language-m3778540.aspx The set of CbB users who want to program solutions is far outweighed by the set who just want to make music. The included scripts written in CAL were mostly replaced with built-in functions and MFX plug-ins. For most users, time is better spent learning these features than messing with CAL. If you want to use a different language to manipulate MIDI try AZLua. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now