File: rtmidi_python.rst

package info (click to toggle)
python-mido 1.3.3-0.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 924 kB
  • sloc: python: 4,006; makefile: 127; sh: 4
file content (40 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (2)
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
.. SPDX-FileCopyrightText: 2013 Ole Martin Bjorndalen <ombdalen@gmail.com>
..
.. SPDX-License-Identifier: CC-BY-4.0

rtmidi_python
-------------

Name: ``mido.backends.rtmidi_python``

Resources:

* `rtmidi-python Python Library <https://pypi.org/project/rtmidi-python/>`_


Installing
^^^^^^^^^^

::

    python3 - m pip install rtmidi-python


Features
^^^^^^^^

* uses the ``rtmidi_python`` package rather than ``python-rtmidi``

* supports callbacks

* limited support for virtual ports (no client name)

* no true blocking

* sends but doesn't receive ``active sensing``

.. todo::

    Since the API of ``rtmidi_python`` and ``python-rtmidi`` are almost
    identical it would make sense to refactor so they share most of the
    code.