scheduledNotes = [];
    }

    function updateDisplayValue(sliderId, valueId) {
        console.log(`Updating display value: ${sliderId} -> ${valueId}`);
        const slider = document.getElementById(sliderId);
        const valueDisplay = document.getElementById(valueId);
        
        if (!slider || !valueDisplay) {
            console.warn(`Could not find elements: slider=${sliderId}, value=${valueId}`);
            return;
        }
        
        valueDisplay.textContent = slider.value;
    }

 