Yes it's a bug. I only tested with the built-in samples in the soundfiler-help 
patch which are 44.1kz and as Lucas discovered, higher values are truncated 
leading to incorrect numbers.

Here is a tentative fix: https://github.com/pure-data/pure-data/pull/240 
<https://github.com/pure-data/pure-data/pull/240>

> On Oct 27, 2017, at 8:21 PM, [email protected] wrote:
> 
> Date: Fri, 27 Oct 2017 16:47:09 +0200
> From: Philipp Schmalfuß <[email protected] 
> <mailto:[email protected]>>
> To: [email protected] <mailto:[email protected]>
> Subject: [PD] soundfiler issues
> Message-ID: <[email protected] 
> <mailto:[email protected]>>
> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
>       format="flowed"
> 
> dear list,
> 
> i ran into some trouble with the new features of [soundfiler]  
> recently. It does not output the samplerate of .wave files correctly  
> (haven't tried .aiff yet). With 96kHz files i got 30464, with 192kHz  
> files 60928. Iemlib/soundfile_info did gave me the correct samplerate  
> of the same soundfiles. So, is this a bug?



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



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to