hi all,
i have many recording done with timemachine in wav format. i think they all in 32-bit IEEE float format. pd got no problem to load them with soundfiler or readfs~ but i cannot used the iemlib external called soundfile_info to have information on:
is there an alternative or i have to convert all my samples to 24-bit? thanks! pat
On Sun Dec 31, 2006 at 02:40:57AM -0500, patrick wrote:
hi all,
i have many recording done with timemachine in wav format. i think they all in 32-bit IEEE float format. pd got no problem to load them with soundfiler or readfs~ but i cannot used the iemlib external called soundfile_info to have information on:
- samplerate in Hz
- sound-data-lenght in samples
- header-size in bytes
- number of channels
- sample-resolution in bytes
- little or big
is there an alternative
InfoAudio and sndfile-info .. part of AFSP and libsndfile
or i have to convert all my samples to 24-bit?
thanks! pat
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Sun Dec 31, 2006 at 02:35:55PM -0500, patrick wrote:
InfoAudio and sndfile-info .. part of AFSP and libsndfile
those tools cannot be use inside pure data (as external) right? is there a solution inside pure data to get all the information about a WAV in 32-bit IEEE float format?
you can call either one from [popen] or [shell]. porting them to an external shoul be fairly trivial (mostly copy/paste). i did something similar for LADSPA's 'listplugins' plugin-analyzer and i don't know much C...it even ran w/o segfaults :)
On Sun, 31 Dec 2006, patrick wrote:
InfoAudio and sndfile-info .. part of AFSP and libsndfile
those tools cannot be use inside pure data (as external) right? is there a solution inside pure data to get all the information about a WAV in 32-bit IEEE float format?
Could you please send me a small floating-point WAV so that I can tell you what would be needed for supporting it?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
hi mathieu,
you can download it: http://www.workinprogress.ca/pd/32float.wav
here's the information about it using libsndfile (tools):
Version : libsndfile-1.0.12
========================================
File : 32float.wav
Length : 465528
RIFF : 465520
WAVE
fmt : 16
Format : 0x3 => WAVE_FORMAT_IEEE_FLOAT
Channels : 2
Sample Rate : 44100
Block Align : 8
Bit Width : 32
Bytes/sec : 352800
fact : 4
frames : 58180
PEAK : 24
version : 1
time stamp : 1167715532
Ch Position Value
0 43675 0.97724
1 30217 0.93968
data : 465440
End
Sample Rate : 44100 Frames : 58180 Channels : 2 Format : 0x00010006 Sections : 1 Seekable : TRUE Duration : 00:00:01.319 Signal Max : 0.97724 (-0.20 dB)
that would be neat to add this format to soundfile_info. patrick