Giter VIP home page Giter VIP logo

Comments (8)

tttapa avatar tttapa commented on May 24, 2024

I have never tested the Pro Micro. The official Arduino Leonardo with the same microcontroller is supported, but I assume that the core USB firmware of the Pro Micro is different.

USB MIDI support on the ATMega32U4 is handled by the MIDIUSB library, so I suspect that the problem lies there. Could you try some of the examples that come with the MIDIUSB library?

from control-surface.

orzdk avatar orzdk commented on May 24, 2024

Thank you for the quick reply. That is good news, then I'm not (nescessarily : ) doing something wrong.

If you would like a pro micro for testing (no obligations of course) I would be very happy to donate a unit and shipping. Drop me a mail at [email protected] (remove dashes) with a postal address where you can be reached if you are interested.

Thank you, you can close the issue, I will dig into MIDIUSB to see where the hangup is.
BR Jesper

from control-surface.

orzdk avatar orzdk commented on May 24, 2024

And yes, you are completely correct, I have tried now, and no MIDIUSB lib based solutions seems to work on these particular units. LUFA solutions works fine however, so it must be some board config issue. I will research more.

from control-surface.

tttapa avatar tttapa commented on May 24, 2024

That's a bummer, I would've expected it to work, since it's basically the same chip. You could open an issue on the MIDIUSB GitHub page, or maybe ask SparkFun's support.

If you find a MIDI over USB library that does work on the Pro Micro, feel free to let me know. It's relatively easy to add support for it, all you need is a function to read a USB MIDI packet, and a function to write a USB MIDI packet. (And the necessary USB descriptors, endpoints and setup, of course, but that should happen under the hood.)

from control-surface.

orzdk avatar orzdk commented on May 24, 2024

Me too, it's a bit strange. I have opened issue #57 @ arduino-libraries\MIDIUSB to see if anyone knows anything. Only other library I have been able to get to work is LUFA, and if MIDIUSB is a dead end, I will start to try to isolate the nescessary parts from LUFA, it's quite a big package.

Thank you kindly for your interest in the matter and for opening up for adding new base libraries, - I will be sure to report my findings upon finalization of research.

from control-surface.

orzdk avatar orzdk commented on May 24, 2024

Hey Pieter. I just closed the issue again on MIDIUSB, the problem seems to be solved ! I burned a fresh bootloader to the unit with an uno, and after that everything worked normally. I suspect that the boards I have, simply was loaded with an ancient, wrong or incorrectly configured bootloader or all of the above.

Now I will study more and find out how bootloaders relate to USB descriptors, I need to know why it works now. I bet Grumpy Mike would probably love to explain it to me while ripping my a.. in half : P

Lets close the issue, I will not pursue it further for now, and do the actual project instead : ) Be sure to let me know if you want a pro micro for the lab, they're 2.5$ on Ali and i have a big bag of them so it's really nothing.

Thanks again for your help

from control-surface.

orzdk avatar orzdk commented on May 24, 2024

And on a completely different subject now that im actually up and running, - WOW the pot filter/hysteresis in the library works well. My gritty 1$ pots acts as precision instruments !

from control-surface.

tttapa avatar tttapa commented on May 24, 2024

Glad to hear you got it working!

The potentiometer filter took some trial and error, but I'm really happy with how they behave now.

from control-surface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.