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

Piano: Add export action

This is a pretty rudimentary WAV export function for Piano.
This commit is contained in:
William McPherson 2020-02-07 00:32:46 +11:00 committed by Andreas Kling
parent 5dc014b261
commit b7d190bd10
3 changed files with 49 additions and 0 deletions

View file

@ -40,6 +40,7 @@ public:
~AudioEngine();
const FixedArray<Sample>& buffer() const { return *m_front_buffer_ptr; }
void reset();
Switch roll_note(int y, int x) const { return m_roll_notes[y][x]; }
int current_column() const { return m_current_column; }
int octave() const { return m_octave; }