Digigurdy-baz
Loading...
Searching...
No Matches
play_screens.h
Go to the documentation of this file.
1#ifndef PLAY_SCREENS_H
2#define PLAY_SCREENS_H
3
4#include "display.h"
5#include "note_bitmaps.h"
6#include "staff_bitmaps.h"
7#include "notes.h"
8
9// true = G/C tuning, false = D/G. For the menus.
10extern bool gc_or_dg;
11
12void draw_note(int note, int x_offset);
13void draw_staff(int note, int x_offset);
14void print_note(String note_str, int x_offset);
15void draw_play_screen(int note, int screen_type, bool draw_buzz);
16void print_display(int mel1, int mel2, int drone, int tromp, int tpose, int cap, int offset, bool hi_mute, bool lo_mute, bool drone_mute, bool tromp_mute);
17
18#endif
void draw_staff(int note, int x_offset)
Draws a staff bitmap and the given note on it.
Definition: play_screens.cpp:33
void draw_note(int note, int x_offset)
Draws a 64x64 ABC-style bitmap of the note being played.
Definition: play_screens.cpp:10
void print_note(String note_str, int x_offset)
Print as text the note being played in a large font.
Definition: play_screens.cpp:55
void print_display(int mel1, int mel2, int drone, int tromp, int tpose, int cap, int offset, bool hi_mute, bool lo_mute, bool drone_mute, bool tromp_mute)
Draws the screen visible when sound is not being made, the "heads-up display" screen.
Definition: play_screens.cpp:173
void draw_play_screen(int note, int screen_type, bool draw_buzz)
Draws the play screen in one of six ways depending on the user's chosen screen type.
Definition: play_screens.cpp:130
bool gc_or_dg
Definition: digigurdy-baz.ino:144