Home
last modified time | relevance | path

Searched full:midi (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/samples/subsys/usb/midi/
DREADME.rst5 Implements a simple USB MIDI loopback and keyboard device.
10 This sample demonstrates how to implement a USB MIDI device. It can run on
16 The application exposes a single USB-MIDI interface with a single bidirectional
18 that carries MIDI1 messages, pretty much like a standard USB-MIDI in/out adapter
19 would provide. The loopback acts as if a real MIDI cable was connected between
20 the output and the input, and the input keys act as a MIDI keyboard.
25 The code can be found in :zephyr_file:`samples/subsys/usb/midi`.
30 :zephyr-app: samples/subsys/usb/midi
35 Using the MIDI interface
39 with MIDI support. For example, on Linux, you can use alsa to access the device:
[all …]
Dsample.yaml2 name: USB MIDI 2.0 device class sample
4 sample.usb_device_next.midi:
Dprj.conf4 CONFIG_SAMPLE_USBD_PRODUCT="USBD MIDI Sample"
/Zephyr-latest/include/zephyr/usb/class/
Dusbd_midi2.h15 * @brief USB MIDI 2.0 class device API
16 * @defgroup usbd_midi2 USB MIDI 2.0 Class device API
20 * @see midi20: "Universal Serial Bus Device Class Definition for MIDI Devices"
26 #include <zephyr/audio/midi.h>
33 * @brief Callback type for incoming Universal MIDI Packets from host
35 * @param[in] ump The received packet in Universal MIDI Packet format
48 * @brief Send a Universal MIDI Packet to the host
50 * @param[in] ump The packet to send, in Universal MIDI Packet format
52 * -EIO if USB MIDI 2.0 is not enabled by the host
58 * @brief Set the application event handlers on a USB MIDI device
/Zephyr-latest/include/zephyr/audio/
Dmidi.h17 * @brief Universal MIDI Packet definitions
18 * @defgroup midi_ump MIDI2 Universal MIDI Packet definitions
22 * @see ump112: "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol"
28 * @brief Universal MIDI Packet container
45 /** MIDI 1.0 Channel Voice Messages */
49 /** MIDI 2.0 Channel Voice Messages */
60 * @brief Message Type field of a Universal MIDI Packet
61 * @param[in] ump Universal MIDI Packet
77 * @brief Size of a Universal MIDI Packet, in 32bit words
78 * @param[in] ump Universal MIDI Packet
[all …]
/Zephyr-latest/samples/subsys/usb/midi/src/
Dmain.c7 * @brief Sample application for USB MIDI 2.0 device class
20 static const struct device *const midi = DEVICE_DT_GET(DT_NODELABEL(usb_midi)); variable
26 /* Only handle key presses in the 7bit MIDI range */ in key_press()
37 usbd_midi_send(midi, ump); in key_press()
43 LOG_INF("Received MIDI packet (MT=%X)", UMP_MT(ump)); in on_midi_packet()
70 if (!device_is_ready(midi)) { in main()
71 LOG_ERR("MIDI device not ready"); in main()
82 usbd_midi_set_ops(midi, &ops); in main()
/Zephyr-latest/subsys/usb/device_next/class/
DKconfig.midi26 bool "USB MIDI 2.0 class support [EXPERIMENTAL]"
9 Enable the USB MIDI 2.0 device class support.
Dusbd_midi2.c46 /* midi20 A.7 Group Terminal Default MIDI Protocol */
75 /* midi20 5.3.2 Class-Specific MIDI Streaming Data Endpoint Descriptor */
/Zephyr-latest/dts/bindings/usb/
Dzephyr,midi2-device.yaml21 device exchange Universal MIDI Packets with the host.
36 - "use-midi-ci"
41 Default MIDI protocol of the Group Terminals in this Block.
/Zephyr-latest/doc/connectivity/usb/device_next/api/
Dusbd_midi2.rst3 MIDI 2.0 Class device API
6 USB MIDI 2.0 device specific API defined in :zephyr_file:`include/zephyr/usb/class/usbd_midi2.h`.
/Zephyr-latest/dts/bindings/spi/
Dst,stm32h7-spi.yaml18 midi-clock:
/Zephyr-latest/doc/releases/
Drelease-notes-4.1.rst51 **USB MIDI Class Driver**
52 Introduction of a new :ref:`USB MIDI 2.0 <usbd_midi2>` device driver, allowing Zephyr devices to
53 communicate with MIDI controllers and instruments over USB.
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-tools.rst58 ./bootstrap-configure --disable-android --disable-midi