This has probably come up before, but I was just thinking that it would be pretty useful to know the samplerate of a file loaded via soundfiler. Wouldn’t the easiest/best solution be to simply output the samplerate out of a right outlet to compliment the sample length from the left outlet? I know externals like soundfile_info exist, but I was just running into issues of working with wav files with differing samplerates and this seems like the best update to vanilla to work with them, aside from manually resampling each file.
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On 2015-11-04 07:17, Dan Wilcox wrote:
to simply output the samplerate out of a right outlet to compliment the sample length from the left outlet?
in which case i would suggest having the 2nd outlet output a *message* that also contains the property-name. e.g. [samplerate 44100, frames 1000(
and probably extend that to all the info that is readily available anyhow: [filename /full/path/to/foo.wav, channels 2, ...(
fgnasdr IOhannes