Jump to content
Marcos

CAL manual or guide in PDF

Recommended Posts

Do you know how I can get a PDF manual or guide explaining the CAL scripts? Thank you!

Share this post


Link to post
Share on other sites
Posted (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 by Marcos

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
58 minutes ago, Glenn Stanton said:

do you mean in the CAL edit/view window so you can see the title bar with the currently being edited/viewed file?

This title. The title that identifies which CAL script is being executed.

image.png.2f9c328beaf519d04c6a63355d49973c.png

Share this post


Link to post
Share on other sites
Posted (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)
)

image.png.4112c6129dc6604129d6b43333741287.png

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 by Glenn Stanton

Share this post


Link to post
Share on other sites
1 hour ago, Glenn Stanton said:

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)
)

image.png.4112c6129dc6604129d6b43333741287.png

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

 

Thank you very much !
That's how I'm using it.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 🙂 

Share this post


Link to post
Share on other sites
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.

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...