diff --git a/src/core/audio-interface/KGAudioInterface.ts b/src/core/audio-interface/KGAudioInterface.ts index a480145..33f2377 100644 --- a/src/core/audio-interface/KGAudioInterface.ts +++ b/src/core/audio-interface/KGAudioInterface.ts @@ -64,6 +64,9 @@ export class KGAudioInterface { } try { + // Reduce lookahead time to 0.05 seconds to improve MIDI input responsiveness + Tone.getContext().lookAhead = 0.05; + // Set up master gain for volume control this.masterGain = new Tone.Gain(this.masterVolume).toDestination();