From ea808c801bf07fa0a21aa23866c5121f2e2eb516 Mon Sep 17 00:00:00 2001 From: TomohiroHiratsuka Date: Mon, 25 Nov 2024 12:04:59 +0900 Subject: [PATCH] fix: MidiBuffer should work without options. --- src/synth/create-synth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/synth/create-synth.js b/src/synth/create-synth.js index 0c028d1a7..5cc9250ab 100644 --- a/src/synth/create-synth.js +++ b/src/synth/create-synth.js @@ -315,7 +315,7 @@ function CreateSynth() { var noteMapTracks = createNoteMap(self.flattened); - if (self.options.swing) + if (self.options?.swing) addSwing(noteMapTracks, self.options.swing, self.meterFraction, self.pickupLength) if (self.sequenceCallback)