Skip to content

Angular modules depicting Allen Forte's Pitch Class Set Theory

Notifications You must be signed in to change notification settings

juanstiza/ngForte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngForte

Version 0.0.3

API

Create new PC set

var pc = PitchClassSet.withArray([0,4,7,8]);

Get prime form

pc.primeForm.toString()
//returns '(0,1,4,8)'

Get prime inversion

pc.primeInversion.toString()
//returns '[0,3,4,8]'

Get interval vector

pc.iv.toString()
//returns '<101310>'

Other functions

Get map for pitch class

pc.hash.map
//returns [1,0,0,0,1,0,0,1,1,0,0,0]

About

Angular modules depicting Allen Forte's Pitch Class Set Theory

Resources

Stars

Watchers

Forks

Packages

No packages published