Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trafex/audio-midi-controller
Control the PulseAudio audio channels using a Behringer X-Touch Mini midi controller
https://github.com/trafex/audio-midi-controller
audio behringer midi midi-controller pulseaudio
Last synced: 8 days ago
JSON representation
Control the PulseAudio audio channels using a Behringer X-Touch Mini midi controller
- Host: GitHub
- URL: https://github.com/trafex/audio-midi-controller
- Owner: TrafeX
- License: gpl-3.0
- Created: 2022-02-21T20:17:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-10T12:42:26.000Z (over 2 years ago)
- Last Synced: 2024-11-14T14:47:58.975Z (2 months ago)
- Topics: audio, behringer, midi, midi-controller, pulseaudio
- Language: TypeScript
- Homepage:
- Size: 1.05 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Control PulseAudio with a MIDI controller
This project lets you use the Behringer X-Touch Mini to control your audio.
It integrates with PulseAudio and maps every audio channel to an encoder on the Behringer X-Touch Mini.## Features
* The volume of every audio channel (input or output) in PulseAudio is controllable with an encoder on the Behringer X-Touch Mini.
* All audio channels can be muted using the buttons below the encoders.
* The LED ring around the encoders will show the volume level.
* Audio in your browser or in a program like Spotify can be played, paused, stopped.
* When media is playing or paused, the play button is lit or blinking.
* The first encoder is always the main volume, the last is always the active microphone.![Behringer X-Touch Mini](assets/behringer-x-touch-mini.jpg "Behringer X-Touch Mini")
## Dependencies
* Ubuntu or other Linux distro that uses PulseAudio
* Package `playerctl` to be able to control the media (`sudo apt install playerctl`)
* Package `libasound2-dev` and `python` for the MIDI library (`sudo apt install libasound2-dev python`)
* Node 16+
* NPM 7+## How to use
Checkout this repository, connect your Behringer X-Touch Mini (in standard mode), and run the following commands;
```
npm install
npm run start
```The output will show how the audio channels are mapped to the encoders. This updates every second;
```
...
Controller 1: Built-in Audio Analog Stereo
Controller 2: Google Chrome
Controller 3: spotify
Controller 8: Blue Snowball Mono
```