Strange spectrogram colors on selection

Help for Audacity 2.x.x on Windows.
Forum rules
ImageThis forum is for Audacity 2.x.x 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.
Post Reply
Piotr Grochowski
Posts: 155
Joined: Fri Jun 23, 2017 12:45 pm
Operating System: Windows 10

Strange spectrogram colors on selection

Post by Piotr Grochowski » Sat Apr 14, 2018 5:56 am

Look at the purple area circled by the thin, huge letter O: https://i.imgur.com/MpyG11m.png

Where did these colors come from? They're not from ImageCache.png.

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

Re: Strange spectrogram colors on selection

Post by steve » Sat Apr 14, 2018 9:46 am

The colour of a selection is a modification of the underlying colour. The non-selected colour comes from the image cache, and the colour of the selected region is a "shifted" version of that colour. In the case of "spectral selection", the colour values are "rotated". The colour transform is not currently a user option. A "transformation" is used rather than absolute colours so as to support multiple track colours. Track colour options are likely to be extended further in future versions of Audacity.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Piotr Grochowski
Posts: 155
Joined: Fri Jun 23, 2017 12:45 pm
Operating System: Windows 10

Re: Strange spectrogram colors on selection

Post by Piotr Grochowski » Sat Apr 14, 2018 12:01 pm

What do you mean by "Multiple Track Colours" for spectrograms? Will you implement more ways to render the selection, like using a transformation picture pair where the color of each pixel in the picture B is mapped to the colour of pixel at the same position in the picture A? That would be a universal solution that handles any color with customization.

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

Re: Strange spectrogram colors on selection

Post by steve » Sat Apr 14, 2018 12:14 pm

Piotr Grochowski wrote:What do you mean by "Multiple Track Colours" for spectrograms?
Currently Audacity supports a selection of track colours for waveform views: http://manual.audacityteam.org/man/audi ... tml#colors
For spectrogram view, the choice is currently colour (one option) or grayscale (one option).
More colour options are likely to be added in the future.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Piotr Grochowski
Posts: 155
Joined: Fri Jun 23, 2017 12:45 pm
Operating System: Windows 10

Re: Strange spectrogram colors on selection

Post by Piotr Grochowski » Sat Apr 14, 2018 12:18 pm

steve wrote:
Piotr Grochowski wrote:What do you mean by "Multiple Track Colours" for spectrograms?
Currently Audacity supports a selection of track colours for waveform views: http://manual.audacityteam.org/man/audi ... tml#colors
For spectrogram view, the choice is currently colour (one option) or grayscale (one option).
More colour options are likely to be added in the future.
That's 5 selection colors for colored view and 2 selection colors for grayscale view. There definitely is space for 7 more slots in ImageCache.png. It may slowly+surely pollute ImageCache.png with each colour option added though.

Post Reply