eInt(document.getElementById('bpm').value);
        const secondsPerBeat = 60.0 / bpm;
        const baseTime = audioContext.currentTime + 0.1;
        
        console.log('Playing lines:', currentLines.map(l => ({
            type: l.type.id,
            noteCount: l.notes.length,
            hasInstrument: !!instruments[l.type.id]
        })));
        
        currentLines.forEach(({type, notes}) => {
            const instrument = instruments[type.id];
            if (instrument) {
                cons