Hi Sam, below is an example of how command line syntax works in Cantabile. This example puts a jpeg up on the screen with lyrics.
Line 1 - The exe file name with no extension followed by the actual file path and the complete filename with extension you wish to execute in double quotes. (hurt.jpg in example). If you just want to start the exe file with no target file then you just type the name of the exe with no extension. (in the example remove everything inside the double quotes including the double quotes and leave i_view32) If your presets are saved as a file then you should be able to execute them, if not then all you can do is call up the program and do manually.
Line 2 - The directory that the exe file you want to use to execute the chosen file. (the directory Antelope or preamp program is in) (must have!)
It depends when you save presets whether they are saved to files or held in the program itself as to the question about autoloading the presets.I don’t think you can call presets from the command line for your programs (not sure) but you could auto execute the 2 setup programs (sound card, preamp) and have them pop up for you to alter. You would have to save your changes manually. The Audio Engine only stops when you go to options I think. Sounds like you will have to experiment with your particular system to find out how the C3 audio engine reacts. Hope this gets you started. @brad may have other good advice on this as well. Regards
You’re welcome Sam! Just a follow up. I tried to do call my sound card mixer up and it worked fine but even though it allows me to save preset configurations to a file it won’t execute those files from the command line. So … I guess that it depends on the program as to whether it can do it.
I’d like to help, but my developping knowledge is too light i think…
in my case, i can launch the MP 32 preamp with the “trigger/execute external program” but the interface has a on/off button (see 1st image i’ve posted) and i don’t think CB3 can automate this task…, futhermore i can’t load any preset…
anyway i think it would be interesting to be able to manage a whole environnment with CB3. is it possible to go so deep, brad will tell us…
so, instead of helping i will ask for some help again (hope I’m not the only musician on this earth who can’t speak a complete computer language …):
I try to use the external tool, as brad told it could be useful in that case, but once again I’m fighting with the syntax:
You might need to enter a full path to the command. eg, instead of “launcher” try “C:\Program Files (x86)\MP32 Launcher\launcher.exe”.
Alternatively, click the right arrow next to command box, choose browse and locate the launcher program that way.
Also, don’t forget to check “Automatically run on startup” if that’s what you want - otherwise you’ll need to manually invoke the command from the Tools menus.
(I’m not familiar with this particular tool, so I’m guessing here)
The reason it’s not working in v3 is because it’s not automatically putting in the double quotes around the command and since it contains spaces it’s failing.
I’ve made some changes here though:
The browse button now automatically quotes selected files with spaces in them
I’ve removed the arguments field to make this more consistent with the trigger execute external program options. Arguments should now follow the command after a space.
There’s now a more meaningful error displayed if execution fails.
After having used this new change some on the song level I must say … well done! I didn’t know it but if the extension is associated with a program in the windows system (irfanview to jpg or notepad to txt for 2 instances) All I have to do is browse to the target file, select it and it comes up syntax ready. I don’t have to define the Startup Directory at all. Very fast and easy.