You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am wanting to map a fader of a Novation Launch Control XL to control my system volume on my Linux system. One thing is that I am not sure how to map it properly to my system volume, but at the very least I could in theory map the bottom state to keyboard.EV_KEY.KEY_VOLUMEDOWN and the top state to keyboard.EV_KEY.KEY_VOLUMEUP. However, I don't know how to map the various CC values that aseqdump shows. midi.md does not come with any example for it, and trying launch.ch8.cc77.0 and launch.ch8.cc77.127 does not work. Is there any way to do that?
The text was updated successfully, but these errors were encountered:
[backend midi]
name = "Midimonster MIDI (Volume)"
detect = on
; my mixer is called "smc" and this is the "volume.cfg"
[midi midi_from_smc_volume]
read = 36:1
[python py1]
module = pipewire
[map]
midi_from_smc_volume.ch0.cc46 > py1.pipewire.main
#pipewire.pyimportmidimonsterimportosdefmain(value):
# value is 0...1 so we need to convert it to 0..100# making it an int makes it smoothervalue=int(float(value) *100)
os.system(f"pactl set-sink-volume 0 {value}%")
# Or your favorite command e.g.# os.system(f'amixer -D pulse sset Master {volume}%')
As a sidenote, i tried it, and you also can map things to KEY_VOLUMEDOWN and what not in some ways, but if you do a slider.. you're going to hear the system "volume up" sound overlayed 50 million times if you have one.
Hi, I am wanting to map a fader of a Novation Launch Control XL to control my system volume on my Linux system. One thing is that I am not sure how to map it properly to my system volume, but at the very least I could in theory map the bottom state to keyboard.EV_KEY.KEY_VOLUMEDOWN and the top state to keyboard.EV_KEY.KEY_VOLUMEUP. However, I don't know how to map the various CC values that aseqdump shows. midi.md does not come with any example for it, and trying launch.ch8.cc77.0 and launch.ch8.cc77.127 does not work. Is there any way to do that?
The text was updated successfully, but these errors were encountered: