nicklan / drmr

An LV2 sampler plugin that (currently) plays hydrogen drum kits
GNU General Public License v3.0
57 stars 17 forks source link

wishlist: activity LED for each sample #3

Open adiknoth opened 12 years ago

adiknoth commented 12 years ago

Hi!

I don't know if it makes sense, but I've tried drmr for the first time today. It was connected to an external MIDI keyboard, so I simply tried all the keys to trigger the samples.

If I would want to alter some settings (vol/pan), I would have to guess which key belongs to which sample. If you could provide a way to indicate an active sample, things would be considerably easier.

Maybe add an LED between the two knobs or change the box' background colour upon activity, maybe even some colour gradient depending on the currently played velocity.

Cheers

nicklan commented 12 years ago

Yeah, this is on my todo list. Without some experimental lv2 features, there's no good way for the core of the plugin (the part that gets midi events) to tell the UI that something happened, but I think there's a way for me to request that the UI also be informed of midi events from the host. I'm going to look into it shortly and if there is I'll add some sort of visual cue on activity for sure.

Thanks for the suggestion!

nicklan commented 12 years ago

This is now implemented in the lv2unstable branch.

Without the lv2-atom extension this is totally impossible, so it can't be ported to the master branch. You need some bleeding edge stuff for this to work, so if you're on stable everything you're probably out of luck. You can get more info in the README.md of that branch.

At some point as these extensions stabilize and more hosts support them (which should hopefully be fairly soon), I'll merge these changes into master.