diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-09-26 02:24:37 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-09-26 02:24:37 +0300 |
commit | 60171b220a3d0d195fee73b284c4cae7fddf0f58 (patch) | |
tree | f966ec7c6f9c614f9faf8b2785a5f90362f66770 /src/adlmidi_sequencer.cpp | |
parent | c249dc8e4addaaca356f63551cae1df04ff7243a (diff) | |
download | libADLMIDI-60171b220a3d0d195fee73b284c4cae7fddf0f58.tar.gz libADLMIDI-60171b220a3d0d195fee73b284c4cae7fddf0f58.tar.bz2 libADLMIDI-60171b220a3d0d195fee73b284c4cae7fddf0f58.zip |
Fixed the too fast killing of releasing notes
#181
Diffstat (limited to 'src/adlmidi_sequencer.cpp')
-rw-r--r-- | src/adlmidi_sequencer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_sequencer.cpp b/src/adlmidi_sequencer.cpp index 3c18cad..66b9b9a 100644 --- a/src/adlmidi_sequencer.cpp +++ b/src/adlmidi_sequencer.cpp @@ -137,7 +137,7 @@ double MIDIplay::Tick(double s, double granularity) s *= m_sequencer.getTempoMultiplier(); for(uint16_t c = 0; c < m_synth.m_numChannels; ++c) - m_chipChannels[c].addAge(static_cast<int64_t>(s * 1000.0)); + m_chipChannels[c].addAge(static_cast<int64_t>(s * 1e6)); updateVibrato(s); updateArpeggio(s); |