/** * Musical timing and beat alignment functions * Part of Pleco Xa audio analysis engine */ /** * Calculate how well a loop length aligns with musical timing * @param {number} loopLength - Length of loop in seconds * @param {number} bpm - Beats per minute * @returns {number} Alignment score (0-1, higher is better) */ export function calculateBeatAlignment(loopLength: number, bpm: number): number;