TaskScheduler
Arduino-AppleMIDI-Library
Our great sponsors
TaskScheduler | Arduino-AppleMIDI-Library | |
---|---|---|
5 | 7 | |
1,155 | 290 | |
- | - | |
0.0 | 0.0 | |
3 months ago | over 1 year ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
TaskScheduler
-
How do you make a code that does like 2 or 3 things simulatneously?
When you get a little more advanced it's not hard to extend the BWD code to hsndle any number of "time when something should happen". Or you can use something like the TaskScheduler library.
-
Understanding the rarely seen EVERY_N_MILLIS_I ?
Or just use TaskScheduler and never have to worry about this again. https://github.com/arkhipenko/TaskScheduler
-
Event-driven architecture
For reference, I'm a big fan of this scheduler in particular, due to it's simplicity, OO support and a neat extra of sleeping each unused millisecond (low power for free).
-
Current consumption between arduino and HAL?
One of my favourite low power techniques involves using a scheduller for your loop code, and sleep for 1 ms at a time when there are no tasks to run. As seen here.
-
Garden irrigation system based on ESP32
Have you looked at the task scheduler library? https://github.com/arkhipenko/TaskScheduler
Arduino-AppleMIDI-Library
-
Arduino Array Issue
I'll post the whole thing in a separate message. I've already modified it a little, because there seems to be a quirk in the rtpMIDI implementation that seems to not send a second MIDI message if two of the same type are sent in sequence in the program. Even a few milliseconds delay between them seems to fix it. Here's the github link to the original.
-
When using my personal FastLED program on ESP8266, the first LED constantly flashes green; but it works perfectly with WLED. How has WLED solved the issue?
Changing the order of libraries didn't change anything. BUT with that in mind, I tried disabling one of the libraries I wasn't using at the moment: AppleMIDI. The flashing mostly stopped. It flashed for a few times in the beginning, and then stopped almost completely.
-
The prototype for my multi layer fader based on Deej volume mixers.
Just a thought, in a future build you could go totally wireless (theoretically) if you use: - an ESP8266 or ESP32 with wireless MIDI and - MIDI mixer on Windows.
-
I made these festive MIDI LED Christmas Trees! RGB colours linked to notes. A little bit of fun to brighten up our music! Based on ATMEGA328.
Just FYI, network MIDI is a thing and you may want to look into it if you haven't before.
-
MIDI-controlled LED strip on keyboard (WS2812B controlled by ESP8266)
As a bonus, the controller I'm using (ESP-01) also has Wi-Fi, so I added on the AppleMIDI library for receiving wireless MIDI (and sending, too, if I so choose). As a final touch I added VirtuinoCM to switch between 3 modes: - MIDI-response - some generic animations - manual colour control.
-
After 2 decades of this, I finally bought the one and only piece of hardware that could turn me into an elite veteran, old man engineer..... TRACKBALL MOUSE
This is the sketch that worked for me pretty much out of the box. Mac OS has built-in support for Wi-Fi MIDI, but in Windows you'll need to install rtpMIDI. Once the Arduino sketch is loaded and running, rtpMIDI is installed, and both the computer and ESP32 are connected to the same network, the ESP32 should show up in the rtpMIDI control panel.
What are some alternatives?
Arduino-Libs - Arduino Libs & Examples: ADS1147, ADS7846, DAC8760, DS1307, RV8523, MCP2515, WS2812, S65-Display, MI0283QT-2/-9/-11, HX8347D, ILI9341, SSD1331
Control-Surface - Arduino library for creating MIDI controllers and other MIDI devices.
FastLED_examples - FastLED example code, tests, demos, etc
arduino-midi-recorder - Let's build an Arduino-based MIDI recorder!
LoLa - Low Latency Radio System
rtpmidid - RTP MIDI (AppleMIDI) daemon for Linux
Adafruit_Sensor - Common sensor library
AUnit - Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.
lcdgfx - Driver for LCD displays running on Arduino/Avr/ESP32/Linux (including Rasperry) platforms
arduino_midi_library - MIDI for Arduino
Arduino-USBMIDI - Allows a microcontroller, with native USB capabilities, to appear as a MIDI device over USB to a connected computer