chain or script spectrogram track creation and view

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
Post Reply
acpopat
Posts: 2
Joined: Sun Oct 25, 2015 3:12 pm
Operating System: Please select

chain or script spectrogram track creation and view

Post by acpopat » Sun Oct 25, 2015 3:41 pm

Hello All, I'm new to audacity and have a question I wasn't yet able to find an answer to by searching the forum (may have missed it).

I'm using audacity's spectrograms to view formant trajectories to help vowel pronunciation as I learn French. Using greyscale and playing with the settings I get beautiful formant trajectories and am ready to visually compare my "est-ce que vous-avez du fromage" with Paris's best speakers.

I find myself repeatedly doing the following manual sequence:

- record a phrase
- normalize to remove DC gain
- duplicate the track twice (ctrl-c, click to blank area, ctrl-v ctrl-v)
- in first duplicate, pull down "Spectrogram" (it has the "S" underlined so there must be a keystroke?)
- in the second duplicate, pull down log spectrogram
- use the mouse to vertically enlarge the two spectogram views

I had hoped to use "Edit chains -> Add" to automate but only managed to insert the Normalize step -- can the whole
sequence be automated to a keystroke using chains somehow? If not, what's the most natural way to automate these steps? I'm comfortable with C++ and Lisp, and could pick up Python if needed. I anticipate using audacity quite a bit going forward so don't mind investing some time.

my linux release is : ubuntu 14.04, Audacity version 2.0.5, but am happy to compile from fresh source etc.

Thanks!
Ashok Popat
Menlo Park, CA

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

Re: chain or script spectrogram track creation and view

Post by Gale Andrews » Sun Oct 25, 2015 11:34 pm

Chains only adds effects and an optional export command. It isn't a macro recorder.

You could try for example https://code.google.com/p/autokey/ or https://github.com/polyethene/IronAHK or perhaps http://www.webupd8.org/2014/03/automate ... ionaz.html.


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

Post Reply