ole.log(`Playing ${type.name} with ${notes.length} notes`);
                notes.forEach(note => {
                    const startInSeconds = (note.getStartTime() / currentTimeManipulator.ppq) * secondsPerBeat;
                    const durationInSeconds = (note.getLength() / currentTimeManipulator.ppq) * secondsPerBeat;
                    instrument.play(note.getMidiNoteValue(), baseTime + startInSeconds, { duration: durationInSeconds });
                });
            } else {
                console.w