add/alter wave colorways

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
geula
Posts: 4
Joined: Wed Jan 16, 2019 6:50 pm
Operating System: OS X 10.9 Mavericks

add/alter wave colorways

Post by geula » Wed Jan 16, 2019 7:00 pm

OS Ubuntu 18.04.1 LTS
audacity version 2.2.1
build type, i'm not certain but i think the help menu says it was built from ubuntu's official release.

i'd like to add more colorways to audacity, or perhaps to change the existing ones (i don't like the existing instrument 4, black). is there any way i can hack in more colors? i'm using the dark theme, if that makes any difference.

if this involves editing the code, i'd be willing to look into that. even just a pointer to the relevant files would be very helpful

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

Re: add/alter wave colorways

Post by steve » Wed Jan 16, 2019 7:04 pm

This is not something I know much about (I'm more interested in the audio side of Audacity), but there's some documentation here: https://wiki.audacityteam.org/wiki/Theming_HowTo
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

geula
Posts: 4
Joined: Wed Jan 16, 2019 6:50 pm
Operating System: OS X 10.9 Mavericks

Re: add/alter wave colorways

Post by geula » Wed Jan 16, 2019 8:21 pm

great, thank you!

i'm now looking at the source for audacity 2.2.2

at src/AllThemeResources.h i'm looking for text-matches with what i sampled were the colors for the 4 instruments, but i'm not seeing any matches. i think wave colors must be in a different file or perhaps i have the wrong color samples (dark theme):

Code: Select all

instr 1 = #FEB144  254, 177, 68
          #FF9329  255, 147, 41

instr 2 = #e65050  230, 80, 80
          #a00a0a  160, 10, 10

instr 3 = #4bc84b  75, 200, 75
          #236e23  35, 110, 35

instr 4 = #646464  100, 100, 100	
          #000000  0, 0, 0

waxcylinder
Forum Staff
Posts: 14585
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: add/alter wave colorways

Post by waxcylinder » Wed Jan 16, 2019 11:25 pm

geula wrote:
Wed Jan 16, 2019 7:00 pm
i'd like to add more colorways to audacity, or perhaps to change the existing ones (i don't like the existing instrument 4, black). is there any way i can hack in more colors? i'm using the dark theme, if that makes any difference.
Have a look at this page in the Audacity Manual: https://manual.audacityteam.org/man/aud ... tml#colors

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

Post Reply