window setting


I’m an audacity new user on Windows 7.
Thank you for this excellent application.

First, excuse me for my approximativ english…

I’m using audacity for bats calls identification.

My question :

Is it possible to “fix” settings for each file analysed ?
All the files I analyse are wave sounds (duration 5 secs) at recording frequence 192000 Hz
I would like to open each of them with spectrograms and sampling frequence divided by 10 (19200 hz) but i have to do this “handly” each time.

So, is it possible to have automatic settings presets (like a script or something else) and how might I do ?
I precise that I use Audacity “french” version…

Thank you.


I’m using recordings at 192000 Hz with spectrogram and sampling rate divided by 10 (so 19200 Hz) so i should see 9,6 Khz on my computer screen, BUT it’s not the case i only see 8,0 KHz. Why this difference ? Any explanation ? May it come from my computer screen (15"4) or from settings of Audacity ? How should i proceed ?

Thank you for your answers…

Pascal Guichard
Bats specialist.

What are you looking at?
Plot Spectrum? Audacity Manual
Audio track with Spectrogram view? Audacity Manual
Something else?

I have the french version so i don’t know what is “plot spectrum” or “audio track spectrogram” but i’ll look in the manual.
My purpose is to identify bat calls on spectrograms.

I found this on the manual

The default settings are:

Window size: 256
Window type: Hanning
Zero padding factor: 1
Minimum frequency (Hz): 0
Maximum frequency (Hz): 8000
Gain (dB): 20
Range (dB): 80
Frequency Gain (dB/dec): 0.

I would like to change

Maximum frequency (Hz): 8000

on to

Maximum frequency (Hz): 9600

Do you thik it’s possible ?

Thank you.

The theoretical maximum frequency for digital audio is half the sample rate. Thus for a sample rate of 44100 Hz (CD standard), the maximum possible frequency is 22050 Hz. In practice the maximum frequency is a little less than the theoretical maximum.

So, for a sample rate of 192000 Hz, the theoretical maximum frequency is 96000 Hz, and for a sample rate of 19200 Hz the maximum frequency is 9600 Hz.

I’m wondering why you need to reduce the sample rate from 192000 Hz to19200 Hz? :confused:

The setting that you are referring to are the default settings for the track Spectrogram view Audacity Manual
Those default settings can be changed in the Audacity Preferences:
“Edit menu > Preferences > Spectrograms”
See here for more information: Audacity Manual

Whether you change the default Spectrogram settings or not, you can zoom in or out vertically to change the frequency range that is shown. The maximum for the frequency range is half the track sample rate. One way to zoom in and out is to click on the vertical scale on the left end of the track. Left click to zoom in, right click to zoom out.
See here for more details about zooming tracks vertically: Audacity Manual

Also, you can make a track taller so that it is easier to see. Click and drag the bottom edge of the track up or down,

There is no point writing in the French Forum in English - you will not receive any answer. So I moved your post to the Windows board and merged with your existing topic which seems to be the same question.

Has Steve already answered your question? If you change the maximum frequency in Spectrograms Preferences to 9600 Hz, all tracks will by default display that maximum frequency. You have not resampled the track, only changed the maximum frequency the track can display.

If you always want to see tracks in Spectrogram view, change the “Default View Mode” in Tracks Preferences.


I knew that. For your information, bats sounds are high in frequence (usualy up to 20 khz) that’s why we record it at 192 KHz or more sometimes
Then in order to identify species or groups of species, we have to divide frequence by 10 (and multiply duration by 10 in the same time). We call it “time expansion”…
So then, when doing that, we can hear normally “unhearable” sounds and analyse it on computer.

Thanks for all the informations you gave, i managed to change some of the problems i had (reading directly as a spectrogram, “seing” 9.6 khz) and it’s verry usefull to me by saving time and energy loss :laughing:

The only thing I can’t do up to now is to have automaticaly the sample rate reduced when reading a new file.
In fact I can change sampling rate in the preferences but each time i open new file it appears at his own original sampling rate (192000 Hz)

Anyway Thanx for your help.

Great regards

Pascal Guichard

The Preference sets the project rate, not the rate at which files are imported. That is by design. Most people want to import a file at the sample rate it has, and with the project rate changing if necessary to match that of the file.

You would have to create or record a macro using for example AutoHotkey: macro and automation Windows scripting language or a GUI version like Mini Mouse Macro.


Ok you’re right thanx but I’m not able to use these sorts of programmation ? Would you ?

We can record a feature request for you. What is your request - a built-in macro recorder in Audacity?

Or an Import / Export Preferences option? Do you want to “set rate” to a specific rate, changing the track length? Or resample, not changing the length?

A macro recorder would be more widely useful, in my opinion.