mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Loaded chords sound very deep
This commit is contained in:
parent
d073aed5fa
commit
e7aa36e25e
|
@ -366,9 +366,9 @@ class MusicXMLListener
|
|||
@note['visual'] = VL::Want2Flat
|
||||
end
|
||||
when 'root-step'
|
||||
@note['pitch'] = PITCH[@text]
|
||||
@note['pitch'] = PITCH[@text]+60
|
||||
when 'bass-step'
|
||||
@note['root'] = PITCH[@text]
|
||||
@note['root'] = PITCH[@text]+48
|
||||
when 'bass-alter'
|
||||
@note['root'] += @text.to_i
|
||||
if @text.to_i != 0
|
||||
|
|
|
@ -272,6 +272,7 @@ int8_t VLParseChord(std::string & str, uint16_t * accidental, uint32_t * st
|
|||
if (*rootPitch < 0)
|
||||
return kPitchError;
|
||||
str.erase(root, 1);
|
||||
*rootPitch -= VLNote::kOctave;
|
||||
} else {
|
||||
*rootPitch = VLNote::kNoPitch;
|
||||
*rootAccidental = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user