Fix calculation of beat time when exporting Simpler device to Ableton.
This commit is contained in:
@@ -555,7 +555,10 @@ async function buildSimplerDevice(koTrack: AblTrack, abletonVersion: AbletonVers
|
||||
{
|
||||
'@Id': 1,
|
||||
'@SecTime': koTrack.soundLength,
|
||||
'@BeatTime': koTrack.timeStretchBars * koTrack.timeSignature.numerator, // convert bars to beats
|
||||
'@BeatTime':
|
||||
koTrack.timeStretchBars *
|
||||
koTrack.timeSignature.numerator *
|
||||
(4 / koTrack.timeSignature.denominator),
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user