mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
Piano: Add attack
This commit is contained in:
parent
5990b3b2e6
commit
ab9475a3f3
6 changed files with 62 additions and 10 deletions
|
@ -80,6 +80,13 @@ constexpr const char* wave_strings[] = {
|
|||
constexpr int first_wave = Sine;
|
||||
constexpr int last_wave = Noise;
|
||||
|
||||
enum Envelope {
|
||||
Done,
|
||||
Attack,
|
||||
Decay,
|
||||
Release,
|
||||
};
|
||||
|
||||
enum KeyColor {
|
||||
White,
|
||||
Black,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue