Forums > MaxMSP

[shell] tweak for PC

February 1, 2014 | 3:17 pm

Hello users,

I would like to share one thing I found.
I was wandering how to execute other programs from within Max, in order to play with speech synthesis and other things. On PCs, we don’t have either [shell] nor [maxmbrola~].
I already found the ‘editwith’ message for [text] very practical. I understood that ‘editwith’ does something like sending a shell command to open a textfile with a text editor. Then I replaced the editor name by other programs names; I could open these programs.
Then, instead of a program file, I put a command file. I could execute the command file.
Then I realised that, with Max, you can create whatever command file you want by playing with the [text] object. Then, you use the [text] object with an ‘editwith’ message to execute the command file itself.
For example in my case, create a text file containing the text to be speeched; create a command file to launch the text-to-speech program with desired options; execute the command file with ‘editwith’; hear the result.
Has anybody played with that already? any experience to share?
thanks for reading.

February 1, 2014 | 4:16 pm

… you can even use ‘editwith’ with a shortcut file, letting you execute a command file without opening the shell window, by selecting the "run minimized" shortcut property.

Viewing 2 posts - 1 through 2 (of 2 total)