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!


Get a free e-mail account with Hotmail. Sign-up now.