<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How do you bring in a wav file?]]></title><description><![CDATA[<p>This is prob really simple but how do you bring in a wav file into a patch so that you can use the patch to process the file. I'm using a crosss-synthesis patch to play a soundfile but I don't know how to get the sound file in. Any help? Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:48:25 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/18.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Apr 2004 14:19:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do you bring in a wav file? on Thu, 22 Apr 2004 14:19:45 GMT]]></title><description><![CDATA[<p>This is prob really simple but how do you bring in a wav file into a patch so that you can use the patch to process the file. I'm using a crosss-synthesis patch to play a soundfile but I don't know how to get the sound file in. Any help? Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file</guid><dc:creator><![CDATA[liz]]></dc:creator><pubDate>Thu, 22 Apr 2004 14:19:45 GMT</pubDate></item><item><title><![CDATA[Reply to How do you bring in a wav file? on Thu, 22 Apr 2004 14:46:36 GMT]]></title><description><![CDATA[<p>hello liz<br />
<br />
first of all you have to create a table (an array)<br />
table sound-file-array 256 for example<br />
next you have to load a file in that table . to do that you have to use the soundfiler object.<br />
you could do that to choose the file you want to load.:<br />
<br />
bang (message type) <br />
'<br />
openpanel (object type)<br />
'<br />
-read -resize &amp;#036;1 sound-file-array (message type)<br />
'<br />
soundfiler <br />
<br />
that's all. soundfiler 's outlet outputs the filesize. <br />
<br />
if you want to use stereo samples , you have to create two arrays and change the message sent to the soundfiler in that way:<br />
<br />
-read -resize &amp;#036;1 sound-file-array.L sound-file-array.R (message type)<br />
<br />
(it could also be -read -resize &amp;#036;1 table1 table2 )<br />
<br />
at least using that way you 'll be limited to 4mb files . if you want to load huge samples , you should rather send this:<br />
-read -maxsize 1e07 &amp;#036;1 sound-file-array (message type)<br />
<br />
that 's the way to do that.<br />
<br />
but if you want to apply some fx in realtime you could stream a file directly from the harddisk , using sfplay from zexylib.<br />
<br />
to output the file you'll have to use sfrecord , i don't recommend tabwrite for such a function . in my opinion it's easier to bounce the file directly to the hdd. else you have to take care of the filesize and to do a mechanism to record sound in a table and after to export it to the hdd.<br />
<br />
let me know if it does the job the way you want.<br />
<br />
see ya</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/2</guid><dc:creator><![CDATA[mobil12]]></dc:creator><pubDate>Thu, 22 Apr 2004 14:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to How do you bring in a wav file? on Fri, 23 Apr 2004 09:25:00 GMT]]></title><description><![CDATA[<p>OR -<br />
<br />
just open the help menu, and look for a sampler, <br />
<br />
cut and paste the sampler into one of your own patches, and load the sample into that.<br />
<br />
voila!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/3</guid><dc:creator><![CDATA[hardoff]]></dc:creator><pubDate>Fri, 23 Apr 2004 09:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to How do you bring in a wav file? on Fri, 23 Apr 2004 09:57:56 GMT]]></title><description><![CDATA[<p>Or-<br />
<br />
you could buy a s6000 sampler akai.<br />
<br />
just kiddin...<br />
<br />
as hardoff said (in a way...) you should have a look at the audio exemples folder in the doc folder. look for all patch named sampler.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/18/how-do-you-bring-in-a-wav-file/4</guid><dc:creator><![CDATA[mobil12]]></dc:creator><pubDate>Fri, 23 Apr 2004 09:57:56 GMT</pubDate></item></channel></rss>