kdoren / jambox-pi-gen

Start jamming online easily with a Raspberry Pi, an audio interface, and this free Jambox image file. Just download/burn/boot/jam. Choose from multiple jamming apps: Jamulus, SonoBus, JackTrip, JamTaba, JammerNetz or HpsJam. User interface is any web browser on same local network. Pre-built image file is available under "Releases".
BSD 3-Clause "New" or "Revised" License
75 stars 9 forks source link

Can Midi Player Pro be included in the jambox-pi-gen image aswell? #114

Closed hselasky closed 3 years ago

hselasky commented 3 years ago

https://github.com/hselasky/midipp

It is more related to MIDI though. Any opinions?

kdoren commented 3 years ago

@hselasky I was able to build a midipp deb package for raspberry pi and install/run. I put it in my repo, so if running jambox image, you can install with sudo apt update && sudo apt install midipp

I'm not familiar with midipp, so I'm not sure it's fully working. I can click notes on the "PianoTab" tab. and get it to play those notes on a jack midi software device (fluidsynth), or an external midi device (Yamaha keyboard with USB imidi nterface) via "a2jmidid" alsa to jack midi bridge (midipp doesn't appear to connect to alsa midi devices directly).

I couldn't get midipp to play a song loaded from the database, but maybe I am doing something wrong. There also appears to be some kind of intergration with HpsJam, but I don't know how to test that either.

midipp uses jack, and the usage model I have been following is to start jack apps with a start script. This simplifies app launch for users, and allows different settings for different apps. In this case, I got jack running by first launching another app (i.e. HpsJam) but then I can stop the app if desired and jack will continue to run. To make midipp generally useful will require some changes to accommodate it. Presumably this would be part of adding in some other midi apps as well.

If you have a Raspberry Pi, please try testing midipp. How do you envision it being used?

hselasky commented 3 years ago

Cool. I'll give it a spin. 1000x thanks.

If you select "CONFIG" and press any "DEV", button, does any JACK devices show up?

kdoren commented 3 years ago

Yes, the "DEV" button shows any JACK midi devices. That's how I was able to play notes on midi devices in PianoTab. If I install "a2jmidid" alsa-to-jack midi bridge, then run with "a2jmidid -e", then I can also see/use any alsa midi devices, i.e. USB midi interface such as Yamaha keyboard.

kdoren commented 3 years ago

@hselasky did you get a chance to test it, and if so how did it go? What's necessary to get it to play a song from database, and also how does it work with HpsJam?

hselasky commented 3 years ago

I will test it soon. You need to press download first. Then select and open a song in view-a. Goto the play tab, and select "FIXED" for view-A. Then press a key, and it will play chord by chord, like singlestep.