Coding 'Piano Phase' in Python! (Python Music #7)

preview_player
Показать описание
In today's Python Music Short, we code up Steve Reich's "Piano Phase"!

Рекомендации по теме
Комментарии
Автор

This was one of the 1st Python projects I did. But I tried coding the whole piece not just the section that shifts. It's a lot more complicated as that. The 2nd piano part has to shift exactly a 1/16th note in a specified number of bars which are picked at random from a range. Plus instruments fade in and out and then there are 3 sections with different material. All in all it turned out a big project that I did not complete yet...

fmjgtr
Автор

relatively simple in code but I imagine very tricky to actually play it and track the time shift!

chrisnewman
Автор

Have you thought about coding Arvo Part's "Cantus in Memory of Benjamin Britten"? It's something I thought about doing but then I came across a dissertation where the author already did it, along with some other algorithmic pieces.

alans
Автор

I followed your method and got following error. any idea what could have gone wrong? the music plays with no issue, but I still get this error, and it does not create any pdf file or export to XML.
Traceback (most recent call last):
The Piano Phase.py", line 26, in <module>
performance.to_score(QuantiazationScheme.from_time_signature("3/4", 16)).show()
NameError: name 'QuantiazationScheme' is not defined

kerina