From 1a9b0a8e7763734f5b24dc75eab340a7f30b16b6 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Thu, 11 May 2023 14:03:57 -0400 Subject: [PATCH] fix jupyter/colab MIDI --- music21/converter/subConverters.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/music21/converter/subConverters.py b/music21/converter/subConverters.py index 61f38f758d..0636381fa3 100644 --- a/music21/converter/subConverters.py +++ b/music21/converter/subConverters.py @@ -437,26 +437,28 @@ def show(self, obj, fmt, app=None, subformats=None, **keywords): # pragma: no c load_require_script = '' if inGoogleColabNotebook(): load_require_script = ''' - ''' + utf_binary = binaryBase64.decode('utf-8') # noinspection PyTypeChecker display(HTML('''
- + ''' + load_require_script + ''' '''))