ladybird/Applications/Piano
William McPherson 7c8bbea995 Piano: Add piano roll
m_roll_notes[] is an array of 2 bools, pressed and playing. A roll note
is highlighted if it is pressed or in the currently playing column, but
the note is only actually played if the roll note is both pressed and
playing.

We change columns every m_tick which is currently 10 frames. The delay
is synchronised with this. change_roll_column() tracks the previous
column and current column to be played. Each roll note in the previous
column is set to "not playing" and the underlying audio note is turned
off if it was pressed. For the current column, each roll note is set to
playing and the underlying audio note is turned on if pressed.
2019-12-23 15:08:15 +01:00
..
main.cpp LibGUI: Make GMenu inherit from CObject 2019-12-09 21:05:44 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
Music.h Piano: Add triangle wave and noise 2019-12-13 19:30:14 +01:00
PianoWidget.cpp Piano: Add piano roll 2019-12-23 15:08:15 +01:00
PianoWidget.h Piano: Add piano roll 2019-12-23 15:08:15 +01:00