Displaying 1 result from an estimated 1 matches for "pcab".
Did you mean:
pca
2005 Aug 13
1
How to change the names in tone pitch column
...3 0 E4 96 1 0
7 1 3 0 B3 96 1 0
8 1 3 0 G#3 96 1 0
9 1 4 0 C#5 96 1 0
10 1 4 0 D4 96 0 512
Now I'd like to change them to "pitch classes" (column "pc" here, which
has the values between 0-11, using modulo 12) and absolute midi numbers
(column pcAb, values 0->107), so as results A4 gives 9 and 57 (and for
example C0 gives 0 and O, C2-> 0 and 24 etc):
> compo[1:10,]
V1 V2 V3 V4 V5 V6 V7 pc pcAb
1 1 1 0 A4 96 2 0 9 57
2 1 1 0 E4 96 2 0 4 52
3 1 1 0 C#4 96 2 0 1 49
4 1 1 0 A3 96 2 0 9 45...