marcel-licence / esp32_usb_midi Goto Github PK
View Code? Open in Web Editor NEWESP32 USB MIDI add-on for arduino synthesizer projects
License: GNU General Public License v3.0
ESP32 USB MIDI add-on for arduino synthesizer projects
License: GNU General Public License v3.0
#include <Arduino.h>
I changed to a cap A in Arduino.h to get it to find the header in the libraries I have which are from
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
Don't know if you should change code but comment perhaps. Also delete this issue if this is silly. I know some others are trying to follow your work and get this to compile so if this helps ...
If I understood correctly, this repo's purpose is to send midi messages from the microcontroller to a computer via USB.
At first sight, I thought that this code enables receiving midi messages from a Keyboard to a microcontroller via USB.
It would be nice to put this information more explicitly in the readme.MD (from what to what).
I'm opening this issue just trying to help, you make a wonderful job, keep going.
I'm trying to gather some time to put my hands on your code and make some POCs.
Hi Marcel (hope that's ok for name),
you owe nothing but as set up from downloading this library which I just initially want to test my USBhost midi - this analogue mux thing - i don't have one. So I'll simplify this to get to where it works but fyi .. can't compile. Maybe you need to add another file to the respository here?
//In this function -- analogSetCycles(1); error in arduino IDE - 'analogSetCycles' was not declared in this scope
void AdcMul_Init(void)
{
for (int i = 0; i < ADC_INPUTS; i++)
{
adcChannelValue[i] = 0.5f;
}
memset(lastSendVal, 0xFF, sizeof(lastSendVal));
analogReadResolution(10);
analogSetAttenuation(ADC_11db);
analogSetCycles(1);
analogSetClockDiv(1);
adcAttachPin(ADC_MUL_SIG_PIN);
pinMode(ADC_MUL_S0_PIN, OUTPUT);
#if ADC_INPUTS > 2
pinMode(ADC_MUL_S1_PIN, OUTPUT);
#endif
#if ADC_INPUTS > 4
pinMode(ADC_MUL_S2_PIN, OUTPUT);
#endif
#if ADC_INPUTS > 8
pinMode(ADC_MUL_S3_PIN, OUTPUT);
#endif
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.