Jump to content
Sign in to follow this  
JulioHerrlein

Set Theory: Retrieving Pitch Class sets from collections of notes

Recommended Posts

Dear All,

 

I´m looking for some way of retrieving musical information from sets of notes.

Some problems, for example:

 

1) This is the first and more needed now:

Given some UNORDERED amount of pitches, how retrive the prime

 form and/or Forte Number.

2) How to do this from an existing midi file or XML ? Is t possible to

 retrive the forte number of every "n" notes of the pitch collection (melody or chord)?

3) Can you circunscribe some notes for analysis in a large file ?
 

Thanks, everyone !

 

Best,

Julio

Share this post


Link to post
Share on other sites

> Given some UNORDERED amount of pitches, how retrive the prime form and/or Forte Number.

 

Check out function pcs-analysis. The problem is that this function does not return, but only print that data, so it is difficult to apply such analysis on a sequence/list of interval sets etc. 

 

> How to do this from an existing midi file or XML ? Is t possible to retrive the forte number of every "n" notes of the pitch collection (melody or chord)?

 

You can import MIDI files with function midi-to-score, but not (yet?) MusicXML file. 

 

Can you circunscribe some notes for analysis in a large file ?

 

What do you mean?

 

BTW, for music analysis you may want to have a look at systems designed for that, like the free music21 (http://web.mit.edu/music21/), based on Python. music21 can import music in various formats, including MIDI and MusicXML (the latter is preferable). The kind of analysis you are after is documented in the tutorial, e.g., at http://web.mit.edu/music21/doc/usersGuide/usersGuide_25_postTonalTools1.html?highlight=forte, which shows how you can add, e.g., the Forte class analysis as text (lyrics) to the score, which in turn you could export as MusicXML. With some Python programming you could also export your analysis data in a format that Lisp and thus could in turn import. E.g., you could export it from Python to JSON format (https://docs.python.org/2/library/json.html), and then import that data into Common Lisp (e.g., https://common-lisp.net/project/cl-json/).

 

Best,

Torsten 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×