<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
a few little problems with this<div><br></div><div>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:</div><div><br></div><div>[read -resize filename arrayname(&nbsp;</div><div><br></div><div>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:</div><div><br></div><div>[O] (gui bang)</div><div>|<br>[openpanel]</div><div>|</div><div>[read -resize $1 Bajo(</div><div>|</div><div>[soundfiler]</div><div><br></div><div>By clicking the bang you should be able to navigate to your file and then load it to your array.&nbsp;</div><div><br></div><div>Hope this helps</div><div><br></div><div>Andrew</div><div><br><hr id="stopSpelling">From: cccadavid@hotmail.com<br>To: pd-list@iem.at<br>Date: Sun, 23 May 2010 18:25:08 -0500<br>Subject: [PD] loading an .aif file into an array<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>


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.&nbsp;<div><br></div><div>the underline between Bajo_fiesta is a space. Should it go, shouldnt it?</div><div>It is pretty simple, but couldnt figure it out.</div><div>Thanks</div>                                               <br><hr>Get news, entertainment and everything you care about at Live.com. <a href="http://www.live.com/getstarted.aspx ">Check it out!</a></div>                                               <br /><hr />Get a free e-mail account with Hotmail. Sign-up now. <a href='' target='_new'></a></body>
</html>