File: events.rst.txt

package info (click to toggle)
python-pyo 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,332 kB
  • sloc: python: 135,133; ansic: 127,822; javascript: 16,116; sh: 395; makefile: 388; cpp: 242
file content (163 lines) | stat: -rw-r--r-- 3,492 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Events framework
============================

.. currentmodule:: pyo

Set of tools to generate sequence of events.

The purpose of the Event framework is to allow the user to generate a
sequence of events with as few as possible parameters to specify.

:py:class:`Events` is the heart of the framework. An Events object computes
parameters, generally designed with event generator objects, builds the events
and plays the sequence.

See the **Events framework** examples in the documentation for different use cases.

Objects in this category
------------------------------

- :py:class:`EventCall` :     Calls a function, with any number of arguments, and uses its return value.
- :py:class:`EventChoice` :     Plays values randomly chosen from a list.
- :py:class:`EventConditional` :     Executes one generator or the other depending on the result of a condition.
- :py:class:`EventDrunk` :     Performs a random walk over a list of values.
- :py:class:`EventDummy` : An EventGenerator created internally to handle arithmetic on Events.
- :py:class:`EventFilter` : An EventGenerator created internally to handle simple filter on Events.
- :py:class:`EventGenerator` :     Base class for all event generators.
- :py:class:`EventIndex` :     Plays values from a list based on a position index.
- :py:class:`EventInstrument` :     Base class for an Events instrument. All attributes given to the Events
- :py:class:`EventKey` :     An EventGenerator that allow to retrieve the value of another parameter.
- :py:class:`EventMarkov` :     Applies a Markov algorithm to a list of values.
- :py:class:`EventNoise` :     Return a random value between -1.0 and 1.0.
- :py:class:`EventScale` :     Musical scale builder.
- :py:class:`EventSeq` :     Plays through an entire list of values many times.
- :py:class:`EventSlide` :     Plays overlapping segments from a list of values.
- :py:class:`Events` :     Sequencing user-defined events to form musical phrases.

*EventScale*
-------------

.. autoclass:: EventScale
   :members:

   .. autoclasstoc::

*EventGenerator*
------------------

.. autoclass:: EventGenerator
   :members:

   .. autoclasstoc::

*EventDummy*
------------------

.. autoclass:: EventDummy
   :members:

   .. autoclasstoc::

*EventFilter*
------------------

.. autoclass:: EventFilter
   :members:

   .. autoclasstoc::

*EventKey*
------------------

.. autoclass:: EventKey
   :members:

   .. autoclasstoc::

*EventSeq*
------------------

.. autoclass:: EventSeq
   :members:

   .. autoclasstoc::

*EventSlide*
------------------

.. autoclass:: EventSlide
   :members:

   .. autoclasstoc::

*EventIndex*
------------------

.. autoclass:: EventIndex
   :members:

   .. autoclasstoc::

*EventMarkov*
------------------

.. autoclass:: EventMarkov
   :members:

   .. autoclasstoc::

*EventChoice*
------------------

.. autoclass:: EventChoice
   :members:

   .. autoclasstoc::

*EventDrunk*
------------------

.. autoclass:: EventDrunk
   :members:

   .. autoclasstoc::

*EventNoise*
------------------

.. autoclass:: EventNoise
   :members:

   .. autoclasstoc::

*EventCall*
------------------

.. autoclass:: EventCall
   :members:

   .. autoclasstoc::

*EventConditional*
------------------

.. autoclass:: EventConditional
   :members:

   .. autoclasstoc::

*EventInstrument*
------------------

.. autoclass:: EventInstrument
   :members:

   .. autoclasstoc::

*Events*
------------------

.. autoclass:: Events
   :members:

   .. autoclasstoc::