Debian Codegraph @

documentation/source/api/functions/midi.rst

raw
1 Midi Setup
2 ======================================
3
4 Set of functions to inspect the system's midi configuration.
5
6 .. note::
7
8 These functions are available only if pyo is built with portmidi support.
9
10 .. currentmodule:: pyo
11
12 Functions in this category
13 ------------------------------
14
15 - :py:func:`pm_get_default_output` : Returns the index number of Portmidi’s default output device.
16 - :py:func:`pm_get_default_input` : Returns the index number of Portmidi’s default input device.
17 - :py:func:`pm_get_output_devices` : Returns midi output devices (device names, device indexes) found by Portmidi.
18 - :py:func:`pm_get_input_devices` : Returns midi input devices (device names, device indexes) found by Portmidi.
19 - :py:func:`pm_list_devices` : Prints a list of all devices found by Portmidi.
20 - :py:func:`pm_count_devices` : Returns the number of devices found by Portmidi.
21
22 *pm_get_default_output*
23 ---------------------------------
24
25 .. autofunction:: pm_get_default_output
26
27 *pm_get_default_input*
28 ---------------------------------
29
30 .. autofunction:: pm_get_default_input
31
32 *pm_get_output_devices*
33 ---------------------------------
34
35 .. autofunction:: pm_get_output_devices
36
37 *pm_get_input_devices*
38 ---------------------------------
39
40 .. autofunction:: pm_get_input_devices
41
42 *pm_list_devices*
43 ---------------------------------
44
45 .. autofunction:: pm_list_devices
46
47 *pm_count_devices*
48 ---------------------------------
49
50 .. autofunction:: pm_count_devices
51