[PD] loading an .aif file into an array

Andrew Faraday jbturgid at hotmail.com
Mon May 24 09:23:19 CEST 2010


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 at hotmail.com
To: pd-list at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100524/a14dbd2b/attachment.htm>


More information about the Pd-list mailing list