Top
Posted: June 12, 2011

bin2pcs Script

This perl script takes a decimal number and converts it to a list of pitch classes, and prints the list to the screen. For example, given the decimal number 145, the corresponding set would be {0, 4, 7}, since 145 = 20 + 24 + 27.

To install, use the same method as given here. Once installed, use the script by doing:

bin2pcs 145