Viewpoints » History » Version 3
Marcus Pearce, 2014-06-03 07:58 PM
1 | 1 | Marcus Pearce | h1. Viewpoints |
---|---|---|---|
2 | 2 | Marcus Pearce | |
3 | 2 | Marcus Pearce | Viewpoints are representations of musical structure. The <code>viewpoint-sequence</code> returns a representation of a melody (composition 0 in dataset 0) corresponding to the supplied viewpoint (chromatic pitch: cpitch). The output corresponds to the pitch of each note in the melody. |
4 | 2 | Marcus Pearce | |
5 | 2 | Marcus Pearce | <pre> |
6 | 2 | Marcus Pearce | CL-USER> (viewpoints:viewpoint-sequence |
7 | 3 | Marcus Pearce | (viewpoints:get-viewpoint 'cpitch) |
8 | 3 | Marcus Pearce | (md:get-event-sequence 0 0)) |
9 | 2 | Marcus Pearce | (6500 6200 6000 6000 6000 6000 6500 6500 6500 6900 6900 6900 6900 6900 6700 |
10 | 2 | Marcus Pearce | 6500 6500 6500 6200 6000 6000 6500 6900 6900 6700 6500 6000 6000 6000 6000 |
11 | 2 | Marcus Pearce | 6500 6500 6500 6500 6900 6900 6900 6900 7200 7200 7700 7400 7200 6900 6900 |
12 | 2 | Marcus Pearce | 6900 6900 6500 6700 6900 6500 6500 6500 7700 7400 7200 7400 7600 7700 7200 |
13 | 2 | Marcus Pearce | 7200 7400 7200 7400 7600 7700 7400 7200 7400 7600 7700 7600 7700 7400 7200 |
14 | 2 | Marcus Pearce | 6900 6700 6500 6700 7700 7700 7400 7200 7400 7600 7700 7200 7200 7400 7200 |
15 | 2 | Marcus Pearce | 7400 7600 7700 7600 7400 7200 6900 6900 6900 6900 6700 6500 6700 6900 6500 |
16 | 2 | Marcus Pearce | 6500) |
17 | 2 | Marcus Pearce | </pre> |
18 | 2 | Marcus Pearce | |
19 | 2 | Marcus Pearce | h2. Derived viewpoints |
20 | 2 | Marcus Pearce | |
21 | 2 | Marcus Pearce | We can also use viewpoints which represent derived features such as pitch interval (cpint) or IOI ratio (ioi-ratio). Note that because these two derived viewpoints represent relationships between notes, they are undefined for the first note in the sequence (which has no predecessor). |
22 | 2 | Marcus Pearce | |
23 | 2 | Marcus Pearce | <pre> |
24 | 2 | Marcus Pearce | CL-USER> (viewpoints:viewpoint-sequence |
25 | 3 | Marcus Pearce | (viewpoints:get-viewpoint 'cpint) |
26 | 3 | Marcus Pearce | (md:get-event-sequence 0 0)) |
27 | 2 | Marcus Pearce | (-300 -200 0 0 0 500 0 0 400 0 0 0 0 -200 -200 0 0 -300 -200 0 500 400 0 -200 |
28 | 2 | Marcus Pearce | -200 -500 0 0 0 500 0 0 0 400 0 0 0 300 0 500 -300 -200 -300 0 0 0 -400 200 |
29 | 2 | Marcus Pearce | 200 -400 0 0 1200 -300 -200 200 200 100 -500 0 200 -200 200 200 100 -300 -200 |
30 | 2 | Marcus Pearce | 200 200 100 -100 100 -300 -200 -300 -200 -200 200 1000 0 -300 -200 200 200 100 |
31 | 2 | Marcus Pearce | -500 0 200 -200 200 200 100 -100 -200 -200 -300 0 0 0 -200 -200 200 200 -400 0) |
32 | 2 | Marcus Pearce | </pre> |
33 | 2 | Marcus Pearce | |
34 | 2 | Marcus Pearce | |
35 | 2 | Marcus Pearce | <pre> |
36 | 2 | Marcus Pearce | CL-USER> (viewpoints:viewpoint-sequence |
37 | 3 | Marcus Pearce | (viewpoints:get-viewpoint 'ioi-ratio) |
38 | 3 | Marcus Pearce | (md:get-event-sequence 0 0)) |
39 | 2 | Marcus Pearce | (1 1/2 1 1 1 2 1/2 1 1 1 1 1 2 1 1/2 1 2 1 1/2 1 2 1/2 1 3 1/3 1 1 1 1 1 1 1 1 |
40 | 2 | Marcus Pearce | 1 1 1 1 1 1 1 1 1 1 1 1 2 1/2 1 1 1 2 3/2 1/3 1 1 1 1 2 1/2 1 1 1 1 1 4 1/4 1 |
41 | 2 | Marcus Pearce | 1 1 1 1 1 1 1 1 1 1 2 1/2 1 1 1 1 1 2 1/2 1 1 1 1 1 2 1/2 1 1 1 1 1 1 1 1 1 2 |
42 | 2 | Marcus Pearce | 1) |
43 | 2 | Marcus Pearce | </pre> |
44 | 2 | Marcus Pearce | |
45 | 2 | Marcus Pearce | |
46 | 2 | Marcus Pearce | h3. Linked viewpoints |
47 | 2 | Marcus Pearce | |
48 | 2 | Marcus Pearce | Linked viewpoints are represented as a list of component viewpoints. Here is an example of linking pitch interval (cpint) with scale degree (cpintfref): |
49 | 2 | Marcus Pearce | |
50 | 2 | Marcus Pearce | <pre> |
51 | 2 | Marcus Pearce | CL-USER> (viewpoints:viewpoint-sequence |
52 | 3 | Marcus Pearce | (viewpoints:get-viewpoint '(cpint cpintfref)) |
53 | 3 | Marcus Pearce | (md:get-event-sequence 0 0)) |
54 | 2 | Marcus Pearce | ((-300 900) (-200 700) (0 700) (0 700) (0 700) (500 0) (0 0) (0 0) (400 400) |
55 | 2 | Marcus Pearce | (0 400) (0 400) (0 400) (0 400) (-200 200) (-200 0) (0 0) (0 0) (-300 900) |
56 | 2 | Marcus Pearce | (-200 700) (0 700) (500 0) (400 400) (0 400) (-200 200) (-200 0) (-500 700) |
57 | 2 | Marcus Pearce | (0 700) (0 700) (0 700) (500 0) (0 0) (0 0) (0 0) (400 400) (0 400) (0 400) |
58 | 2 | Marcus Pearce | (0 400) (300 700) (0 700) (500 0) (-300 900) (-200 700) (-300 400) (0 400) |
59 | 2 | Marcus Pearce | (0 400) (0 400) (-400 0) (200 200) (200 400) (-400 0) (0 0) (0 0) (1200 0) |
60 | 2 | Marcus Pearce | (-300 900) (-200 700) (200 900) (200 1100) (100 0) (-500 700) (0 700) |
61 | 2 | Marcus Pearce | (200 900) (-200 700) (200 900) (200 1100) (100 0) (-300 900) (-200 700) |
62 | 2 | Marcus Pearce | (200 900) (200 1100) (100 0) (-100 1100) (100 0) (-300 900) (-200 700) |
63 | 2 | Marcus Pearce | (-300 400) (-200 200) (-200 0) (200 200) (1000 0) (0 0) (-300 900) (-200 700) |
64 | 2 | Marcus Pearce | (200 900) (200 1100) (100 0) (-500 700) (0 700) (200 900) (-200 700) (200 900) |
65 | 2 | Marcus Pearce | (200 1100) (100 0) (-100 1100) (-200 900) (-200 700) (-300 400) (0 400) |
66 | 2 | Marcus Pearce | (0 400) (0 400) (-200 200) (-200 0) (200 200) (200 400) (-400 0) (0 0)) |
67 | 2 | Marcus Pearce | </pre> |