Commit Graph

16 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
ab40037064 Bump copyright year to 2025 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
4a40b00695 Update gtkdial to support linear-volume controls 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
1fa964d348 Add peak display to the level meters 2024-04-11 21:24:27 +09:30
Geoffrey D. Bennett
3048b43b9a Add colour to GtkDial level meters 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
1cc6c64c04 Add off_db (deadband) to GtkDial for quiet signals
Add an optional deadband at the bottom of the GtkDial so that very
quiet signals can be squashed into the first 1% of the dial. This will
be used to make the level meters more realistic.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
1c2d966763 Add GtkDial:can_control property
If the dial can't be controlled, it shouldn't be dimmed when it's not
sensitive.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
7c44f15428 Make GtkDial look better 2024-02-20 23:26:09 +10:30
Geoffrey D. Bennett
df5d0960dd Add support for piecewise linear interpolation taper to GtkDial
This commit adds support for piecewise linear interpolation tapers to
GtkDial and the gain widget so that the 4th Gen 4i4 volume knob taper
can be modelled correctly.
2024-02-11 21:46:22 +10:30
Geoffrey D. Bennett
492c348897 Add configurable taper to GtkDial
The taper was previously set to a log function which matched the
Clarett volume knob. Add linear option to match the Scarlett 4th Gen
input gain knobs and hardware level meters.
2024-02-08 19:04:53 +10:30
Geoffrey D. Bennett
64ca9f78da Fix typo range->dial in gtkdial.[ch] 2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
d91c9d5687 Add page argument to gtk_dial_new_with_range()
Make gain widget page_incr 3dB.
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
28604f08a3 Reformat gtkdial.c to match rest of code 2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
b646bc92cc Remove irrelevant GDK_AVAILABLE_IN_ALL from gtkdial.h
GDK_AVAILABLE_IN_ALL is for core GDK/GTK classes, not user-defined
ones.
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
2115a26d9d Remove unused GtkDialFormatValueFunc from gtkdial.h 2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
b2823e79be Bump copyright year 2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
17b4d2f055 Initial revision 2022-03-14 09:24:43 +10:30