Mercurial > hg > svapp
changeset 345:a4b8f0864835 tony_integration
Fix omission of note playback level
author | Chris Cannam |
---|---|
date | Tue, 08 Apr 2014 17:59:33 +0100 |
parents | c11701af6bb4 |
children | 0e4332efcc7d |
files | audioio/ClipMixer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audioio/ClipMixer.cpp Wed Apr 02 08:51:51 2014 +0100 +++ b/audioio/ClipMixer.cpp Tue Apr 08 17:59:33 2014 +0100 @@ -135,7 +135,7 @@ foreach (NoteStart note, m_playing) { for (int c = 0; c < m_channels; ++c) { - levels[c] = gain; + levels[c] = note.level * gain; } if (note.pan != 0.0 && m_channels == 2) { levels[0] *= 1.0 - note.pan;