About Scorelib

Scorelib is a C++ library for parsing and converting SCORE data files into other musical data formats. The code library also contains a collection of utility programs which illustrate the use of the Scorelib library.

Example SCORE data

Each musical item is represented by a list of numeric parameters in the SCORE editor. These value are typically stored in a binary file format, but can be saved as lines of numbers in ASCII text with the PMX command. Lines in the PMX data can occur in any order (except for certain items type like text objects which consist of two adjacent lines).

# measure 1:
8 1 0 0 0.75 200
14 1 0 2
14 1 0 2 8
8 2 0 -1.5 0.75 200
3 1 2.208 0 1
3 2 2.208
17 1 8.333 0 -3 1
17 2 8.333 0 -3
18 1 15.55 0 2 4
18 2 15.55 0 2 4
t 2 16.499 19.375 1 1.25 0 0 0 0 -1.013 0 9
_00Adagio

9 2 23.682 -3 53
t 2 24.21 14 1 1 0 0 0 0 0 0 5
_00Le

2 1 24.218 0 -2 0 2 0 31.77
1 2 24.218 5 0 0 1
1 2 24.218 3 10 0 1 2
t 2 24.295 -8.625 1 1 0 0 0 0 -1.013 0 13
_02espressivo

t 2 30.835 13.625 1 1 0 0 0 0 0 0 4
_00-

t 2 35.64 14 1 1 0 0 0 0 0 0 5
_00be

1 2 35.64 4 0 0 1
1 2 35.64 0 10 0 1 4

# measure 2:
14 1 47.42 2
1 2 50.045 3 0 0 1.5 0 10
t 2 50.045 14 1 1 0 0 0 0 0 0 7
_00wohl

1 2 50.045 -2 10 0 1.5 5 10
1 1 50.045 -1 10 0 1.5 7 10
1 1 50.045 6 0 0 1.5 0 10
6 2 64.619 5.5 6 71.8 12 0 0 21 0 71.8
1 2 64.619 3 10 0 0.375 2.5 10.95
1 1 64.619 6 10 0 0.5 2 1
1 1 64.619 8 0 0 0.5
5 2 65.244 1 4 71.8 -1.1633 -1
1 2 71.803 6 10 0 0.125

# measure 3:
14 1 77.022 2
1 2 80.335 5 10 0 0.5 2.5
6 2 80.335 7.5 8.88 95.35 11 0 0 11 88.88 95.35 21 0 95.35
1 1 80.335 5 10 0 0.5 1.5
1 1 80.335 8 3 0 0.5
6 1 80.335 6.5 7.5 107.87 11
1 1 88.169 8 0 0 0.5
1 1 88.169 5 10 0 0.5 1.78
1 2 88.169 5 10 0 0.375 3.31 10.95 1
5 2 90.169 15.88 16.5 96.25 1.0133 -1 0 0.55 0 0 0.8
1 2 95.353 9 11 0 0.125 -0.13
1 1 99.301 4 13 0 0.5 3.19
1 1 99.301 9 0 0 0.5
6 2 99.301 9 10 115.39 11 0 0 11 107.87 115.39 21 0 115.39
1 2 99.301 8 10 0 0.5 1
1 1 107.866 4 11.18 0 0.5 3.5
1 1 107.866 9 2 0 0.5
1 2 107.866 8 10 0 0.375 1.53 10
5 2 109.16 17.38 17.88 116.18 1.0633 -1
9 2 111.857 2.88 75 0.65
9 2 113.767 -0.25 8 0.18
9 2 113.892 4.75 8 0.2
1 2 115.386 9 13 0 0.125 1

# measure 4:
14 1 120.605 2
1 2 123.23 10 10 0 0.75 -0.5 10
6 2 123.23 9.5 7.5 141.98 11 0 0 11 0 136.1
6 2 123.23 5 4 141.98 21
1 2 123.23 3 20 0 0.5 -2
1 1 123.23 10 10 0 0.5 -0.5
6 1 123.23 9.5 10.5 141.98 11
5 1 123.23 8 10 141.98 -1.9215 -1
1 1 123.23 3 20 0 1.5 -1.5 10
5 2 123.48 17.38 15.13 142.23 1.7271 -4
1 2 132.078 4 22.28 0 0.5 -0.53
1 1 132.078 11 13 0 0.5 -1.03
1 2 132.078 3 0 0 0.5 0 0 20
1 2 136.099 8 10 0 0.25 0.13
1 1 141.984 12 13 0 0.5 -1.5
1 2 141.984 2 0 0 0.5
1 2 141.984 5 20 0 0.5 1
1 2 141.984 7 13 0 0.5 0.5
5 2 149.193 14.88 19 154.85 1.6255 -1 0 0.45
2 1 149.818 0 1 0 0.5
1 2 149.818 12 20 0 0.25 -1
6 2 149.818 13 13.5 155.6 22
1 2 155.604 17 20 0 0.25 3.5
3 1 156.456 100

# measure 5:
14 1 161.543 2
6 2 164.168 16 15 177.49 11 0 0 11 0 177.49
1 1 164.168 -2 20 0 1.5 -2 10
6 2 164.168 10 9 191.72 21
1 2 164.168 10 20 0 0.5
1 2 164.168 17 10 0 0.75 -1 10
1 1 164.168 5 10 0 0.5 0.5
6 1 164.168 5.5 7 191.72 11
9 2 164.969 -5 63
1 2 173.069 11 22.28 0 0.5 1.32
1 1 173.069 6 13 0 0.5 -0.02
1 2 173.069 10 0 0 0.5 0 0 20
1 2 177.495 15 10 0 0.25
1 2 183.432 9 0 0 0.5
1 2 183.432 12 20 0 0.5 2.7
6 2 183.432 12.5 12.5 191.72 11
1 2 183.432 14 13 0 0.5 -1.5
1 1 183.432 7 13 0 0.5 -0.45
1 2 191.716 9 0 0 0.5
1 2 191.716 12 20 0 0.5 3
1 2 191.716 14 11 0 0.5 -1.5
1 1 191.716 5 20 0 0.5 -0.5 1
1 1 191.716 7 11 0 0.5

14 1 200 2

Scroll through the above data and move the mouse over a particular line to highlight the corresponding item in the graphic notation below. Or mouse over the notation to see the PMX data for each graphical element.

Adagio Le espressivo - be wohl cresc.