kockie69 / SquinkyVCV-main

GNU General Public License v3.0
22 stars 12 forks source link

SFZ Player problem in v2 #29

Closed davephillips closed 2 years ago

davephillips commented 2 years ago

Ubuntu 18.04 GCC 7.5.0 Rack v2 042a9ce0

When I put the SFZ Player in a patch the clock bogs down, possibly due to a very large number of these messages:

[9.067 info ./dsp/utils/GateDelay.h:47 addGates] enter add gate
[9.067 info ./dsp/utils/GateDelay.h:52 addGates] after add, num=1 val=0
[9.067 info ./dsp/utils/GateDelay.h:82 getGates] in get gate, pulled=0
[9.067 info ./dsp/utils/GateDelay.h:88 getGates] in getGate int = 0
[9.067 info ./dsp/utils/GateDelay.h:57 commit] enter commit, here is buffer: 
[9.067 info ./dsp/utils/GateDelay.h:68 commit] gate commit pushed into ring, popped 0
[9.067 info ./dsp/utils/GateDelay.h:69 commit] Leaving commit

I'm running your latest commit for SquinkyVCV-main. Any suggestions ? Btw, I tested it with two different clocks. Removing the SFZ Player restored clock performance.

dp

kockie69 commented 2 years ago

Too much logging was enabled, so you were spot on! Fix is now in v2.0.6.