[PD] hardcoded samplerate in audio example

Dan Wilcox danomatika at gmail.com
Sun Apr 30 10:26:06 CEST 2023


If possible, I would suggest leaving something from the "old way" as a reference, although it wouldn't be connected by default.

> On Apr 29, 2023, at 9:42 PM, pd-list-request at lists.iem.at wrote:
> 
> Message: 2
> Date: Sat, 29 Apr 2023 16:42:03 -0300
> From: Alexandre Torres Porres <porres at gmail.com <mailto:porres at gmail.com>>
> To: Patco <colet.patrice at gmail.com <mailto:colet.patrice at gmail.com>>
> Cc: Miller Puckette <mpuckette at cloud.ucsd.edu <mailto:mpuckette at cloud.ucsd.edu>>, pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
> Subject: Re: [PD] hardcoded samplerate in audio example
> Message-ID:
> 	<CAEAsFmgfTBtWc5sOX6QhNOiC9Xrg_d4Xeto=QUYCDSrvBgJHRQ at mail.gmail.com <mailto:CAEAsFmgfTBtWc5sOX6QhNOiC9Xrg_d4Xeto=QUYCDSrvBgJHRQ at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> Now that I actually had a real glimpse, I see that the original patch
> expects a message with the sound file name and its sample rate. Indeed this
> is an old practice before soundfiler could give you the sample rate, so
> this example can be modernized so as to not require the user to specify the
> sample rate of the file. Anyway, I already opened an issue and will take
> care of this in my docs branch.

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230430/ecc18bc7/attachment.htm>


More information about the Pd-list mailing list