Skip to content

davidmoreno/aseqrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alsa Sequencer Remote Control

Creates an http server that allows to easily control alsa sequencer connections.

I use it to connect all my MIDI gear to a Raspberry Pi, and control the connections with my mobile.

Very handily it is packaged as a PWA, so it can be installed as an app from the browser.

After installation it is available at http://IP and can be installed as a PWA (Google Chrome or Firefox, click add to home screen).

Use

The patch screen shows the outputs, and you can add to which input it is connected from the selector. Connections can be removed pressing the x.

There is a Monitor button for each output that allows midi monitoring for wasy troubleshooting.

All connections are remembered and if a device dissapears (unplugged for example), when it reappears its reconnected. Same happens after reboots.

My normal use case is always running in a raspberry pi, and all my MIDI gadgets connected.

Compile

make build

or

make run

To develop you can do make run in one terminal an make serve in another, so any change on the frontend is automatic. The url would be http://localhost:8001.

ARM

I dont know enough go to make this work, but when compiing for ARM I need to change some lienes at alsaseq.go. Look for ARM to know which ones.

Install

There are periodic releases at (github releases)[https://github.com/davidmoreno/aseqrc/releases]

Download latest, and install:

sudo dpkg -i aseqrc-latest_all.deb

There might be pending dependencies, which can be installed with:

sudo apt -f install

To start it run:

sudo service aseqrc start

To stop:

sudo service aseqrc stop

To always run

sudo systemctl enable aseqrc

To stop always run:

sudo systemctl disable aseqrc

Compile and Install

It has been developed and tested on Ubuntu 20.04. Older versions may need more work.

  1. Install all required deps (open an issue if any missing):
apt install nodejs yarnpkg dh-make fakeroot
  1. Create the deb package
make deb

The .deb file is created at the parent directory.