gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 05d5910082e440fdb88d5b22a69c314110f68119
parent 820bafbb0c89dbf1289c976fa2584a97b925ab90
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat,  2 Apr 2022 02:34:25 +0200

adjust latency after having done more precise measurements

Diffstat:
Msource/virusLib/device.cpp | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/source/virusLib/device.cpp b/source/virusLib/device.cpp @@ -60,7 +60,11 @@ namespace virusLib uint32_t Device::getInternalLatencySamples() const { - return 300; // hard to belive but this is what I figured out by measuring with the init patch +// return 300; // hard to belive but this is what I figured out by measuring with the init patch + + // more precise, measured by using an input init patch. Sent a click to the input and recorded both the input + // as direct signal plus the Virus output and checking the resulting latency in a wave editor + return 384; } bool Device::sendMidi(const synthLib::SMidiEvent& _ev, std::vector<synthLib::SMidiEvent>& _response)