Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

beat display to midi controller #124

Open
georgkrause opened this issue Nov 7, 2016 · 5 comments
Open

beat display to midi controller #124

georgkrause opened this issue Nov 7, 2016 · 5 comments

Comments

@georgkrause
Copy link
Contributor

What i want to do is this: i want that my midi controller (apc mini) displays the beat graph from the right bottom corner of luppp. i want to specify 4 buttons which shortly light up on the corresponding beat. So button 1 on beat 1, button 2 on beat to and so on. With #119 this would enable me to dont look at the screen anymore while making music, which would be great!

@georgkrause
Copy link
Contributor Author

it would also be okay if just one button lights up on every beat...

@harryhaaren
Copy link
Member

Mappa will handle user-defined feedback, allowing any "source" to be mapped to various lights. Aka, this should be possible then.

@harryhaaren harryhaaren removed this from the Release 1.2 milestone Jul 14, 2018
@wvengen
Copy link
Contributor

wvengen commented Jun 22, 2020

I've implemented it in this branch, which builds on PR #311. The controller JSON output binding would be like this (and one for each beat):

{
  "action": "metronome:beat",
  "beat": 0,
  "dataList": [176, 99, 21]
}

Each beat (in the bar) would get its own controller output binding. Use of dataList would enable one to either use a single light with different colors (like above), or multiple lights (then the dataList would contain a message to clear all lights except the light of the active beat).

@wvengen wvengen mentioned this issue Jun 22, 2020
1 task
@harryhaaren
Copy link
Member

harryhaaren commented Oct 20, 2020

Hi @wvengen : cool - nice one. I presume you want to turn off the LED too? A note-off will work for some devices, but not all... :/

[update: left a comment in the code - there's a potential race-condition & crash in the implementation - please check/fix it]

@wvengen
Copy link
Contributor

wvengen commented May 31, 2024

I presume you want to turn off the LED too? A note-off will work for some devices, but not all... :/

Good point. The dataList can be of arbitrary size, so there can be as many MIDI events as you want, incl. note-off for the other beats. A later improvement could be to have on- and off-datalists (a bit messy in the data structures), or beat-on and beat-off events (I think that could actually make sense, and totally optional), if this turns out to be a much-used feature.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants