Matches preview playback with midi volume input when enabled (#1636)
* Uncomment line which enables midi input preview playback Tested with various chip and logged, the results match what goes to the column * Revert operator spacing * Move midi input processing from playback to gui to allow correct input volume playback * Revert "Move midi input processing from playback to gui to allow correct input volume playback" This reverts commit 6f8f6ccde38629f00e5847a04b39152939c063f3.
This commit is contained in:
parent
8c5cc950b8
commit
45fb9378eb
|
|
@ -1372,7 +1372,7 @@ bool DivEngine::nextTick(bool noAccum, bool inhibitLowLat) {
|
|||
}
|
||||
if (note.on) {
|
||||
dispatchCmd(DivCommand(DIV_CMD_INSTRUMENT,note.channel,note.ins,1));
|
||||
//dispatchCmd(DivCommand(DIV_CMD_VOLUME,note.channel,(note.volume*(chan[note.channel].volMax>>8))/127));
|
||||
dispatchCmd(DivCommand(DIV_CMD_VOLUME,note.channel,(note.volume*(chan[note.channel].volMax>>8))/127));
|
||||
dispatchCmd(DivCommand(DIV_CMD_NOTE_ON,note.channel,note.note));
|
||||
keyHit[note.channel]=true;
|
||||
chan[note.channel].releasing=false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue