mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: fix transpose octave range
This commit is contained in:
parent
74a23b3ec5
commit
5fadcf4891
1 changed files with 7 additions and 4 deletions
|
@ -2833,10 +2833,13 @@ void FurnaceGUI::doTranspose(int amount) {
|
|||
origNote+=12;
|
||||
origOctave--;
|
||||
}
|
||||
// FIX!!!!! TODO
|
||||
if (origOctave>7) {
|
||||
origNote=12;
|
||||
origOctave=7;
|
||||
if (origOctave==9 && origNote>11) {
|
||||
origNote=11;
|
||||
origOctave=9;
|
||||
}
|
||||
if (origOctave>9) {
|
||||
origNote=11;
|
||||
origOctave=9;
|
||||
}
|
||||
if (origOctave<-5) {
|
||||
origNote=1;
|
||||
|
|
Loading…
Reference in a new issue