mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
raptor_arp: Fix looper bug reported in the Ardour forum by Schmitty2005.
This commit is contained in:
parent
520ed0390e
commit
8c38d8fbbc
1 changed files with 1 additions and 1 deletions
|
|
@ -915,7 +915,7 @@ end
|
|||
|
||||
function arpeggio:loop_get()
|
||||
local res = {{}, 0, 0}
|
||||
local p, n = self.loopidx, math.max(1, math.min(#self.loop, self.loopsize))
|
||||
local p, n = self.loopidx, math.min(#self.loop, self.loopsize)
|
||||
if p < n then
|
||||
res = self.loop[p+1]
|
||||
-- we always *read* exactly n steps in a cyclic buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue