Skip to content

Commit

Permalink
Implement soundfont modulators per channel
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Oct 14, 2024
1 parent 933a36e commit 9217e4b
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 71 deletions.
6 changes: 3 additions & 3 deletions src/CustomDrawings.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ class CustomDrawings {
static void switchLight(cairo_t *cr, int x, int y, int h) {
cairo_pattern_t *pat = cairo_pattern_create_linear (x, y, x, y + h);
cairo_pattern_add_color_stop_rgba
(pat, 1, 0.3, 0.55, 0.91, 1.0 * 0.8);
(pat, 1, 0.6, 0.6, 0.6, 1.0 * 0.8);
cairo_pattern_add_color_stop_rgba
(pat, 0.5, 0.3, 0.55, 0.91, 1.0 * 0.4);
(pat, 0.5, 0.6, 0.6, 0.6, 1.0 * 0.4);
cairo_pattern_add_color_stop_rgba
(pat, 0, 0.3, 0.55, 0.91, 1.0 * 0.2);
(pat, 0, 0.6, 0.6, 0.6, 1.0 * 0.2);
cairo_pattern_set_extend(pat, CAIRO_EXTEND_NONE);
cairo_set_source(cr, pat);
cairo_fill_preserve (cr);
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif
NAME = Mamba
EXEC_NAME = $(shell echo $(NAME) | tr A-Z a-z)
BUILD_DIR = build
VER = 2.6
VER = 2.7

LIBSCALA_DIR := ../libscala-file/
LIB_DIR := ../libxputty/libxputty/
Expand Down
Loading

0 comments on commit 9217e4b

Please sign in to comment.