-
-
hanswillem
Hi all.
I was wondering if I can use a .wav file as a wavetable in PD Vanilla? I have a patch in Max Msp that does this, and I want to translate it to PD to use with a Raspberry Pi, but I can't figure out how to do this.
Grtz,
HW -
-
hanswillem
Ah, I found a solution!
The shell script converts a .wav file to an .mp3 file using lame. I installed lame using homebrew, and that puts it in the /usr/local/bin folder.
the the script works if you run it from the terminal, but it returns an error if some other app tries to execute it.
If, in the script, you provide the full path to lame, the execution of the script from pd works as expected.
-
hanswillem
Thanks for the reply!
I tried the things you said. I gave the script permissions and I put the full path to the script in the pd message. But still no luck. The patch now looks like this:
[full/path/script.sh(
|
[shell]By the way, print STDOUT prints nothing for me.
Regards,
Hans Willem -
hanswillem
Hi,
I am trying to run a shell script in osx from pd using the shell object. The shell script works perfectly fine in the terminal, but nothing happens when I try to execute the script from pd using the shell object. Does anybody know what I am doing wrong? Look at the patch below.
[ blabla/blabla/convert.sh' (
|
[ shell ]Regards,
Hans Willem -
hanswillem
Hi,
Thanks for the correction. It was a typo indeed
So does anybody know how to get a return from [shell] that I can parse?
-
hanswillem
Hi again,
I have some trouble getting this to work.
I now have this:[osascript -e 'get system volume']
|
[shell]
|
[print STDOUT]I think the shell object is correctly executing the shell script, but it doesn't return anything. Not when I use print STDOUT, nor when I use [symbol] or any other objects I tried. Am I missing something?
Thanks!
Hans Willem -
hanswillem
This is great! I really like the interface!
One question though, I want to put some patches I made on my laptop on my phone, but I can't find the mpd folder (using filetransfer) Am I doing something wrong? -
hanswillem
Hi all,
Is it posible to read out the system volume on OSX Mavericks?
Thanks in advance,
Hans Willem