Ensure minimum value for loop duration calculation in ableton transformer
This commit is contained in:
@@ -273,7 +273,7 @@ function abletonTransformer(data: ProjectRawData, exporterParams: ExporterParams
|
|||||||
bars: pattern.bars,
|
bars: pattern.bars,
|
||||||
offset,
|
offset,
|
||||||
duration,
|
duration,
|
||||||
loopDuration: pattern.bars * getQuarterNotesPerBar(timeSignature),
|
loopDuration: Math.max(1, pattern.bars) * getQuarterNotesPerBar(timeSignature),
|
||||||
sceneIndex,
|
sceneIndex,
|
||||||
occurrenceIndex,
|
occurrenceIndex,
|
||||||
sceneName,
|
sceneName,
|
||||||
|
|||||||
Reference in New Issue
Block a user