playValue('bpm', 'bpmValue');
        updateDisplayValue('chordLength', 'chordLengthValue');
        document.getElementById('rootNoteName').textContent = getMidiNoteName(config.root);
        
        // Update chord names display
        updateChordNames();
        
        // Set line controls
        Object.entries(config.lines).forEach(([lineId, settings]) => {
            document.getElementById(`${lineId}-active`).checked = settings.active;
            document.getElementById(`${lineId}-pattern`).val