Control-Surface
arduino_midi_library
Control-Surface | arduino_midi_library | |
---|---|---|
17 | 20 | |
1,352 | 1,630 | |
3.0% | 0.0% | |
8.5 | 0.0 | |
3 months ago | over 1 year ago | |
C++ | C++ | |
GNU General Public License v3.0 only | 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.
Control-Surface
-
Ask HN: What are you working on (August 2024)?
I built a midi controller. Rather, I repurposed a Teensy-based virtual analogue synth I made ages back that never worked quite right. I had taken the amp/speaker out to use somewhere else, and it was just sitting in a box. I realized I could just use the Control Surface library (https://github.com/tttapa/Control-Surface) and change it to a midi controller in no time flat, so I did. Now just need to get some time to use it to play with VCV Rack.
-
Just got an Arduino kit, what are some simple projects that would help me learn coding and be useful with my modular synthesizers?
I was in a similar boat to you, though I have a lot of experience programming outside of the arduino/midi controller context. I was pretty happy to just use https://github.com/tttapa/Control-Surface as a library to handle connecting an arduino with a pot to my PC as a midi controller. The docs and examples the codebase has were very useful.
- I think this relates to this sub as it is controlling a synth and I need all the help I can get tyia
-
DIY Midi Controller
Wow, what a pretty project! If you end up expanding this, you might look at the Control-Surface lib; seems like it's made for this kind of thing.
-
Ask HN: Unconventional Use of MIDI?
https://github.com/tttapa/Control-Surface
I've been working on this beasty project together with a friend. We did some liveshows back then and decided that we needed some more control gear. But not just a laptop focusing launchpad, we wanted to forget there was even a laptop (or other hardware) attached to this controller, so that all our attention and focus would be on the music and the crowd, and above all: we wanted something that would instantly announce your presence on stage.
-
CC midi controller with approx 37 knobs!?
I used this library with an Arduino and several multiplexers. It worked very well and was easy to use. https://github.com/tttapa/Control-Surface
- Hello my fellow logic lovers, I have a question. What is the best DAW-Controller for logic, or would you recommend getting an iPad and using logic remote?
-
teensy 4.0. I think I have a debounce issue. I don't know how to add it to my code.
Should be fixed in https://github.com/tttapa/Control-Surface/commit/eb7a468a0a73584b93be16d978404b25401ce66f, you can increase the SELECT_LINE_DELAY constant if necessary.
- How do I essentially go from button to sound?
-
My open-source synth/sampler/sequencer/DAW-in-a-box: The LMN-3
The PCB was an entirely new endeavour for me, but it was essential in making the project footprint as small as possible. Never done any kind of electronics design outside of hobbyist arduino stuff and the initial prototype. I used [KiCAD 6] to design the PCB. KiCAD might be the single greatest GUI-based open-source software I have ever used, its a shame FreeCAD is so far behind it in terms of stability. It is also free and open source. I went with a simple 2 layer design with all through-hole components to keep things as simple as possible so people didnt have to mess around with heat guns or toaster ovens to solder the board. It turned out great. I also elected to use a teensy to do the heavy lifting. Sticking to an arduino platform means its a lot easier for people to contribute to the firmware. It also meant I could use the greatest arduino library ever written, Control Surface. Control surface is what makes it so easy to write the midi logic for the firmware. It is the backbone of the firmware and really is incredible.
arduino_midi_library
-
Synth wars: The story of MIDI (2023)
That makes me wonder how often one runs across a synth that doesn't support running status. I'm working on a MIDI controller myself, and that's a thing I probably ought to enable if I want the lowest latency.
It seems the standard MIDI libraries that Arduino uses don't enable it by default, but it's a configuration option you can turn on, along with a note not to try to use it with USB[1].
[1] https://github.com/FortySevenEffects/arduino_midi_library/bl...
-
Á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.
What are some alternatives?
Control-Surface-Motor-Fader - Arduino motorized fader controller, and example code for integration with the Control Surface library.
arduino-midi-recorder - Let's build an Arduino-based MIDI recorder!
Arduino-USBMIDI - Allows a microcontroller, with native USB capabilities, to appear as a MIDI device over USB to a connected computer
FastLED_examples - FastLED example code, tests, demos, etc
ILI9488_STM32 - Port of 3.5 Inch RPI Display with ILI9488 controller on STM32CubeIDE [GET https://api.github.com/repos/xstackman/ILI9488_STM32: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
midi2cv - Arduino-based MIDI to CV converter