ue = settings.pattern;
            document.getElementById(`${lineId}-octave`).value = settings.octave;
            document.getElementById(`${lineId}-gateLength`).value = settings.gateLength;
            
            // Update displays
            document.getElementById(`${lineId}-octave-value`).textContent = settings.octave;
            document.getElementById(`${lineId}-gateLength-value`).textContent = settings.gateLength.toFixed(2);
        });
        
        // Update everything
        updateContro