Change initial state of lastNote
This commit is contained in:
parent
7f38a03093
commit
d86b290419
1 changed files with 1 additions and 1 deletions
|
@ -780,7 +780,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
|
||||||
std::uint8_t lastVelocity = 0x80u;
|
std::uint8_t lastVelocity = 0x80u;
|
||||||
EventType lastType = events[index].type;
|
EventType lastType = events[index].type;
|
||||||
std::int32_t lastDuration = 0x80000000;
|
std::int32_t lastDuration = 0x80000000;
|
||||||
std::uint8_t lastNote = 0x80u;
|
std::uint8_t lastNote = 0x40u;
|
||||||
|
|
||||||
if (events[index].type == EventType::Note)
|
if (events[index].type == EventType::Note)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue