Complexity Explorer Santa Few Institute

Introduction to Renormalization

Lead instructor: Simon DeDeo

Your progress is not being saved! Enroll now or log in to track your progress or submit homework.

Music Computation and Complexity

Håkon Sjøvik Olsen
27 Mar 2025 2:15pm UTC
4
in Music Computation and Complexity

Hi,
I encountered an issue during the installation tutorial of the musicntwrk library. I downloaded all suggested packages in the install.txt file, but then I get an issue when I try "import pyo" in the Python interactive shell. It seems the reason is because I have an M2 MacBook, which runs on ARM64, while pyo might only be available for x86_64? How do I resolve this issue?

Shiyan Shahriar
28 Mar 2025 12:33am UTC
in Music Computation and Complexity

I followed the instructions below and successfully ran import pyo https://belangeo.github.io/pyo/compiling.html

Håkon Sjøvik Olsen
28 Mar 2025 8:56am UTC
in Music Computation and Complexity

Thanks! But I actually managed by making sure the environment runs in x86_64. Do you know if you're running on ARM64? If so, I'll consider your approach.

Shiyan Shahriar
28 Mar 2025 10:05am UTC
in Music Computation and Complexity

Yes, I'm running it on M1 Macbook

Marco Buongiorno Nardelli
29 Mar 2025 1:17am UTC
in Music Computation and Complexity

Hi, sorry about your problem. I can confirm that I have installed successfully on M1, M2 and M3 (the video I made for the instructions was on a M2 Mac).

Stephan Schulte
23 Mar 2025 5:15pm UTC
1
in Music Computation and Complexity

Hi,

did anyone get the notebook running on Windows 11?

When executing the displayNotes command I get the error message:

SubConverterException: Cannot find a path to the 'mscore' file at C:\Users\steph\Documents\Repositories\complexmusic\C:\Program Files\MuseScore 3\bin\MuseScore3.exe -- download MuseScore

I cannot find the file music21rc.txt anywhere in my file system. Is it called differently on Windows?

Any help would be appreciated

Stephan

Stephan Schulte
23 Mar 2025 5:52pm UTC
in Music Computation and Complexity

Hi again,

I found the solution by myself. The key is the file C:\User\\AppData\Roaming\music21-settings.xml. There you can adapt the directory to your MuseScore executable. Be careful there are two entries musescoreDirectPNGPath and musicxmlPath. The both should point to your MuseScore executable.

In case the file does not exist you can create one with python -m music21.configure

Hope this helps

Stephan