ValleyAudio / ValleyRackFree

Modules for VCV Rack
Other
176 stars 24 forks source link

Topograph: No external clock #54

Closed 1xch closed 3 years ago

1xch commented 3 years ago

I have the clock dial turned all the way left, it says 'Ext', but the module is not using the external clock.

External clock plugged in to the clock appears to have zero impact.

ValleyAudio commented 3 years ago

Did you toggle the "Run" switch?

1xch commented 3 years ago

@ValleyAudio Yes, run switch toggled several times It still reads Ext beneath , the clock dial number is at 37.68 and that appears to be the bpm its running at Expected behavior from my experience so far would be to plug in an external clock and have the unit register that immediately, but I am still new at all this.

Rack 1.1.6 on Linux Ubuntu (uncompiled & release binary being run).

I tried another clock (was using Clocked, switched to JW-Modules Simple Clock) and it seems to take in that if I turn it up really high, but overall just not what I would expect so its a bug to me or something I don't understand with the clock resolution. Also happens with uGraph as well.

patch: https://filebin.net/p7xdkw7yzwoymdmr

ValleyAudio commented 3 years ago

I haven't changed any code with Topograph. Please send me your patch so I can see what's going on.

Edit: I see you already sent it, thanks!

ValleyAudio commented 3 years ago

@1xch Just tried the patch, uGraph seems to work just fine, although very slow. Is this the issue? It doesn't work via "Tap Tempo" or clock syncing.

Topograph expects a high speed clock for external clocking. The external clock should be 24, 8 or 4 pulse per quarter note (this is set in the right click menu). What this means is that there should be 24 clocks per beat. This is why it is so slow with a regular clock as seen in your patch. It's basically 24x slower than it should be.

A solution is to use Clocked by Impromptu. That lets you set the resolution on one of its 3 clock outputs.

ValleyAudio commented 3 years ago

@1xch Here is an example of Topograph / uGraph using Clocked. topographWithClocked.vcv.zip

1xch commented 3 years ago

okty