Debian Codegraph @

documentation/source/api/classes/events.rst

raw
1 Events framework
2 ============================
3
4 .. currentmodule:: pyo
5
6 Set of tools to generate sequence of events.
7
8 The purpose of the Event framework is to allow the user to generate a
9 sequence of events with as few as possible parameters to specify.
10
11 :py:class:`Events` is the heart of the framework. An Events object computes
12 parameters, generally designed with event generator objects, builds the events
13 and plays the sequence.
14
15 See the **Events framework** examples in the documentation for different use cases.
16
17 Objects in this category
18 ------------------------------
19
20 - :py:class:`EventCall` : Calls a function, with any number of arguments, and uses its return value.
21 - :py:class:`EventChoice` : Plays values randomly chosen from a list.
22 - :py:class:`EventConditional` : Executes one generator or the other depending on the result of a condition.
23 - :py:class:`EventDrunk` : Performs a random walk over a list of values.
24 - :py:class:`EventDummy` : An EventGenerator created internally to handle arithmetic on Events.
25 - :py:class:`EventFilter` : An EventGenerator created internally to handle simple filter on Events.
26 - :py:class:`EventGenerator` : Base class for all event generators.
27 - :py:class:`EventIndex` : Plays values from a list based on a position index.
28 - :py:class:`EventInstrument` : Base class for an Events instrument. All attributes given to the Events
29 - :py:class:`EventKey` : An EventGenerator that allow to retrieve the value of another parameter.
30 - :py:class:`EventMarkov` : Applies a Markov algorithm to a list of values.
31 - :py:class:`EventNoise` : Return a random value between -1.0 and 1.0.
32 - :py:class:`EventScale` : Musical scale builder.
33 - :py:class:`EventSeq` : Plays through an entire list of values many times.
34 - :py:class:`EventSlide` : Plays overlapping segments from a list of values.
35 - :py:class:`Events` : Sequencing user-defined events to form musical phrases.
36
37 *EventScale*
38 -------------
39
40 .. autoclass:: EventScale
41 :members:
42
43 .. autoclasstoc::
44
45 *EventGenerator*
46 ------------------
47
48 .. autoclass:: EventGenerator
49 :members:
50
51 .. autoclasstoc::
52
53 *EventDummy*
54 ------------------
55
56 .. autoclass:: EventDummy
57 :members:
58
59 .. autoclasstoc::
60
61 *EventFilter*
62 ------------------
63
64 .. autoclass:: EventFilter
65 :members:
66
67 .. autoclasstoc::
68
69 *EventKey*
70 ------------------
71
72 .. autoclass:: EventKey
73 :members:
74
75 .. autoclasstoc::
76
77 *EventSeq*
78 ------------------
79
80 .. autoclass:: EventSeq
81 :members:
82
83 .. autoclasstoc::
84
85 *EventSlide*
86 ------------------
87
88 .. autoclass:: EventSlide
89 :members:
90
91 .. autoclasstoc::
92
93 *EventIndex*
94 ------------------
95
96 .. autoclass:: EventIndex
97 :members:
98
99 .. autoclasstoc::
100
101 *EventMarkov*
102 ------------------
103
104 .. autoclass:: EventMarkov
105 :members:
106
107 .. autoclasstoc::
108
109 *EventChoice*
110 ------------------
111
112 .. autoclass:: EventChoice
113 :members:
114
115 .. autoclasstoc::
116
117 *EventDrunk*
118 ------------------
119
120 .. autoclass:: EventDrunk
121 :members:
122
123 .. autoclasstoc::
124
125 *EventNoise*
126 ------------------
127
128 .. autoclass:: EventNoise
129 :members:
130
131 .. autoclasstoc::
132
133 *EventCall*
134 ------------------
135
136 .. autoclass:: EventCall
137 :members:
138
139 .. autoclasstoc::
140
141 *EventConditional*
142 ------------------
143
144 .. autoclass:: EventConditional
145 :members:
146
147 .. autoclasstoc::
148
149 *EventInstrument*
150 ------------------
151
152 .. autoclass:: EventInstrument
153 :members:
154
155 .. autoclasstoc::
156
157 *Events*
158 ------------------
159
160 .. autoclass:: Events
161 :members:
162
163 .. autoclasstoc::