t.getElementById('chordSequence').value;
        
        // Update project data
        projectData.root = root;
        projectData.mode = modeValue;
        projectData.chordSequence = chordSequence;
        projectData.bpm = bpm;
        projectData.chordDuration = beatsPerChord;
        
        // Clear existing lines
        projectData.lines = [];
        
        // Update time manipulator
        currentTimeManipulator = new TimeManipulator();
        currentTimeManipulator.setPPQ(96)
            