rppicomidi / pico-usb-midi-filter Goto Github PK
View Code? Open in Web Editor NEWConnect a Raspberry Pi Pico between a USB MIDI device and a USB Host to modify the USB MIDI traffic
License: MIT License
Connect a Raspberry Pi Pico between a USB MIDI device and a USB Host to modify the USB MIDI traffic
License: MIT License
Dear @rppicomidi,
I've had some time to experiment with your fork of tinyusb and tried to refactor the code on this one to work as a transparent passthrough (zero filter) of MIDI commands between the pc software and a guitar pedal and to make it work on the Arduino environment. I'm using the pico to intercept the communication between PC and pedal so that I can inspect the MIDI messages through another pico connected via uart.
I was having some issues with the device connected to the PIO-usb port not communicating but while writing this issue asking for help I've made some changes and now the code is working as it should (untill I break it again).
At first I was getting an error if I called tuh_descriptor_get_device
inside the tuh_midi_mount_cb
and tuh_midi_configured
always returned 0. After commenting this line things started to get going.
I've have merged your forked tinyusb and Adafruit_TinyUSB_ArduinoUSB library so that I could use it as a library on the Arduino IDE. Things seem to work ok as both device and host are initialized: the PC sees the pico as a MIDI device when the pico copies the pedal descriptors.
I'm still struggling with USB communications, as I'm new to it... I'm still low on USB vocabulary.
Anyway, I wanted to give you some sort of feedback about your repos as you did a fantastic job!
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.