<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>It is, by default 4000000. You can load larger files by changing the message to soundfiler from:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>[read -resize myfile.wav sound(</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent;
 font-style: normal;"><span>to</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>[sound resize 8000000;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>read myfile.wav sound(</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style:
 normal;"><span>In short, you resize a table manually to some number of samples (here it's 8000000) before you load a soundfile into it.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I believe there is an object called soundfileinfo~ or something that gives you the length of a soundfile...but I can't remember off the top of my head what it's called or where it is in pd-extended</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Alternatively, if you don't want to use the soundfile as though it were a table (i.e. if you
 just want to play the file) it's better to use [readsf~]</span></div><div></div><div><br></div><div>Ed</div><div><br></div><div>Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!<br>http://sharktracks.co.uk/<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Ingo &lt;ingo@miamiwave.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> 'romain.darracq' &lt;romain.darracq@laposte.net&gt;; 'Ingo' &lt;ingo@miamiwave.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> pd-list@iem.at <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, 13 January 2013,
 14:31<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] Help to load sound<br> </font> </div> <br>There is a size limit for the file. I'm not sure whether this is 4000000 or<br>anything else. Sombody else here might know.<br><br>Ingo<br><br><br><br>&gt; Thank for your answer, I will trying to modificate my own error but now<br>&gt; the error message say:<br>&gt; <br>&gt; error: soundfiler_read: truncated to 4000000 elements<br>&gt; ... you might be able to track this down from the Find menu.<br>&gt; <br>&gt; ....when I load sound with [soundfiler] and [tabread~ sound].....<br>&gt; <br>&gt; I hope that my message is enough clear to permit you to understand what's<br>&gt; wrong????<br>&gt; <br>&gt; Thanks to take the time to help me.<br>&gt; <br>&gt; Romain<br><br><br>&gt;&gt; Message du 13/01/13 12:47<br>&gt;&gt; De : "Ingo" <br>&gt;&gt; A : "'romain.darracq'" , <a ymailto="mailto:pd-list@iem.at"
 href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>&gt;&gt; Copie à : <br>&gt;&gt; Objet : AW: [PD] Help to load sound<br>&gt;&gt;<br>&gt;&gt; Try to use a name and path without spaces.<br>&gt;&gt; Try the most simple path first like e.g. "C:\\Shake.mp3".<br>&gt;&gt; <br>&gt;&gt; Out of the objects that you named only [mp3play~] can play back MP3s.<br>&gt;&gt;Make sure it is a "MP3 layer III" - otherwise it won't work.<br>&gt;&gt; You could convert it to WAV for the others to be able to read it.<br>&gt;&gt; <br>&gt;&gt; Ingo<br>&gt; <br>&gt; <br>&gt; <br>&gt; Hello everybody,<br>&gt; I'm starting pd, and i have always the same matter when I want to load a<br>&gt; sound, pd say me: (error: dsp: C:/Documents and<br>&gt; Settings/Romain/Bureau/matrice perso/SON/musikkk/Remko Scha - (1982)<br>Machine<br>&gt; Guitars/01 Shake.mp3: unknown or bad header format) and for all format<br>&gt; althrough i used [readsf~] or [mp3play~] or [soundfiler]
 objects........<br>&gt; I have an other error's message :(error: endianness neither 'b' nor 'l'<br>&gt; ... you might be able to track this down from the Find menu.) ?????<br>&gt; If someone can help me ??<br>&gt; <br>&gt; Thanks<br>&gt; <br>&gt; Romain<br>&gt; <br>&gt; <br><br><br><br><br><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>