mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Disable debug-print in MIDI randomize script
This commit is contained in:
parent
fca85e01c9
commit
7635707ac2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue