1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

Piano: Add attack

This commit is contained in:
William McPherson 2020-02-05 15:13:04 +11:00 committed by Andreas Kling
parent 5990b3b2e6
commit ab9475a3f3
6 changed files with 62 additions and 10 deletions

View file

@ -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,