MIDIUSB Library For Arduino - GitHub

Skip to content Dismiss alert {{ message }} / MIDIUSB Public
  • Notifications You must be signed in to change notification settings
  • Fork 97
  • Star 555

A MIDI library over USB, based on PluggableUSB

License

LGPL-2.1 license 555 stars 97 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings
  • Code
  • Issues 35
  • Pull requests 1
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options arduino-libraries/MIDIUSB  masterBranchesTagsGo to fileCode

Folders and files

NameNameLast commit messageLast commit date

Latest commit

 

History

99 Commits
.github.github  
docsdocs  
documentationdocumentation  
examplesexamples  
srcsrc  
.codespellrc.codespellrc  
.gitignore.gitignore  
LICENSE.txtLICENSE.txt  
README.adocREADME.adoc  
keywords.txtkeywords.txt  
library.propertieslibrary.properties  
View all files

Repository files navigation

  • README
  • LGPL-2.1 license
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.

About

A MIDI library over USB, based on PluggableUSB

Resources

Readme

License

LGPL-2.1 license

Uh oh!

There was an error while loading. Please reload this page.

Activity Custom properties

Stars

555 stars

Watchers

45 watching

Forks

97 forks Report repository

Releases 6

1.0.5 Latest Aug 11, 2023 + 5 releases

Packages

No packages published

Uh oh!

There was an error while loading. Please reload this page.

Contributors 16

  • @facchinm
  • @per1234
  • @dependabot[bot]
  • @agdl
  • @aentinger
  • @karlsoderby
  • @fab672000
  • @paulo-raca
  • @sandeepmistry
  • @jb60
  • @WestfW
  • @odbol
  • @franky47
  • @essej
+ 2 contributors

Languages

  • C++ 63.5%
  • C 36.5%
You can’t perform that action at this time.

Tag » Arduino Midi Usb Library Download