Detecting occurences of a sound

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Detecting occurences of a sound

Post by steve » Sat Nov 10, 2012 2:20 pm

Gale Andrews wrote: For example instead of the Preferences pane, there could be View > Adjust Spectrograms, which opened a dialogue box with the same dialogue that is in Preferences now. If that menu item was greyed unless there was an audio track in Spectrogram or Pitch view, then it might make more sense for changing the settings to update the window before closing the dialogue.
Or perhaps it could be an option in the Track drop down menu?

Rather than (as now):

Track drop down menu:

.......
Spectrogram
Spectrogram (log f)
.......


It could perhaps be:

.......
Spectrogram >
  • Spectrogram (lin f)
  • Spectrogram (log f)
  • Spectrogram Settings...
.......


Spectrogram Settings... could then bring up the spectrogram "preferences" window.
Because it can take a little while for the spectrogram view to be drawn, there should probably also be a progress bar in the window.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Detecting occurences of a sound

Post by Gale Andrews » Sun Nov 11, 2012 8:07 am

steve wrote:
Gale Andrews wrote: For example instead of the Preferences pane, there could be View > Adjust Spectrograms, which opened a dialogue box with the same dialogue that is in Preferences now. If that menu item was greyed unless there was an audio track in Spectrogram or Pitch view, then it might make more sense for changing the settings to update the window before closing the dialogue.
Or perhaps it could be an option in the Track drop down menu?
It's more discoverable perhaps, but has the confusion that all the drop-down items are track-specific. My guess as a user could be that I was changing the Spectrogram Preferences just for that track, but I don't think that's what you intend?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Detecting occurences of a sound

Post by steve » Sun Nov 11, 2012 8:14 am

Gale Andrews wrote:but has the confusion that all the drop-down items are track-specific. My guess as a user could be that I was changing the Spectrogram Preferences just for that track,
Good point.

I'm still not sure about it being in the "View" menu though as all other View menu items concern "looking at things now".
Perhaps as this concerns some "track settings" it could go in the "Tracks" menu?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Detecting occurences of a sound

Post by Gale Andrews » Sun Nov 11, 2012 8:28 am

steve wrote:I'm still not sure about it being in the "View" menu though as all other View menu items concern "looking at things now".
Perhaps as this concerns some "track settings" it could go in the "Tracks" menu?
Not quite all in "View" menu are "now" (History/Mixer Board/Karaoke) and "View" is more about "showing" things than "Tracks". It's hard to judge.

I wouldn't look in the "Tracks" menu for Spectrograms settings, but maybe new users would.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Detecting occurences of a sound

Post by steve » Sun Nov 11, 2012 8:57 am

Well the settings do affect all Spectrogram tracks, so it's logical and certainly a lot more convenient than in Preferences.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Detecting occurences of a sound

Post by pshute » Sun Nov 11, 2012 9:16 pm

Gale Andrews wrote:
steve wrote:Or perhaps it could be an option in the Track drop down menu?
It's more discoverable perhaps, but has the confusion that all the drop-down items are track-specific. My guess as a user could be that I was changing the Spectrogram Preferences just for that track, but I don't think that's what you intend?
I was confused for a minute because I could have sworn it was me who had suggested putting a spectrogram preferences item in the track dropdown (as opposed to the Tracks menu). Maybe I intended to but didn't get around to it.

I was going to suggest putting it there because I'd like to be able to have different parameters for each track. The settings in the Preferences menu could be the defaults for new tracks, but then one could adjust them for each track as necessary. This would allow me to duplicate a track, then examine, for example, the high frequencies on the original, but look for low frequency events in the duplicate. Both tasks require different settings to allow one to see those features well.

I wonder how many people use spectrograms at all. And of those, how many ever change the parameters, let alone want more than one setting per session?

For a long time I was convinced that Audacity didn't do spectrograms. I thought everyone called them sonograms, so it was only after a lot of searching that I stumbled onto them, and I imagine many users might never discover the track menu at all. The default parameters didn't work well for me, and I knew nothing about spectrograms, so for a while after that I assumed Audacity wasn't very good at spectrograms.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Detecting occurences of a sound

Post by Gale Andrews » Mon Nov 12, 2012 9:17 am

pshute wrote:I was confused for a minute because I could have sworn it was me who had suggested putting a spectrogram preferences item in the track dropdown (as opposed to the Tracks menu). Maybe I intended to but didn't get around to it.

I was going to suggest putting it there because I'd like to be able to have different parameters for each track. The settings in the Preferences menu could be the defaults for new tracks, but then one could adjust them for each track as necessary. This would allow me to duplicate a track, then examine, for example, the high frequencies on the original, but look for low frequency events in the duplicate. Both tasks require different settings to allow one to see those features well.
Yes, that's a good use case.

However I don't like the idea of opening the Preferences itself from the Track Drop-Down Menu. It would be fine if it opened a window that just contained the content of the Spectrograms Preferences so that it was clear you were only changing the settings for that track (which you lose when you close that track).


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Detecting occurences of a sound

Post by steve » Mon Nov 12, 2012 5:16 pm

Gale Andrews wrote:I don't like the idea of opening the Preferences itself from the Track Drop-Down Menu.
I agree that would be confusing. It would be a very quirky behaviour to have more than one place to open preferences.
A separate configuration window for spectrogram settings sounds like a better idea.

I can see benefits to both "per track" settings and "global" settings.
pshute has described the advantages for "per track" settings.

The advantage of global settings is that you might usually prefer to have a small "window size" (for faster screen redraw), but in a particular project or series of projects you may want a much larger "window size" (for finer frequency precision). If the setting is global then each track will open with the settings that you want.

There may even a case for saving the spectrogram settings as part of the project.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pshute
Posts: 181
Joined: Sat Feb 18, 2012 9:39 am
Operating System: Please select

Re: Detecting occurences of a sound

Post by pshute » Mon Nov 12, 2012 9:14 pm

steve wrote:
Gale Andrews wrote:I don't like the idea of opening the Preferences itself from the Track Drop-Down Menu.
I agree that would be confusing. It would be a very quirky behaviour to have more than one place to open preferences.
A separate configuration window for spectrogram settings sounds like a better idea.
I agree, and only envisaged having access to the spectrogram parameters from the Track Drop-down Menu, and that the menu item would be called "Spectrogram parameters".
There may even a case for saving the spectrogram settings as part of the project.
I hadn't thought about that, but it could be very confusing to carefully set up different overriding parameters for each track, only to find they have reverted back to the defaults next session.

How about this idea?
- The main spectrogram parameters section in Preferences includes new facilities for saving and restoring named sets of parameters. These are global, and are the defaults for new tracks.
- The Track Drop-down Menu has a new item called "Spectrogram parameters", which is a dropdown that allows you to select any of your saved sets of spectrogram parameters, including one called "Default". "Default" will be the only one initially available in new installs.
- The named set of parameters chosen for each track is saved with the project and is the selected set when you open the project next, even though the view will have reverted to "Waveform" (which I've noticed happens now, and is a good thing, given how slowly spectrograms can regenerate at times).
- The Track Drop-down Menu could also have an item called "Spectrogram parameters", which lets you fiddle around with your named sets of parameters. The main purpose of that would be to make the parameters easier to find for new users, and wouldn't really be necessary. I agree it could be confusing to have it available for each track, but performing global actions. It could be really confusing.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Detecting occurences of a sound

Post by Gale Andrews » Tue Nov 13, 2012 8:14 am

pshute wrote:The named set of parameters chosen for each track is saved with the project and is the selected set when you open the project next, even though the view will have reverted to "Waveform" (which I've noticed happens now, and is a good thing, given how slowly spectrograms can regenerate at times).
Yes I think it's OK to store a particular tracks' spectrogram settings in the project.

If you want a newly opened track (even if it's in a saved project) to open with a Spectrogram view, you can do that now (change "Default View Mode" in the Tracks Preferences). Even so I think I would prefer that preference only to control new tracks created for the first time, and for the view mode to be saved in the project.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply