Look into Media -> Audio Settings... , and change the sample rate to 22050.<br><br>Pierre<br><br><div class="gmail_quote">2010/3/11 <span dir="ltr"><<a href="mailto:meino.cramer@gmx.de">meino.cramer@gmx.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
thanks to you all for help!<br>
<br>
...how can I change the default samplerate?<br>
<br>
I found [samplerate~ ] but there is no help file<br>
for it (it least with my installation on Gentoo)?<br>
<br>
Best regards,<br>
mcc<br>
<br>
Pierre Massat <<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>> [10-03-11 18:04]:<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> Pd says your wav file is at 22050 Hz? Maybe your Pd session is at the<br>
> default rate (44100 if i m not mistaken), that's why it doesn't sound like<br>
> it should.<br>
> Your patch looks fine to me, I mean it should work.<br>
><br>
> Pierre<br>
><br>
> 2010/3/11 <<a href="mailto:meino.cramer@gmx.de">meino.cramer@gmx.de</a>><br>
><br>
> ><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 "something" but itt has nothing<br>
> > to do with the original file, which plays well via mplayer, vlc etc.<br>
> ><br>
> ><br>
> > #> file oneshot.wav<br>
> ><br>
> > gives me<br>
> ><br>
> > oneshot.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16<br>
> > bit, stereo 22050 Hz<br>
> ><br>
> > #> file oneshot.aiff<br>
> ><br>
> > gives me<br>
> ><br>
> > oneshot.aiff: IFF data, AIFF audio<br>
> ><br>
> > Only reading the file via the last "raw" 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>
> ><br>
> ><br>
> > --<br>
> > Please don't send me any Word- or Powerpoint-Attachments<br>
> > unless it'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>
> ><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -><br>
> > <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> ><br>
> ><br>
<br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Please don't send me any Word- or Powerpoint-Attachments<br>
unless it'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>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>