alanxoc3 / hatel Goto Github PK
View Code? Open in Web Editor NEWA piano-to-keyboard mapping specification & implementation.
License: GNU General Public License v3.0
A piano-to-keyboard mapping specification & implementation.
License: GNU General Public License v3.0
I want to get this to run on a raspberry pi Zero. I'll hook up midi to the pi zero, and the pi zero will act like a bluetooth keyboard.
It's not feaseable for it to act as a wired keyboard. But a bluetooth keyboard can be done. Bluetooth is probably better since that means there would be less cords around.
This looks somewhat promising:
https://projects-raspberry.com/emulate-a-bluetooth-keyboard-with-the-raspberry-pi/
There might be other links too.
Eventually, there will be an executable that runs on a computer and another one that will run on a pi. It looks like the tutorials for getting bluetooth working use python as well, so that's nice.
It would work similar to keynav, but without seeing the box.
This way, the mouse functionality could work on any computer. There would have to be a way to callibrate the mouse to the screen. Think about how multiple monitors would work (callibration wise).
Also, this would touch into modes...
And there should probably be a way to save the config for your current computer, so you can move to another computer...
It's a pretty difficult problem, but it would be really cool.
Fix this connection error. I don't think I ever had connection errors in the python client (but it also wasn't auto connecting, so yeah...).
thread 'midir ALSA input handler (port 'midi-port')' panicked at 'failed to spawn thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }', /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/thread/mod.rs:628:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'Unknown error when joining ALSA thread: Any { .. }', /home/alanxoc3/.cargo/registry/src/github.com-1ecc6299db9ec823/midir-0.7.0/src/backend/alsa/mod.rs:391:21
Here is the error to fix:
thread 'midir ALSA input handler (port 'midi-port')' panicked at 'index out of bounds: the len is 2 but the index is 2', src/main.rs:109:12
I saw this occur when I changed the volume or maybe instrument on my piano.
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.