mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Piano: Add velocity and pitch support
As Piano will later move to the RollNote defintions of LibDSP, it's a good idea to already insert velocity and pitch support, even though it's currently not used.
This commit is contained in:
parent
fdef6e5f76
commit
ad6a332268
3 changed files with 4 additions and 2 deletions
|
@ -42,6 +42,8 @@ struct RollNote {
|
|||
|
||||
u32 on_sample;
|
||||
u32 off_sample;
|
||||
u8 pitch;
|
||||
i8 velocity;
|
||||
};
|
||||
|
||||
enum Direction {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue