max to shell
i’m having problems in finding a way to have max communicating to a unix shell.
I’d like to be able to send unix commands inside max.
i foud two externals (aka.shell and shell), but aka.shell seems to be very instable on Max 5 and the other one doesn’t work on intel macs.
How could i solve it?
I have [shell] working fine on an Intel machine. I’m not sure where I found my version, I think perhaps there’s a link on the Cycling share page.
I found the UB version here:
but i am tinkering a bit with it, and i notice someting wrong…
i’d like to burn a cd, but the commands which work on a mac terminal doesn’t work here…
this is the command that burns a cd
" drutil burn -audio myfolderwithaudiofile "
but when i connect this message to a [shell] object i get each time this error:
"the burn failed because of a medium write error"
what could this be?
here’s my little thing
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 372.3ocuTssaCCBC8YxWAhmSmBoocU6s8cLUMQBzFOQfn.n1tp9uuDRxRaWu tUsW.gsw9bN1v1.DIUuVXH3WvugQnsAHj2TiAT2YDofsNSxL9vHoNqUqHgst zNqTXsaJEs4fjxTKI34ctUtBPUGf+pzNikLaVNnV9dkHy1dsIzmhBwwQQsa8 qemGf6qsN8iQSIC4ts5sIuw3tfflkvajJJwp5L1mOqXsGMjxJPY6stPqrF3S O8nw0.69HFclmKwIMaiStDwR1ujJVgujjWq.l7zTN5WP4BgwvVJ9Am4UNKHw otJEdDywAMtXyBsjKpVA1bukEfTb199PO+VTr3qoXzNgiN0eZ1okrw2qj8.m RL4Bo77xQ3wOEdHCRzme1OHM4RCRz6UUh2SU7IjHA0w+J3wTi8CkJi1Uk0y5 tdBd.VbgwBJlEp+xXHF5AwjCbtv6tWTJ.dot9QXGDvyOYa6VQTS0nWAQS+2Q z0znj+.hpOrK3KfYUzkE -----------end_max5_patcher-----------
ok, i found that it was simply my optical lens! it seems that my mac started misbehaving like, *the same moment* i tried to burn a cd with max [shell]. Digital mysticism.
now I discovered that at least *once* it did work with Max… so i assume it will *always* when i clean my lenses.
by the way… i found a little glitch i cannot resolve. hope someone know what it is, for i have no experience with shell at all…
The problem is that if it doesn’t burn the cd the first time i send (drutil burn etc… ) – after it gives me that error and ejects the cd – it will never accept the same command again.
I put a new blank cd, and nothing happens if i send that command again…
So, do you think is there some command i should use before, or after sending a (drutil burn -audio myfolder)?
UPDATE: to make it simple: Max is freezing. it simply stops responding
update: maybe this is helpful for someone. the issue is partially solved…
the problem is this: when a cd fails to burn, drutil (and draudiotool: terminal commands) remain opened, waiting for someone to put a good cd inside. If that doesn’t happen it will never stop. Freezing Max until that is resolved. So… I’m trying to figure out a way to stop it anyway from Max but it’s only because now i’m in the fight (from terminal i just need to write "killall draudiotool" and "killall drutil" and the freezing is fixed)…. It’ll make no difference btw, because it only waits for a good cd to burn it.
Forums > MaxMSP