Hi,<br><br>Pd says your wav file is at 22050 Hz? Maybe your Pd session is at the default rate (44100 if i m not mistaken), that&#39;s why it doesn&#39;t sound like it should. <br>Your patch looks fine to me, I mean it should work.<br>
<br>Pierre<br><br><div class="gmail_quote">2010/3/11  <span dir="ltr">&lt;<a href="mailto:meino.cramer@gmx.de">meino.cramer@gmx.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
(using Pd version 0.41.4-extended on Gentoo Linux (pd-overlay))<br>
<br>
I am trying to read a short soundfile (wav/aiff) from disc<br>
into an array and then play the data of the array into a [dac~].<br>
In the meanwhile to sounds like &quot;something&quot; but itt has nothing<br>
to do with the original file, which plays well via mplayer, vlc etc.<br>
<br>
<br>
    #&gt; file oneshot.wav<br>
<br>
gives me<br>
<br>
    oneshot.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 22050 Hz<br>
<br>
    #&gt; file oneshot.aiff<br>
<br>
gives me<br>
<br>
    oneshot.aiff: IFF data, AIFF audio<br>
<br>
Only reading the file via the last &quot;raw&quot; command fills the array with<br>
anything else then nulls. Both top commands seem to do nothing at all.<br>
<br>
I copied the stuff from different help entries.<br>
<br>
Attached you will find the according patch.<br>
<br>
What did I wrong with this?<br>
<br>
Thank you very much in advance for any help!<br>
mcc<br>
<font color="#888888"><br>
<br>
--<br>
Please don&#39;t send me any Word- or Powerpoint-Attachments<br>
unless it&#39;s absolutely neccessary. - Send simply Text.<br>
See <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br>
In a world without fences and walls nobody needs gates and windows.<br>
</font><br>_______________________________________________<br>
<a 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></blockquote></div><br>