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;
|
origNote+=12;
|
||||||
origOctave--;
|
origOctave--;
|
||||||
}
|
}
|
||||||
// FIX!!!!! TODO
|
if (origOctave==9 && origNote>11) {
|
||||||
if (origOctave>7) {
|
origNote=11;
|
||||||
origNote=12;
|
origOctave=9;
|
||||||
origOctave=7;
|
}
|
||||||
|
if (origOctave>9) {
|
||||||
|
origNote=11;
|
||||||
|
origOctave=9;
|
||||||
}
|
}
|
||||||
if (origOctave<-5) {
|
if (origOctave<-5) {
|
||||||
origNote=1;
|
origNote=1;
|
||||||
|
|
Loading…
Reference in a new issue