ahlstromcj / sequencer64

A major reboot of Seq24. Current release 0.97.0 (2021-05-13), native JACK MIDI, Song recording, playlists, and a Windows/Qt version. For fresher code, see the Seq66 project. Note that trigger and mute-group-in-MIDI-file formats have evolved! Back up your work!
GNU Affero General Public License v3.0
235 stars 29 forks source link

Almost Headless #220

Open woodie opened 3 years ago

woodie commented 3 years ago

I’d like to use a Raspberry Pi with just a numeric keypad and tiny LCD display. I’m going to take a look at Seq64rtmidi. Any other suggestions for playing MiDi files? I want to avoid having a laptop in my setup, but I wouldn’t mind doing some work in a terminal via ssh,

ahlstromcj commented 3 years ago

Check out my Seq66 project, the next-gen of Sequencer64. It has a raft of serious improvements and bug fixes. I just checked version 0.94.0 of Seq66 into master. I took note of your issue above and ended up refactoring some of the MIDI control code and headless code to fix some nasty issues. Seems fairly solid, some minor issues remain. You can read the "Headless" section of the user-manual that is in the doc directory of the Seq66 project. There are also some sample configuration files. To build the non-GUI app, "seq66cli", do

./bootstrap --full-clean ./bootstrap -er -cli make &> make.log (and check make.log for errors and warnings) sudo make install

You can then configure playlists as the best option for running in headless mode, see the manual. If you run it from a console add the --verbose flag. The "daemonize" mode doesn't work yet, but you can create a hotkey, desktop shortcut, or menu entry to run seq66cli headless. I would recommend setting it all up with the GUI (qseq66) first to get it all working before trying to run it blind. Any questions or issue, just let me know. I'll be kind of tied up next week, hope I didn't rush the new release out too soon.

woodie commented 3 years ago

Great, I'll take a look.

For the starter project, described here, I'm capturing keypad input, but no luck changing the program changes, pasted here. Any advice on the best way to proceed?

woodie commented 3 years ago

I’ve got the first version working here: https://github.com/woodie/midi_keypad

it’s certainly a hack currently, but I’m sending patched (with amici) and have a display that lets me display different modes. I’d like to consider turning the Pi into a MIDI host, and possibly wiring up MIDI (and possibly a simpler 4x4 keypad) into GPIO before adding a sequencer.