fixed up some constants
svn-id: r42276
This commit is contained in:
parent
d25f481421
commit
84e96bc513
1 changed files with 2 additions and 2 deletions
|
@ -235,8 +235,8 @@ int MaxTrax::calcNote(VoiceContext &voice) {
|
|||
voice.periodOffset = 0;
|
||||
const int maxOctave = patch.sampleOctaves - 1;
|
||||
while (tone > PREF_PERIOD && octave < maxOctave) {
|
||||
tone -= 1 << 4;
|
||||
voice.periodOffset += 1 <<4;
|
||||
tone -= 1 << 16;
|
||||
voice.periodOffset += 1 << 16;
|
||||
octave++;
|
||||
}
|
||||
tone -= voice.periodOffset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue