All Projects → lathoub → Arduino Applemidi Library

lathoub / Arduino Applemidi Library

Licence: other
Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)

Projects that are alternatives of or similar to Arduino Applemidi Library

Irremoteesp8266
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Stars: ✭ 1,964 (+1009.6%)
Mutual labels:  arduino, esp32, arduino-ide, arduino-library, esp8266
Control Surface
Arduino library for creating MIDI controllers and other MIDI devices.
Stars: ✭ 377 (+112.99%)
Mutual labels:  arduino, esp32, arduino-library, teensy, midi
Guislice
GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Stars: ✭ 534 (+201.69%)
Mutual labels:  arduino, esp32, arduino-library, teensy, esp8266
Espui
A simple web user interface library for ESP32 and ESP8266
Stars: ✭ 330 (+86.44%)
Mutual labels:  arduino, esp32, arduino-ide, arduino-library, esp8266
Ssd1306
Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
Stars: ✭ 303 (+71.19%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Deviot
Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Stars: ✭ 281 (+58.76%)
Mutual labels:  arduino, esp32, arduino-ide, esp8266
Tts
Text-to-Speech for Arduino
Stars: ✭ 118 (-33.33%)
Mutual labels:  arduino, esp32, teensy, esp8266
Easybutton
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
Stars: ✭ 187 (+5.65%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Pzem004t
Arduino communication library for Peacefair PZEM-004T Energy monitor
Stars: ✭ 165 (-6.78%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Arduino Homekit Esp8266
Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
Stars: ✭ 545 (+207.91%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Esp8266audio
Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
Stars: ✭ 972 (+449.15%)
Mutual labels:  arduino, esp32, midi, esp8266
Bleeper
Library to manage your firmware configurations written in C++
Stars: ✭ 54 (-69.49%)
Mutual labels:  arduino, esp32, arduino-ide, esp8266
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+31.64%)
Mutual labels:  arduino, esp32, arduino-ide, esp8266
Arduinowebsockets
A library for writing modern websockets applications with Arduino (ESP8266 and ESP32)
Stars: ✭ 213 (+20.34%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (+14.12%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Tft espi
Arduino and PlatformIO IDE compatible TFT library optimised for the STM32, ESP8266 and ESP32 that supports different driver chips
Stars: ✭ 1,215 (+586.44%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Esp32 Ble Mouse
Bluetooth LE Mouse library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 180 (+1.69%)
Mutual labels:  arduino, esp32, arduino-ide, arduino-library
Arduinojson
📟 JSON library for Arduino and embedded C++. Simple and efficient.
Stars: ✭ 5,456 (+2982.49%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Aunit
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with AUniter or EpoxyDuino for continuous builds.
Stars: ✭ 73 (-58.76%)
Mutual labels:  arduino, esp32, arduino-library, esp8266
Espmqttclient
Wifi and MQTT handling for ESP8266 and ESP32
Stars: ✭ 169 (-4.52%)
Mutual labels:  arduino, esp32, arduino-library, esp8266

AppleMIDI (aka rtpMIDI) for Arduino

arduino-library-badge Build Status License: CC BY-SA 4.0

Enables an Arduino with IP/UDP capabilities (Ethernet shield, ESP8266, ESP32, ...) to particpate in an AppleMIDI session.

Important: Please read the note below on enlarging the standard Ethernet library buffersize to avoid dropping MIDI messages!

Features

  • Build on top of the popular FortySevenEffects MIDI library
  • Tested with AppleMIDI on Mac OS (Big Sur) and using rtpMIDI from Tobias Erichsen on Windows 10
  • Send and receive all MIDI messages
  • Uses callbacks to receive MIDI commands (no need for polling)
  • Automatic instantiation of AppleMIDI object (see at the end of 'AppleMidi.h')
  • Compiles on Arduino, MacOS (XCode) and Windows (MSVS)

New in 3.0.0

  • Bug Fixes (long session names get cropped)
  • Reduced memory footprint (see AVR_MinMemUsage example and note below)
  • Extended and revised callbacks to receive AppleMIDI protocol feedback (see AVR_Callbacks example)
  • Who may connect to me (Directory) (see AVR_Directory example)

New in 3.1.0

  • Increased stability in high-throughput situations
  • Updated wiki

Installation

From the Arduino IDE Library Manager, search for AppleMIDI

Installation

This will also install FortySevenEffects MIDI library

Basic Usage

#include <Ethernet.h>
#include <AppleMIDI.h>

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

APPLEMIDI_CREATE_DEFAULTSESSION_INSTANCE(); 

void setup()
{
  Ethernet.begin(mac);

  MIDI.begin(); // listens on channel 1
}

void loop()
{
  // Listen to incoming notes
  MIDI.read();
  
  ....
  if (something) {
    // Send MIDI note 40 on, velocity 55 on channel 1
    MIDI.sendNoteOn(40, 55, 1);
  }
}

More usages in the examples folder and in the wiki

Hardware

  • Arduino/Genuino (Mega, Uno, Arduino Ethernet, MKRZERO, ...)
  • ESP8266 (Adafruit HUZZAH ESP8266, Sparkfun ESP8266 Thing Dev)
  • ESP32 (Adafruit HUZZAH32 – ESP32 Feather Board) Wi-Fi
  • ESP32 with W5500 Setup
  • Teensy 3.2 & 4.1
  • Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500

Network Shields

  • Arduino Ethernet shield (Wiznet W5100 and W5500)
  • Arduino Wifi R3 shield
  • MKR ETH shield (W5500 and W6100 based)
  • Teensy WIZ820io W5200
  • Teensy 4.1 with Ethernet Kit

Notes

Session names

Session names can get really long on Macs (eg 'Macbook Pro of Johann Gambolputty .. von Hautkopft of Ulm') and will be trunctated to the MaxSessionNameLen

Memory footprint

The memory footprint of the library can be lowered significantly, read the wiki

Ethernet buffer size

It's highly recommended to modify the Ethernet library or use the Ethernet3 library to avoid buffer overruns - learn more

Latency

Use wired Ethernet to reduce latency, Wi-Fi increases latency and latency varies. More of the wiki

Arduino IDE (arduino.cc)

  • 1.8.13

Contributing

I would love to include your enhancements or bug fixes! In lieu of a formal styleguide, please take care to maintain the existing coding style. Please test your code before sending a pull request. It would be very helpful if you include a detailed explanation of your changes in the pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].