Coder Social home page Coder Social logo

bacor / algo-part Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 22.96 MB

The project AlgoPärt attempts to reconstruct compositions of Arvo Pärt algorithmically.

Jupyter Notebook 99.46% Python 0.54%
algorithmic-music computational-musicology music arvo-part

algo-part's Introduction

👾 AlgoPärt

The project AlgoPärt attemps to reconstruct compositions of Arvo Pärt algorithmically. Compositions in his tintinnabuli style are often composed following strict rules. By trying to reconstruct those rules, we can better understand how his compositions work. We refer to this method of musical analysis as analysis by synthesis.

Works

Currently a full reconstruction has only been attempted for one work:

  • Summa (1977)

Tintinnabulipy

The directory tintinnabulipy contains some code that allows you to work with M- and T-spaces, tintinnabuli positions and tintinnabuli processes. In particular, it makes plotting them easier:

from tintinnabulipy import *
from music21.chord import Chord
from music21.scale import ConcreteScale

M = MelodicSpace(MinorScale('E2'))
T = TintinnabuliSpace(Chord('E2 G2 B2'))
M.plot(M.sequence('G3', 8), 'o-')
M.grid()

For more explanation, have a look at the notebook Tutorial.ipynb.

Python setup

You can find the Python version used in .python-version and all dependencies are listed in requirements.txt. If you use pyenv and venv to manage python versions and virtual environments, do the following:

# Install the right python version
pyenv install | cat .python-version

# Create a virtual environment
python -m venv env

# Activate the environment
source env/bin/activate

# Install dependencies
pip install -r requirements.txt

algo-part's People

Contributors

bacor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.