Disable debug-print in MIDI randomize script

This commit is contained in:
Robin Gareus 2025-12-02 00:53:40 +01:00
parent fca85e01c9
commit 7635707ac2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -58,7 +58,7 @@ function factory () return function ()
-- ..generate random offset.. -- ..generate random offset..
local tickdiff = math.floor (rv['rand']() * max_distance); local tickdiff = math.floor (rv['rand']() * max_distance);
print (old_pos:get_beats (), old_pos:get_ticks (), tickdiff) --print (old_pos:get_beats (), old_pos:get_ticks (), tickdiff)
-- .. and calculate new position. -- .. and calculate new position.
local new_pos = Temporal.Beats (old_pos:get_beats (), old_pos:get_ticks () + tickdiff) local new_pos = Temporal.Beats (old_pos:get_beats (), old_pos:get_ticks () + tickdiff)