• Stars
    star
    480
  • Rank 91,562 (Top 2 %)
  • Language
    C++
  • License
    GNU Lesser Genera...
  • Created over 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A MIDI library over USB, based on PluggableUSB

MIDIUSB Library for Arduino

Check Arduino status Compile Examples status Spell Check status

This library allows an Arduino board with USB capabilities to act as a MIDI instrument over USB. The library is based on PluggableUSB, so is only compatible with Arduino IDE 1.6.6 and newer.

Furthermore, since PluggableUSB only targets boards with native USB capabilities, this library only supports these boards (eg. Leonardo, Micro, Due, Zero and so on)

For more information about this library please visit us at http://www.arduino.cc/en/Reference/MIDIUSB

Test procedure (Linux)

Load the correct driver (sudo modprobe snd_seq_midi)

Flash the board with MIDIUSB_loop example, then execute aseqdump -l; the output will be something similar to

Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through Port-0
 20:0    Arduino Micro                    Arduino Micro MIDI 1

Port 20 is the one we’ll use in the following examples.

Start fluidsynth inside a shell with a soundbank

fluidsynth --server --audio-driver=alsa -o audio.alsa.device=hw:0 ~/Synth.SF2

In another shell, execute

aconnect 20 128

to connect our MIDI device with fluidsynth

Then, execute

aplaymidi  --port=20:0 ~/some_midi_file.mid

and the file will be played after a complete roundtrip to the board.

More Repositories

1

NTPClient

Connect to a NTP server
C++
537
star
2

MadgwickAHRS

Arduino implementation of the MadgwickAHRS algorithm
C++
456
star
3

ArduinoBLE

ArduinoBLE library for Arduino
C++
303
star
4

Ethernet

Ethernet Library for Arduino
C++
253
star
5

ArduinoModbus

C++
248
star
6

LiquidCrystal

Liquid Crystal Library for Arduino
C++
242
star
7

Servo

Servo Library for Arduino
C++
240
star
8

Keyboard

C++
226
star
9

ArduinoMqttClient

ArduinoMqttClient Library for Arduino
C++
186
star
10

SD

SD Library for Arduino
C++
177
star
11

WiFi101

Wifi library for the Arduino WiFi 101 Shield
C
158
star
12

Arduino_JSON

Official JSON Library for Arduino
C
150
star
13

WiFiNINA

C++
138
star
14

USBHost

USB Host Library for Arduino
C++
114
star
15

ArduinoIoTCloud

C
109
star
16

WiFi

WiFi Library for Arduino
C
107
star
17

Stepper

Stepper Library for Arduino
C++
99
star
18

Arduino_ConnectionHandler

C++
90
star
19

ArduinoRS485

C++
86
star
20

MKRWAN

An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios.
C++
85
star
21

ArduinoBearSSL

Port of BearSSL to Arduino
C
83
star
22

ArduinoLowPower

Powersave features for SAMD boards
C++
82
star
23

RTCZero

RTC Library for SAMD21 based boards
C++
77
star
24

ArduinoECCX08

C++
76
star
25

Arduino_OV767X

Official OV767X Library for Arduino , currently supports OV7670 and OV7675 cameras
C
69
star
26

ArduinoSound

C++
64
star
27

Arduino_DebugUtils

This class provides functionality useful for debugging sketches via printf-style statements.
C++
57
star
28

Mouse

C++
56
star
29

TFT

TFT Library for Arduino
C++
55
star
30

MKRGSM

C++
54
star
31

Audio

Audio Library for Arduino
C++
51
star
32

Scheduler

Scheduler Library for Arduino
C++
46
star
33

AudioFrequencyMeter

Allows the Arduino Zero and MKR1000 to sample a generic input audio signal and get the fundamental pitch
C++
46
star
34

GSM

GSM Library for Arduino
C++
44
star
35

Arduino_Threads

Simple thread-safe IO for parallel sketch execution. [BETA]
C++
43
star
36

Arduino_ESP32_OTA

C++
40
star
37

Arduino_MachineControl

C++
38
star
38

MKRNB

C++
35
star
39

Arduino_LSM9DS1

LSM9DS1 Library for Arduino
C++
34
star
40

ArduinoCloud

Easly connect your Arduino/Genuino board to the Arduino Cloud
C++
32
star
41

ArduinoGraphics

C
31
star
42

Arduino_LSM6DS3

LSM6DS3 Library for Arduino
C++
30
star
43

Arduino_SensorKit

C
28
star
44

Arduino_APDS9960

A library for the APDS9960 sensor, allows you to read gestures, color, and proximity on your Arduino Nano 33 BLE Sense board and other boards with sensor attached via I2C.
C++
26
star
45

ArduinoDMX

C++
22
star
46

Arduino_NineAxesMotion

9 Axes Motion Shield Library
C
20
star
47

Braccio

Arduino Braccio Library
C++
20
star
48

BNO055

C
20
star
49

Arduino_Pro_Tutorials

This library contains the complete Arduino sketches from the Arduino Pro Tutorials found on the Arduino docs website under the Tutorials title of the corresponding product.
C
20
star
50

Arduino_BMI270_BMM150

C
19
star
51

Arduino_OAuth

OAuth 1.0 client library for Arduino
C++
19
star
52

SigFox

Helper library for MKRFox1200 board and ATAB8520E Sigfox module
C++
19
star
53

UnoWiFi-Developer-Edition-Lib

Library for Arduino UNO WiFi Developer Edition
C++
18
star
54

Arduino_LSM6DSOX

C++
18
star
55

LoraNodeShield

Arduino library for LoRa Shield
C
17
star
56

Arduino_MKRIoTCarrier

Use the features included with the Arduino MKR IoT Carrier
C++
17
star
57

ArduinoMotorCarrier

C
16
star
58

WiFi101OTA

Update sketches to your SAMD board over WiFi
C++
16
star
59

Arduino_Portenta_OTA

OTA on the Arduino Portenta.
C++
15
star
60

Arduino_BQ24195

[Beta] Arduino library to control TI BQ24195 PMIC on compatible MKR boards
C++
15
star
61

WiFiLink-Library

Arduino Library WiFi Link
C++
14
star
62

Arduino_KNN

Arduino library for the K-Nearest Neighbors algorithm
C++
14
star
63

Arduino_CRC32

Arduino library providing a simple interface to perform checksum calculations utilizing the CRC-32 algorithm.
C++
14
star
64

Bridge

Bridge Library for Arduino
C++
13
star
65

Arduino_HTS221

HTS221 Library for Arduino
C++
13
star
66

Arduino_MCHPTouch

Use the touch capabilities of Arduino MKR boards and Arduino Nano 33 IoT
C
12
star
67

AudioZero

Allows playing audio files from an SD card. For Arduino Zero and MKR1000 only.
C++
12
star
68

WiFiLink-Firmware

Arduino WiFi Link firmware for ESP8266 based boards
CSS
11
star
69

Arduino_EdgeControl

Arduino Library for Arduino Edge Control
C++
11
star
70

Arduino_UnifiedStorage

Read and write files to flash, USB mass storage and SD cards in a unified way.
C++
11
star
71

RestClient

A REST client for Arduino Zero / MKR1000 derived from https://github.com/csquared/arduino-restclient
C++
11
star
72

Arduino_PortentaBreakout

C++
10
star
73

Robot_Control

Robot Control Library for Arduino
C++
10
star
74

ArduinoCloudThing

C
10
star
75

Arduino_AVRSTL

Arduino library providing STL for ArduinoCore-avr and ArduinoCore-megaavr boards.
C++
9
star
76

Arduino_ScienceJournal

C++
9
star
77

Arduino_PortentaMachineControl

The official, revamped Arduino Library for the Portenta Machine Control.
C++
9
star
78

Arduino_AdvancedAnalog

Advanced Analog Library
C++
8
star
79

RobotIRremote

Robot IR Remote Library for Arduino
C++
8
star
80

Arduino_BHY2

Mirror of https://github.com/arduino/nicla-sense-me-fw , please post any issue there
C
8
star
81

Arduino_MKRGPS

MKRGPS Library for Arduino
C
8
star
82

Modulino

C
8
star
83

WiFi_for_UNOWiFi_rev1

Arduino WiFi Library
C++
7
star
84

Arduino_GigaDisplay_GFX

C++
7
star
85

Arduino_Braccio_plusplus

C
7
star
86

MKRWAN_v2

[Beta] Library for Arduino MKRWAN 1300 / 1310 suitable for firmwares derived from ST sources
C++
7
star
87

Arduino_MultiWiFi

C++
7
star
88

Esplora

Esplora Library for Arduino
C++
7
star
89

Arduino_GigaDisplay

Library for controlling the RGB on the GIGA Display Shield. It contains, also, a set of examples to use the display.
C++
7
star
90

Arduino_MKRMEM

Arduino library providing SPIFFS for the W25Q16DV flash on the MKR MEM shield.
C
7
star
91

Arduino_LPS22HB

LPS22HB Library for Arduino
C++
6
star
92

Robot_Motor

Robot Motor Library for Arduino
C++
6
star
93

Arduino_BuiltIn

Shell Arduino library to provide the standard built-in libraries
C
6
star
94

USBHostGiga

C
6
star
95

Arduino_Perceptron

Arduino library for the Perceptron algorithm.
C++
5
star
96

AlPlc_Opta

Library for Arduino PLC IDE runtime and plugins for Arduino Opta
C++
5
star
97

AlPlc_PMC

Library for Arduino PLC IDE runtime and plugins for Arduino Portenta Machine Control
C++
4
star
98

Ciao

Arduino Ciao Library (MCU side)
C++
4
star
99

MKRIMU

C++
4
star
100

Arduino_CMSIS-DSP

ARM CMSIS DSP repackaged as an Arduino library
Shell
4
star