musical_non-markovianity
Code in C to compute matrices for musical analysis. Context: evaluation of musical non-Markovianity. Concept: Maria Mannone and Giuseppe Compagno. Coding: Maria Mannone
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Repository
Code in C to compute matrices for musical analysis. Context: evaluation of musical non-Markovianity. Concept: Maria Mannone and Giuseppe Compagno. Coding: Maria Mannone
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
musical_non-Markovianity
This repo contains the original C code by Maria Mannone to compute distribution matrices starting from musical MIDI-like parameters. These matrices can then be used to compute the coefficient of non-Markovianity, as described in the article "Characterization of the degree of Musical non-Markovianity," by M. Mannone and G. Compagno. This code was part of Mannone's MSc thesis in theoretical physics (chapter 8).
In 2023, Omar Costa Hamido reviewed and ported the code to Max/MSP. The goal was to make the code more interactive, compatible with regular MIDI files, and optimize the workflow.
How to run (the new Max version)
- make sure you have Max/MSP installed on your machine
- open the musical_non-Markovianity.maxproj file
- this should launch Max and open the main patch
Note: You can download and run Max for free without authorizing it or activating the 30 day demo. See limitations here.
option 1: loading files
- use the
click to open a filebutton or drag and drop a file to the area below- you can load either
.txtor.midfiles
- you can load either
- the top table will auto populate with the contents of the text file or the parsed MIDI file.
- click the button labelled
GO!to start computing this melody (some intermediary steps will be printed to the console) - the 5 tables on the right side will display the results
option 2: live recording
- double click the
midiinobject to select your MIDI input interface - click the gray square above it - it will light up red, letting you know that it will to record as soon as you start playing
- when done, click the red square again, or press the spacebar, to turn OFF recording
- Bonus tip: in Max, navigate to the menu
Extras > GlobalTransport. You can change its setting like speed, turn it ON with the button in front ofActivate, and enable audio click track with the button in front ofClick
Reporting problems and getting help
For the Max version: please check current issues here and add your comment on relevant thread, or open a new issue here. For the C version: please check current issues here and add your comment on relevant thread, or open a new issue here. Note: you need a free github account.
Owner
- Login: medusamedusa
- Kind: user
- Repositories: 3
- Profile: https://github.com/medusamedusa
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Hamido" given-names: "Omar Costa" orcid: "https://orcid.org/0000-0001-5077-853X" - family-names: "Mannone" given-names: "Maria" orcid: "https://orcid.org/0000-0003-3606-3436" title: "musical_non-Markovianity" version: 1.0.0 doi: 10.5281/zenodo.8152692 date-released: 2023-07-16 url: "https://github.com/omarcostahamido/musical_non-Markovianity"