Created
February 3, 2020 19:15
-
-
Save fluxtah/0e91e92335c7842d00b01b1c81d99955 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun PianoRoll(from: PianoKey, to: PianoKey) { | |
val startsAtF = from.note >= F | |
Row { | |
for (octave in from.octave..to.octave) { | |
PianoRollOctave(startsAtF, true, octave) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment