-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run on Teensy 3.1/3.2 #10
Comments
Hi @zensutherland and thanks for reaching out! I don't have any experience with Teensy boards. Can you please explain a bit how you compile the project? Did you install Midier using a library manager just like the one for Arduino, or did you clone this repository manually? Thanks! |
Same as zensutherland, would like to get this library working on Teensy 3.0 and later. Using Win10, Arduino IDE 1.8.15 and Teensyduino 1.54, arpeggino compiles for AVR boards eg, UNO, Leonardo, Mega, Teensy 2.0 and Teensy++ 2.0 but not for Teensy 3.0 or later. Results were the same for installing Midier using library manager or manual install. Have just completed step one of the tutorial using an Arduino Leonardo and am seeing note messages being output from TX1 however would like to get it working on a Teensy 3.0 or better and think it would be great to use this lib with Teensyduino's native Fortyseven Effects Midi library. |
Greetings ! I came across this issue . This is an incredible library and wanted to give it a spin on my Teensy 3.6 . Its quite simple with its own usbMIDI() implementations . the fork that works out of the box on teensy (tested 3.6) for now , till an option is added to the official repo . Its just a tiny change in src/midi.cpp , comenting this lines and adding the usbMIDI way of writing it should be like this instead for usb midi via teensy. You can edit it yourself find in the files that complain in the arduino console when the errors popup , you should be able to see where Midier/src/Midi.cpp is installed |
Another thing that is just a quick hack is the addition of " signed char " . Teensy assumes char to be unsigned . |
Thank you CarloCattano, will change hardware to suit T3.6, play with those links and report back. |
@MatrixRat I dont think you need to change hardware. T 3.1/3.2/3.6 should behave equally, if I'm not forgetting something obvious |
@CarloCattano Just to elaborate, soldered buttons etc to a Mega protoboard and need to be mindful of T3.6 V+ for Din Midi I/O. Have a T3.6 on a Talldog DUE breakout and plan to build so will work on a Mega as well thinking that with the extra I/O pins will not need to use 4067s earmarked for another project. |
The issue is that Teensy is using C++11 and has different variable types defined. I made a pull request that fixes all issues for Teensy 4.1 |
Here is the PR with the changes required for Teensy 4.1: #14 |
Love the idea for this, but i could not get it to compile on my Teensy 3.1 - This may very well be due to my ignorance, so please forgive me if this is a 'user issue' and nothing to do with the software.
The compile was attempted on the provided examples (Scales, Notes, etc) with the library. Below is the error message.
In file included from /Users/zensutherland/Documents/Arduino/libraries/Midier/src/Midier.h:12:0,
from /Users/zensutherland/Documents/Arduino/Midi/midier/midier.ino:14:
/Users/zensutherland/Documents/Arduino/libraries/Midier/src/sequencer/sequencer.h:20:17: error: enumerator value -1 is outside the range of underlying type 'char'
None = -1,
The text was updated successfully, but these errors were encountered: