§
    ƒØjF  ã                  óÎ   — d Z ddlmZ g d¢ZddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ d	„ Z ej        ¦   «         r(dd
lmZ  ede¦  «        Ze                     ¦   «          dS dS )aJ  
IPython/Jupyter extension to music21.  In Jupyter Notebook call:

   %load_ext music21.ipython21

and show will take place inside the browser.

Since at least music21 v5, however, when music21 is imported we set a timer
for two seconds to everything to settle and then load our extension (which
now just calls matplotlib inline)
é    )Úannotations)Ú
convertersÚipExtensionÚobjectsÚload_ipython_extensionÚloadNoMagic)Úcommon)r   )r   )r   )r   c                 ó®   — t          j        ¦   «         r?ddlm}  |                      ¦   «         r'|                      ¦   «         }t          |¦  «         dS dS dS )zÏ
    Load the magic functions of load_ipython_extension when running Jupyter (was IPython)
    without needing to call a %magic function

    Safest is always ot call %load_ext music21.ipython21 anyhow.
    r   )ÚInteractiveShellN)r	   ÚrunningInNotebookÚIPython.core.interactiveshellr   ÚinitializedÚinstancer   )r   ÚlocalIPs     ú�/Users/tedpeters/Documents/Projects/Claude Projects/Misc Tools/notename-sheets/.venv/lib/python3.11/site-packages/music21/ipython21/__init__.pyr   r   &   st   € õ ÔÑ!Ô!ð ,àBÐBÐBÐBÐBÐBØ×'Ò'Ñ)Ô)ð 	,Ø&×/Ò/Ñ1Ô1ˆGÝ" 7Ñ+Ô+Ð+Ð+Ð+ð,ð ,ð	,ð 	,ó    )ÚTimeré   N)Ú__doc__Ú
__future__r   Ú__all__Úmusic21r	   Úmusic21.ipython21r   r   r   Úmusic21.ipython21.ipExtensionr   r   r   Ú	threadingr   ÚtÚstart© r   r   ú<module>r      sò   ðð
ð 
ð #Ð "Ð "Ð "Ð "Ð "ðð ð €ð Ð Ð Ð Ð Ð à (Ð (Ð (Ð (Ð (Ð (Ø )Ð )Ð )Ð )Ð )Ð )Ø %Ð %Ð %Ð %Ð %Ð %Ø @Ð @Ð @Ð @Ð @Ð @ð,ð ,ð ,ð" €6ÔÑÔð ØÐÐÐÐÐØˆˆa�ÑÔ€AØ‡G‚G�I„I€I€I€Iðð r   