/[paths]/doc/model.t2t
ViewVC logotype

Contents of /doc/model.t2t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 37 - (show annotations)
Sat Aug 18 19:10:32 2012 UTC (8 years, 1 month ago) by ben
File size: 2350 byte(s)
better documentation about objects that are menipulated
1 Paths model
2 BenoƮt Rouits
3 v%%date
4 %!encoding:UTF-8
5 %!options(html): --toc --toc-level 3 --css-inside
6 %!options(tex): --toc
7
8 %%toc
9
10
11 + Introduction +
12
13 Paths is a (maybe pointless) musical composition tool based on graphs. The idea is that a voice can 'travel' in a graph of notes, following a specific path, playing notes one after another.
14
15
16 + Structure +
17
18 Each instrument owns his graph. Each voice of that instrument owns a path of nodes. When multiple travellers encounter in a node, the note is seen as duplicated.
19
20
21 + Guided randomness +
22
23 In order to generate guided random music, a graph can be randomly connected.
24
25
26 ++ Parameters ++
27
28 A graph is defined by two sets: one of vertices (or nodes), and one of edges (or links). In this document, we will use the terms of nodes and links. Nodes in Path consist of notes, and links consist of a melodic relationship between two notes. Hence, a graph can be parametrable with:
29
30 - number of nodes (notes)
31 - number of links (relations)
32 - a linking model (relationship)
33
34
35 ++ Distance model (linking) ++
36
37 Once the nodes are generated, it is possible to apply a distance model among various ones. An incomplete list of distance models appears in Paths:
38
39 - microtonic
40 - chromatic
41 - harmonic
42 - diatonic
43 (ionian, dorian, phrygian, lydian, mixolydian, aeolian, locrian)
44
45
46 + Technical details for the user +
47
48
49 ++ Objects ++
50 Paths objects are as follow:
51
52 - a musical piece is of:
53 - several instruments
54 - an instrument is of:
55 - several voices
56 - a graph
57 - a midi channel
58 - a midi program
59 - a midi port
60 - a voice is of:
61 - a custom path
62 - a path is of:
63 - a sequence of events selected from the instrument's graph
64 - an event is of:
65 - a note with velocity and duration
66
67
68 In consequence, we can consider that the musical score is of multiple graphs and multiple paths per graph, played together at the same time.
69
70
71 ++ Output ++
72
73 Paths uses Jack to interface with synthesizers. More precisely, it uses the jack-midi interface. Paths open one midi port per instrument. If you want to route all instruments to the same synthesizer instance, just link all out ports of Paths to your synthesizer midi input, and set a different channel per instrument in Paths. If you prefer to use multiple sinthesizers, just route each out port of Paths to each of the synthesizers and you can let channel 0 for each instrument.

  ViewVC Help
Powered by ViewVC 1.1.26