File: midi.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 (51 lines) | stat: -rw-r--r-- 1,473 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
Midi Setup
======================================

Set of functions to inspect the system's midi configuration.

.. note::

    These functions are available only if pyo is built with portmidi support.

.. currentmodule:: pyo

Functions in this category
------------------------------

- :py:func:`pm_get_default_output` :     Returns the index number of Portmidi’s default output device.
- :py:func:`pm_get_default_input` :     Returns the index number of Portmidi’s default input device.
- :py:func:`pm_get_output_devices` :     Returns midi output devices (device names, device indexes) found by Portmidi.
- :py:func:`pm_get_input_devices` :     Returns midi input devices (device names, device indexes) found by Portmidi.
- :py:func:`pm_list_devices` :     Prints a list of all devices found by Portmidi.
- :py:func:`pm_count_devices` :     Returns the number of devices found by Portmidi.

*pm_get_default_output*
---------------------------------

.. autofunction:: pm_get_default_output

*pm_get_default_input*
---------------------------------

.. autofunction:: pm_get_default_input

*pm_get_output_devices*
---------------------------------

.. autofunction:: pm_get_output_devices

*pm_get_input_devices*
---------------------------------

.. autofunction:: pm_get_input_devices

*pm_list_devices*
---------------------------------

.. autofunction:: pm_list_devices

*pm_count_devices*
---------------------------------

.. autofunction:: pm_count_devices