to currentLines immediately
                currentLines.push({
                    type: { id: lineId, name: getInstrumentName(lineId) },
                    line: projectData.makeLineGenerator(projectData.lines.length - 1),
                    notes: projectData.makeLineGenerator(projectData.lines.length - 1).generateNotes(0)
                });
            }
        });
        
        console.log('Updated settings:', {
            bpm, beatsPerChord, root, 
            mode: modeValue,
            chor