1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:37:36 +00:00

Piano: Try to be more stereo-oriented

This commit is contained in:
William McPherson 2020-02-09 23:19:48 +11:00 committed by Andreas Kling
parent 255edcb525
commit 93903c8064
2 changed files with 26 additions and 24 deletions

View file

@ -71,12 +71,12 @@ public:
void set_delay(int delay);
private:
double sine(size_t note);
double saw(size_t note);
double square(size_t note);
double triangle(size_t note);
double noise() const;
double recorded_sample(size_t note);
Audio::Sample sine(size_t note);
Audio::Sample saw(size_t note);
Audio::Sample square(size_t note);
Audio::Sample triangle(size_t note);
Audio::Sample noise() const;
Audio::Sample recorded_sample(size_t note);
void update_roll();
void set_notes_from_roll();