<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>----- Original Message -----<br></div><div><div> &gt; From: Roman Haefeli &lt;reduzent@gmail.com&gt;<br> &gt; To: pd-list@iem.at<br> &gt; Cc: <br> &gt; Sent: Tuesday, February 19, 2013 5:13 PM<br> &gt; Subject: Re: [PD] using puredata to play playlist gapless<br> &gt; <br>&gt; On Die, 2013-02-19 at 13:55 -0500, Hans-Christoph Steiner wrote:<br>&gt;&gt;  Pd will play all files gapless, according to their file length.&nbsp; The <br>&gt; 'gap'<br>&gt;&gt;  problem mostly refers to the MP3 format, which encodes the audio in fixed<br>&gt;&gt;  frame length.&nbsp; So if your song doesn't fit neatly into a multiple of <br>&gt; the fixed<br>&gt;&gt;  frame length, you get a gap, i.e. the leftover part of the last frame is<br>&gt;&gt;  filled with silence.&nbsp; That's a problem with the MP3 format that <br>&gt; basically all<br>&gt;&gt;  other
 file formats don't have.<br>&gt; <br>&gt; This is nitpicking, but actually most ways to play a sound files in Pd<br>&gt; are not totally gapless, unless the file lengths are exactly a multiple<br>&gt; of 64 samples. This is the case with [readsf~ ], but also with<br>&gt; [tabplay~]. Both start only on block boundaries. The only way (I<br>&gt; currently can think of) to play absolutely gaplessly is to use<br>&gt; [vline]/[tabread~ ] construct.<br><br>What about readsf~ inside a subpatch with [block~ 1]?<br><br>-Jonathan<br><br>&gt; <br>&gt; Roman<br></div> </div> </div></body></html>