mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix mistimed events on repeat starting at measure 0
This commit is contained in:
parent
f31c878e9b
commit
4ba648dcd8
|
@ -24,6 +24,7 @@ struct VLMetaEvent : MIDIMetaEvent {
|
|||
|
||||
void VLMIDIWriter::Visit(VLSong & song)
|
||||
{
|
||||
fChordTime = 0.0f;
|
||||
fVolta.clear();
|
||||
MusicSequenceNewTrack(fMusic, &fTrack);
|
||||
VLMetaEvent meta("VocalEasel");
|
||||
|
@ -40,7 +41,7 @@ void VLMIDIWriter::VisitMeasure(size_t m, VLProperties & p, VLMeasure & meas)
|
|||
fMeasure = m;
|
||||
fStanza = ++fVolta[m];
|
||||
|
||||
if (!m)
|
||||
if (!fChordTime)
|
||||
fChordTime = fNoteTime = fCountIn*fTime.fNum;
|
||||
|
||||
fAt = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user