adambaker24601 | 25 Jul 2012 08:14
Picon

Less memory intensive resampling?

I wonder if it is possible to implement a less memory-intensive resampling algorithm? With 3 GB of ram on a
32-bit system, I'm unable to resample a 1209 second, 40 MB file (44100 Hz to 22050 Hz). I can do it in
Audacity, but it would be nice to have the option in Praat as well.

Adam

------------------------------------

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://uk.groups.yahoo.com/group/praat-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://uk.groups.yahoo.com/group/praat-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    praat-users-digest@... 
    praat-users-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
(Continue reading)

Paul Boersma | 25 Jul 2012 11:16
Picon
Picon
Favicon

Re: Less memory intensive resampling?

Op 25 jul. 2012, om 08:14 heeft adambaker24601 het volgende geschreven:

> > With 3 GB of ram on a 32-bit system, I'm unable to resample a 1209 second, 40 MB file (44100 Hz to 22050 Hz)

that 20-minute file can be 40 MB only in compressed format, probably MP3. A stereo file digitized in 16 bits
already takes up 213 MB on your disk. And yes, that is 852 MB in Praat's memory, where the samples aren't
quantized (for all practical purposes).

Resampling is done by means of Fourier transformation. Computing a spectrum costs exactly as much memory,
and yes, this is too much for the 32-bit edition, which can hold only 2048 MB in memory as an operating system restriction.

If you can split up the file in two parts at a silent moment, you can then concatenate the two results. But it
has to be a silent moment, otherwise you'll hear a click there.
_____

Paul Boersma
University of Amsterdam
Linguistics
Spuistraat 210, room 303
1012VT Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/

------------------------------------

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/
Yahoo! Groups Links
(Continue reading)


Gmane