Comments (5)
Yes, it should be possible.
What exactly did you try? Please post your complete code and schematic.
from midi_controller.
Great !
I will take the time this week to explain it to you clearly! ( i'm discovering fritzing..).
from midi_controller.
Here it is
So I use an arduino 'pro micro' which emulate a leonardo. (on my schema it's a micro..)
I tried differents pins of the arduino to connect my multiplexer like A3, '5' etc...
and tried several things like this code
#include <MIDI_Controller.h> // Include the library
const uint8_t velocity = 0b1111111; // Maximum velocity (0b1111111 = 0x7F = 127)
const uint8_t C4 = 60; // Note number 60 is defined as middle C in the MIDI specification
// Create an instance of 'AnalogMultiplex' with the output pin of the multiplexer connected to
// analog input pin A0 and the address pins connected to pins 2, 3 and 4.
AnalogMultiplex multiplexer(5, { 2, 3, 4 } );
// Create 8 new instances of the class 'Analog', on the 8 pins of the multiplexer,
// that send MIDI messages with controller 7 (channel volume) on channels 1 - 8
Digital button(multiplexer.pin(0), C4, 1, velocity);
void setup() {}
void loop() {
// Refresh the MIDI controller (check whether the potentiometer's input has changed since last time, if so, send the new value over MIDI)
MIDI_Controller.refresh();
}
from midi_controller.
Should be fixed in 90b8796.
from midi_controller.
Woow. It works really well now. What a quick update. THANK YOU !
from midi_controller.
Related Issues (20)
- Is the Nano Every board compatible? HOT 3
- How to Echo MIDI IN to MIDI OUT? HOT 2
- no response when change banks and instruments HOT 11
- USB host arduino uno HOT 1
- Use Momentary as Toggle HOT 2
- Potentiometer mapping - unable to use full range of potentiometer HOT 1
- Problem to reload the code HOT 19
- Documentation HOT 1
- Mapping logarithmic potentiometers to linear curve HOT 2
- Create 4 midi banks controlled by 1 potentiometer HOT 3
- [Feature request] Can you add support for piezo inputs? HOT 1
- Octave change for multiplexer buttons HOT 4
- Cant upload encoder exmple to arduino mega HOT 1
- Why return MidiUSB.read().header != 0 in USBMIDI_Interface::refresh class ? HOT 1
- Can I use the analog multiplexer library of 8, to connect one of 16? HOT 1
- Connecting multiple multiplexers to analog inputs for micro HOT 2
- Can the name of the board be changed? HOT 8
- Conect 2 or more buttons to a single led HOT 19
- How to send midi over serial HOT 2
- unsupported board: Adafruit Bluefruit Feather nRF52840 Express HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from midi_controller.