Skip to main content

music as data, data as music

Reason this release was yanked:

image recognition in pypi

Project description

musicntwrk logo

music as data, data as music

unleashing data tools for music theory, analysis and composition

A python library for pitch class set and rhythmic sequences classification and manipulation, the generation of networks in generalized music and sound spaces, deep learning algorithms for timbre recognition, and the sonification of arbitrary data

Table of contents

Quick start

Get started with musicntwrk:

NEW!!! version 2.1.0 now on PyPi

pip install musicntwrk

or

pip install musicntwrk[with_MPI]

(if there is a pre-existing installation of MPI, pip will automatically install the mpi4pi wrapper)

The following documentation is for the old release

NEW DOCUMENTATION COMING SOON

In the meantime, the old documentation is still usable (main routines are still the same)

What's included

musicntwrk is a software written for python 3 and comprises of four modules, pcsPy, rhythmPy, timbrePy and sonifiPy:

  • pcsPy - a module for pitch class set classification and manipulation in any arbitrary temperament; the construction of generalized pitch class set networks using distances between common descriptors (interval vectors, voice leadings); the analysis of scores and the generation of compositional frameworks.
  • rhythmPy - a module for rhythmic sequence classification and manipulation; and the construction of rhythmic sequence networks using various definitions of rhythmic distance.
  • timbrePy - comprises of two sections: the first deals with orchestration color and it is the natural extension of the score analyzer in pscPy; the second deals with analysis and characterization of timbre from a (psycho-)acoustical point of view. In particular, it provides: the characterization of sound using, among others, Mel Frequency or Power Spectrum Cepstrum Coefficients (MFCC or PSCC); the construction of timbral networks using descriptors based on MF- or PS-CCs; and machine learning models for timbre recognition through the TensorFlow Keras framework.
  • sonifiPy - a module for the sonification of arbitrary data structures, including automatic score (musicxml) and MIDI generation.
  • A jupyter notebook with selected examples is provided in the TESTS directory.

Documentation

musicntwrk requires the installation of the following modules via the “pip install” (or equivalent, depending on individual environments) command:

  1. System modules: sys, re, time, os,urllib,wget,bs4,warnings
  2. Math modules: numpy, scipy, itertools, fractions, gcd, functools
  3. Data modules: pandas, sklearn, networkx, community,tensorflow,powerlaw
  4. Music modules: music21,librosa,pyo
  5. Visualization modules: matplotlib, vpython
  6. Parallel processing: mpi4py

Documentation for the individual modules:

The most computationally intensive parts of the modules can be run on parallel processors using the MPI (Message Passing Interface) protocol. Communications are handled by two additional modules: communications and load_balancing. Since the user will never have to interact with these modules, we omit here a detailed description of their functions.

Author

Marco Buongiorno Nardelli

Marco Buongiorno Nardelli is University Distinguished Research Professor at the University of North Texas: composer, flutist, computational materials physicist, and a member of CEMI, the Center for Experimental Music and Intermedia, and iARTA, the Initiative for Advanced Research in Technology and the Arts. He is a Fellow of the American Physical Society and of the Institute of Physics, and a Parma Recordings artist. See here for a longer bio-sketch.

Citation

Marco Buongiorno Nardelli, "musicntwrk, a python library for pitch class set and rhythmic sequences classification and manipulation, the generation of networks in generalized music and sound spaces, deep learning algorithms for timbre recognition, and the sonification of arbitrary data", www.musicntwrk.com (2019).

Thanks

This project has been made possible by contributions from the following institutions:

UNT logo     CEMI logo     PRISM logo     IMeRA logo


musicntwrk is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Copyright (C) 2019 Marco Buongiorno Nardelli
www.materialssoundmusic.com
www.musicntwrk.com
mbn@unt.edu

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

musicntwrk-2.1.0.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

musicntwrk-2.1.0-py3-none-any.whl (168.1 kB view details)

Uploaded Python 3

File details

Details for the file musicntwrk-2.1.0.tar.gz.

File metadata

  • Download URL: musicntwrk-2.1.0.tar.gz
  • Upload date:
  • Size: 86.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for musicntwrk-2.1.0.tar.gz
Algorithm Hash digest
SHA256 0658183e4fc087c7921373a54640503dc53d21d9907dafc02ab904917770b403
MD5 aed1837e4d18bb3eda9df1316a1f1533
BLAKE2b-256 c0e46a3ee374e882c1c08c921106b320079a1fe7eac9f5a574d5ba31db2d2a96

See more details on using hashes here.

File details

Details for the file musicntwrk-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: musicntwrk-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 168.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for musicntwrk-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b64e8dba7765db602e05d96bf59f2835bc2e1812c003f14bae6e1916838cf41
MD5 609494f402414aba44b8e3886b9a46f1
BLAKE2b-256 30d2ef607c0b487aec776f9de88da0ae6a4ff7d758a04e4a3afb3420234c7557

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page