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
Screen support. #8
Comments
Hi @Mylab6, The code here already supports screen blanking; https://github.com/wrl/maschine.rs/blob/trunk/src/devices/mk2/mikro.rs#L299 Further the Ctlra library (disclaimer; I'm the author) supports some screen blitting too: Overall, its just a bitmap (1 = on, 0 = off) screen of ~8192 pixels IIRC. The way to "blit" the image is in 4 seperate writes to the USB endpoint, see https://github.com/wrl/maschine.rs/blob/trunk/src/devices/mk2/mikro.rs#L307 or https://github.com/openAVproductions/openAV-Ctlra/blob/master/ctlra/devices/ni_maschine_mikro_mk2.c#L507. I've had various Maschine's working with RPi before, using the newer RPi's (with better performing USB implementations) will give better results. I could only get about 5 to 10 FPS on the Maschine Mk3 (with 2x full colour 420x272 px screens) on the RPi 4. I guess with a much simpler (1 bit per pixel) interface like the Mikro Mk2 has, it should work fine. Hope that helps, -Harry |
Thanks Harry, I'm actually a bit stuck even getting the PI to see Maschine's USB connection , if you could assist in automating getting the PI to find Maschine, I'd greatly appreciate it ! I'd like to add an auto-setup script for Machine to my existing repo which automatically sets up Midi wireless. |
@Mylab6; there's nothing "special" about how a RPi uses a USB device vs normal linux. Following the instructions on the README page, https://github.com/wrl/maschine.rs/ says run |
Thanks, I think I'm close , but I'm stuck on this error.
thread 'main' panicked at 'couldn't open /dev/hdraw3: No such file or directory', src/main.rs:385:21 |
@Mylab6; did you typo the |
Thank you ! I have it working via Bluetooth Midi. |
Hi, I have an old Mikro and I'm trying to turn it into a wireless midi controller. If I could get the screen to work as well( from a Raspberry Pi ) that would open up tons of possibilities .
Do you know what this would entail ?
The text was updated successfully, but these errors were encountered: