eatsPerChord;
        
        // Update time manipulator
        currentTimeManipulator = new TimeManipulator();
        currentTimeManipulator.setPPQ(96)
            .setChordDuration(beatsPerChord)
            .setBPM(bpm);
        
        // Update all lines
        currentLines = [];
        Object.entries(currentConfig.lines).forEach(([lineId, settings], index) => {
            const values = getLineValues(lineId);
            if (values.active) {
                // Create MidiInstrumentContext for t