Skip to content
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

Enable multiple midi device output via channel expansion (WIP) #243

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

unthingable
Copy link
Contributor

@unthingable unthingable commented Sep 27, 2020

A repeat of #242, but with explicit ability to control MIDI device ordering, to solve the problem of unpredictably ordered devices. Changes are visible in the UI.

mmidi command allows reordring of MIDI devices by their name. Format:

mmidi:<i or o><device number>-<match string>;..

Matches are done against lowercased device names with non-alphanimerics removed.

Example:

mmidi:i0-iac1 will find an input device named "IAC Driver Loopback 1" and move it to position 0.

@unthingable
Copy link
Contributor Author

A WIP, warrants a cleanup and documentation update.

Is this viable? Improvements suggestions appreciated over outright closing. :)

Channel numbers above 15 go to the next device on the list.
This enables a total of 36 channels across 3 consecutive devices.
`mmidi` allows reordring MIDI devices. Format:

`mmidi:<i or o><device number>-<match string>;..`

Matches are done against lowercased device names with non-alphanimerics removed.

Example:

`mmidi:i0-iac1` will find a device named "IAC Driver Loopback 1" and move it to position 0.
@unthingable
Copy link
Contributor Author

unthingable commented Sep 28, 2020

Added MIDI device ID display for improved UX, takes guessing out of correlating IDs with devices when using [m]midi commands.

image

@unthingable unthingable marked this pull request as draft September 28, 2020 09:10
Revert "much improved device name matching with fuzzy search"

This reverts commit e9871c9.
@unthingable
Copy link
Contributor Author

Fixed device name matching and added fuzzy search. Now mmidi:i0-clo correctly finds "IAC Clock" before "IAC Loopback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant