arduino_midi_library
FastLED
Our great sponsors
arduino_midi_library | FastLED | |
---|---|---|
19 | 344 | |
1,529 | 6,223 | |
1.2% | 0.9% | |
0.0 | 7.7 | |
6 months ago | 15 days ago | |
C++ | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
arduino_midi_library
-
Árduino pro mini hid
take a look here
- Arduino atmega 2560 midi out on tx1
-
Ask HN: What is the most impactful thing you've ever built?
The Arduino MIDI Library [1]. Back in 2009, I learned C++ to build it and control my guitar effects pedals with custom electronics as part of my engineering degree.
[1] https://github.com/FortySevenEffects/arduino_midi_library
-
Help to made a piano midi and cv controller for eurorack (see my comment below).
Your project can be broken up into a number of subprojects. For keyscanning you don't need additional hardware, just the pins from the ribbon cables going to the arduino's digital pins and ground. Since the keys are just switches (two per key, the time difference between the two switches closing giving the source of velocity), you could start with some examples from the Arduino MIDI library (https://github.com/FortySevenEffects/arduino_midi_library). To test MIDI sending you don't even need to start from the keybed just yet, and if you do, you can start with a single key. Once you've got that part figured out end to end (key press/release generates note on/off events) you can work on iterating through the matrix, CC controls etc. MIDI out can be done in different ways. With a 5 pin DIN plug you'd just need two 220 ohm resistors.
-
What frequency should a timer interrupt be to receive MIDI messages?
On an Arduino compatible platform the configuration of the baud rate at the bare metal layer is taken care of by the library when you call its begin() method. Looking at the example code included with the library it appears that there are no timer interrupts or anything like that required of you in order to use it. Another thing that jumps out is that the call to read() returns a non-zero value if anything has been received that you should use to predicate whether any further attention needs to be spent on it by your code. You may know this but it wasn't apparent from the loop() { MIDI.read\`() }` example that you gave above.
-
FastLED run Parallel & Simultan multiple Led Strips
As i have started to combine this with Midi Implementation from FourtySevenEffects lib, i only have done a quick test with two/three strips and did discover follwing issue(s):
-
Reading MIDI stream
Using a library for the midi shield you can register two functions as callbacks. One callback for NoteOn(...) messages and one for NoteOff(...) messages. But thre is much more. In the end the source of truth should always be the docs for the library itself.
-
Is it possible to build your own Teensy? What's the catch?
Click the link to github (second link in the article) and there's all the source code: https://github.com/FortySevenEffects/arduino_midi_library
-
Looking for the smallest possible MIDI hardware (end purpose: momentary pitch shifting)
Here’s a library that might work.
-
Declared "MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);" and MIDI is still Out Of Scope!
Solution from GitHub here:
FastLED
-
Guru Meditation Error if more than 2 Pins/ 2 controller are used with filehandling
I used the examples from here https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples
- FastLED's newest feature - HD mode for the APA102/SK9822/Dotstar LEDS
- High Bit Depth Gamma Correction Algorithm for APA102/Dotstar LEDs
- Is there an alternative to using two WS2811 ics to control RGBW channels [first image], and are there any adjustments needed for the current regulator circuit [second image] ?
- Frames getting stuck with ESP32 and 16 by 16 LED Matrix
- changing brightness of the individual led's?
- Arduino Due SPI to control LED strip(s)
- Powering 300 LEDs w/ battery
- led_sysdefs_avr.h error
-
Multiple RGB outputs
Sweet. Then pretty much any arduino or other microcontroller would take care of what you need. The strips only take one output pin plus power and ground so just about everything will work for driving them. They act like a long shift register so the single pin is all that's needed to load the full strip with whatever patterns you want regardless of the length. You just have to tell it how many LEDs there are in total is all. Check out the FastLED library. You can learn more about it there and/or install the library in the IDE by pressing "ctrl shift I" for windows or "command shift I" for mac and search for it in the upper search area and install it right there. It comes with working examples too so all you would have to do is install the library, load one of the new example sketches that came with it, and probably edit the example to change the NUM_LEDS count to match what you're working with.
What are some alternatives?
Control-Surface - Arduino library for creating MIDI controllers and other MIDI devices.
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
FastLED_examples - FastLED example code, tests, demos, etc
FastLED-esp32 - Parallel outputs for esp32
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
I2SClocklessLedDriver
arduino-midi-recorder - Let's build an Arduino-based MIDI recorder!
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
midi2cv - Arduino-based MIDI to CV converter
FastLED_NeoMatrix - Adafruit GFX compatible library for NeoPixel based Matrices using FastLED library
HelloDrum-arduino-Library - This is a library for making E-Drum with arduino.
OctoWS2811 - Control thousands of WS2811/2812 LEDs at video refresh speeds