Skip to content

A simpel script that when run, asks for what applications to control and then gives the X-Touch Mini the ability to control the volumes of the audio strems (ex. Browser, Discord,Music Player etc.). Fader controls master volume and play, next, previous and stop buttons are also mapped.

License

Notifications You must be signed in to change notification settings

Quasolaris/X-Touch-Mini-Linux-Volume-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Behringer X-Touch MINI Script to control your audio sources

A simple script that when run, asks for what applications to control and then gives the X-Touch Mini the ability to control the volumes of the audio streams (ex. Browser, Discord, Music Player etc.). Fader controls master volume and play, next, previous and stop buttons are also mapped.

This script should also work with other MIDI controllers, but you will need to change the mappings, see the Sources chapter for an explanation on how to do it.

Functionalities

  • Knobs 1 - 8 control the volume of 8 sources chosen on script start (0-127 mapped from 0.0 to 1.0)
  • Fader control the main volume (0-127 mapped from 0 to 100%)
  • Buttons mapped:
    • Play
    • Stop
    • Next
    • Previous
  • MC Button switches between two outputs (ex. Speakers and Headphones), which are set on script start
  • Record Button Resets Terminal view, in case error messages made it unreadable

Implemented Mappings (Work in Progress)

image

Terminal Output (Work In Progress)

image

Dependencies

  • playerctl
    • Arch
    • Debian / Ubuntu
    • Other distributions will have it as well

Instructions for using X-Touch MINI

  1. Plugin your Behringer X-Touch MINI
  2. Run aseqdump -l to make sure, your X-Touch MINI is recognized and named X-TOUCH MINI under Client name
  3. If it is named otherwise go to the Script and change the line aseqdump -p "X-TOUCH MINI" to aseqdump -p "WHAT YOUR MIDI CONTROLLER IS NAMED"
  4. Run the script bash midi_control.sh
  5. Follow the instructions
  6. Control your volumes

Instructions to use with other MIDI Controller

Same steps as for X-Touch MINI but you maybe need to change the mappings, for that read the article in the Sources chapter of the README.

Sources

This article by Martin de Reuver made it possible for me to write this script. I tried countless scripts, programs and repos but none worked, which is why I decided to write my own.

About

A simpel script that when run, asks for what applications to control and then gives the X-Touch Mini the ability to control the volumes of the audio strems (ex. Browser, Discord,Music Player etc.). Fader controls master volume and play, next, previous and stop buttons are also mapped.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages