<div dir="ltr"><div><div><div><div><div><div><div><div>if you just use <span class="gmail-im">[open ../sound/bell.aiff( it will play just as dan said, a mono file only on the first channel.<br><br></span></div><span class="gmail-im">when you use <span class="gmail-im">[open ../sound/bell.aiff 0 200 4 2 b, 1(, also as dan said, you are forcing the format as which readsf~ will read the file, using the arguments just as the  -raw argument for the [soundfiler] object, so<br><br></span></span></div><span class="gmail-im"><span class="gmail-im">0 means onset<br></span></span></div><span class="gmail-im"><span class="gmail-im">200 means header size to skip<br></span></span></div><span class="gmail-im"><span class="gmail-im">4 means number of channels (!!, you are asking for 4 channels here)<br></span></span></div><span class="gmail-im"><span class="gmail-im">2 means number of bytes per channel<br></span></span></div><span class="gmail-im"><span class="gmail-im">b means big endian<br><br></span></span></div><span class="gmail-im"><span class="gmail-im">since you asked for 4 channels, you will get interleaved samples for each channel, hence the pitch up, since you are feeding 4 samples at once from the file to feed each channel, if the original is mono, you get 4x faster<br><br></span></span></div><span class="gmail-im"><span class="gmail-im"></span></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 8 de nov. de 2021 às 13:11, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 8 de nov. de 2021 às 13:02, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> escreveu:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>But I get the output in the 4 channels when I click  the message "open ../sound/bell.aiff 0 200 4 2 b, 1", which is one of the messages from the help file. It also plays the file faster and at a higher pitch. Tested on Pd 0.52-4, macOS 10.14.6</div></div></div></blockquote><div><br></div><div>for the record, I tried it in Purr DData and then it just doesn't play the at all and immediately sends the 'didit' bang message... I'm not sure but I think that's also not the correct behaviour<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>