Hi, I do not know the protocol to open an .aif file in MAC OSX 10.6.4. My current attempts are using a message that reads: read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo. This message is connected to the soundfiler's input. The array I created is called Bajo. The thing is I dont know which size should the array have.
the underline between Bajo_fiesta is a space. Should it go, shouldnt it?It is pretty simple, but couldnt figure it out.Thanks
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
a few little problems with this Firstly, the flag is -resize, you've put the dash after read. Also there seems to be a space in your filename, that always makes it tricky to refer to. Also check capitalization is right. If the underscore's in your file name, it should be in the tag. so: [read -resize filename arrayname( There's also some bits to get used to with the filepath, I can't remember off hand but I think to start from your home directory the file path should start with a / . If the file is in the same directory as your patch you can always write it's name without a file path. Also you can simplify this sightly by using [openpanel] like this: [O] (gui bang)| [openpanel]|[read -resize $1 Bajo(|[soundfiler] By clicking the bang you should be able to navigate to your file and then load it to your array. Hope this helps Andrew From: cccadavid@hotmail.com To: pd-list@iem.at Date: Sun, 23 May 2010 18:25:08 -0500 Subject: [PD] loading an .aif file into an array
Hi, I do not know the protocol to open an .aif file in MAC OSX 10.6.4. My current attempts are using a message that reads: read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo. This message is connected to the soundfiler's input. The array I created is called Bajo. The thing is I dont know which size should the array have.
the underline between Bajo_fiesta is a space. Should it go, shouldnt it?It is pretty simple, but couldnt figure it out.Thanks
Get news, entertainment and everything you care about at Live.com. Check it out!
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
On 2010-05-24 01:25, Camilo Cadavid Corredor wrote:
"read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo"
Pd currently has no escape mechanism to write symbols containing spaces. therefore, don't use filenames containing spaces (unless you are prepared to do some "trickery")
fgmasdr IOhannes
if you have tons of audio files and many contain spaces you can 'automate' the renaming process with some freeware, on the mac I use 'renamer4mac' which parses libraries even with nested folders and replaces spaces (if there are) by anything you chose.
On May 25, 2010, at 8:09 PM, IOhannes m zmoelnig wrote:
On 2010-05-24 01:25, Camilo Cadavid Corredor wrote:
"read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo"
Pd currently has no escape mechanism to write symbols containing spaces. therefore, don't use filenames containing spaces (unless you are prepared to do some "trickery")
fgmasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Tue, 25 May 2010, jurgen wrote:
if you have tons of audio files and many contain spaces you can 'automate' the renaming process with some freeware, on the mac I use 'renamer4mac' which parses libraries even with nested folders and replaces spaces (if there are) by anything you chose.
I have a shell script named "underscorify" :
for z in *; do a=$(echo $z | sed 's/ /_/'g) mv "$z" "$a" done
I've used it for about ten years.
You can either paste it in the terminal, or put it in a file that you run from the terminal. You first have to "cd" to the folder where you want to do this.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Tue, 25 May 2010, IOhannes m zmoelnig wrote:
On 2010-05-24 01:25, Camilo Cadavid Corredor wrote:
"read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo"
Pd currently has no escape mechanism to write symbols containing spaces. therefore, don't use filenames containing spaces (unless you are prepared to do some "trickery")
"list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1"
as long as all spaces are single and are not at the beginning nor end.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On May 25, 2010, at 4:40 PM, Mathieu Bouchard wrote:
On Tue, 25 May 2010, IOhannes m zmoelnig wrote:
On 2010-05-24 01:25, Camilo Cadavid Corredor wrote:
"read- resize camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo"
Pd currently has no escape mechanism to write symbols containing spaces. therefore, don't use filenames containing spaces (unless you are prepared to do some "trickery")
"list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1"
as long as all spaces are single and are not at the beginning nor end.
This is essentially the method I use in rc-filename, which formats a filename into a single symbol, spaces or not.
In this case, you'd use
[camilocadavid/Secuencias/Bajo_fiesta1 80.aif < | [rc-filename] | [read -resize $1 Bajo<
Dan Wilcox danomatika.com robotcowboy.com
On Tue, 25 May 2010, Dan Wilcox wrote:
In this case, you'd use
[camilocadavid/Secuencias/Bajo_fiesta1 80.aif < | [rc-filename] | [read -resize $1 Bajo<
woops, sorry. I didn't put the table name separately (ouch)
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On 2010-05-26 03:33, Mathieu Bouchard wrote:
On Tue, 25 May 2010, Dan Wilcox wrote:
In this case, you'd use
[camilocadavid/Secuencias/Bajo_fiesta1 80.aif < | [rc-filename] | [read -resize $1 Bajo<
woops, sorry. I didn't put the table name separately (ouch)
that's why its called "trickery"
mfgart IOhannes
On Wed, 26 May 2010, IOhannes m zmoelnig wrote:
On 2010-05-26 03:33, Mathieu Bouchard wrote:
On Tue, 25 May 2010, Dan Wilcox wrote:
In this case, you'd use [camilocadavid/Secuencias/Bajo_fiesta1 80.aif < | [rc-filename] | [read -resize $1 Bajo<
woops, sorry. I didn't put the table name separately (ouch)
that's why its called "trickery"
What ? I can be making that mistake with anything at all, as long as I'm not even trying it and not proofreading myself at all.
It's called "trickery" ? Who calls it trickery ?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this an object? I still havent been able to upload an .aif file... I also tried the sugested:"list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1"well, after I created the 100 size Bajo named array, these comands didnt fit the file into the array. My main objective is to simply load an .aif to play with it.I appreciate your help. C. Cadavid C.
Date: Wed, 26 May 2010 09:13:23 -0400 From: matju@artengine.ca To: zmoelnig@iem.at CC: cccadavid@hotmail.com; pd-list@iem.at Subject: Re: [PD] loading an .aif file into an array
On Wed, 26 May 2010, IOhannes m zmoelnig wrote:
On 2010-05-26 03:33, Mathieu Bouchard wrote:
On Tue, 25 May 2010, Dan Wilcox wrote:
In this case, you'd use [camilocadavid/Secuencias/Bajo_fiesta1 80.aif < | [rc-filename] | [read -resize $1 Bajo<
woops, sorry. I didn't put the table name separately (ouch)
that's why its called "trickery"
What ? I can be making that mistake with anything at all, as long as I'm not even trying it and not proofreading myself at all.
It's called "trickery" ? Who calls it trickery ?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
On May 31, 2010, at 2:00 AM, Camilo Cadavid Corredor wrote:
[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this an object? I still havent been able to upload an .aif file... I also tried the sugested: "list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1" well, after I created the 100 size Bajo named array, these comands didnt fit the file into the array. My main objective is to simply load an .aif to play with it. I appreciate your help.
C. Cadavid C.
Sorry. I guess I didn't make it explicitly clear that you need to download the file I linked to your pd path. Then you can use it like in the example.
The file is attached.
Dan Wilcox danomatika.com robotcowboy.com
I understand, when I open the patch you attached, the rc-filename object the pd recognizes it, but in a new patch, it doesnt work. Where can I download it from? how? On May 31, 2010, at 5:08 AM, Dan Wilcox wrote:
On May 31, 2010, at 2:00 AM, Camilo Cadavid Corredor wrote:
[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this an object? I still havent been able to upload an .aif file... I also tried the sugested: "list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1" well, after I created the 100 size Bajo named array, these comands didnt fit the file into the array. My main objective is to simply load an .aif to play with it. I appreciate your help.
C. Cadavid C.
Sorry. I guess I didn't make it explicitly clear that you need to download the file I linked to your pd path. Then you can use it like in the example.
The file is attached. <rc-filename-help.pd> <rc-filename.pd>
Dan Wilcox danomatika.com robotcowboy.com
On Sun, 30 May 2010, Camilo Cadavid Corredor wrote:
[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this an object? I still havent been able to upload an .aif file... I also tried the sugested: "list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1" well, after I created the 100 size Bajo named array, these comands didnt fit the file into the array.
there was a mistake in those commands. Bajo is not to be part of the filename, so it should go in the last message box :
"list camilocadavid/Secuencias/Bajo_fiesta1 80.aif" | [l2s] | "read -resize $1 Bajo"
I thought I had corrected that already (and that someone else also did)
My main objective is to simply load an .aif to play with it.
If you want to load a file without any fuss you just don't put spaces in the name...
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
I did that. I took all the spaces from the file name.. On May 31, 2010, at 11:40 AM, Mathieu Bouchard wrote:
On Sun, 30 May 2010, Camilo Cadavid Corredor wrote:
[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this an object? I still havent been able to upload an .aif file... I also tried the sugested: "list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo" | [l2s] | "read -resize $1" well, after I created the 100 size Bajo named array, these comands didnt fit the file into the array.
there was a mistake in those commands. Bajo is not to be part of the filename, so it should go in the last message box :
"list camilocadavid/Secuencias/Bajo_fiesta1 80.aif" | [l2s] | "read -resize $1 Bajo"
I thought I had corrected that already (and that someone else also did)
My main objective is to simply load an .aif to play with it.
If you want to load a file without any fuss you just don't put spaces in the name...
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801