node-qu-client
v1.0.0
Published
NodeJS client library for Allen & Heath QU series mixer
Downloads
2
Maintainers
Readme
Table of Contents
Features
Currently this client can:
- activate PAFL for each channel
- set the fader level for each channel
- activate the mute button for each channel
If you need more features then feel free to open a GitHub issue and I will add them.
Prerequisites
OSX
- Some version of Xcode (or Command Line Tools)
- Python (for node-gyp)
Windows
- Microsoft Visual C++ (the Express edition works fine)
- Python (for node-gyp)
Linux
- A C++ compiler
- You must have installed and configured ALSA.
- Install the libasound2-dev package.
- Python (for node-gyp)
Installation
$ npm install @epegzz/node-qu-client
Example
const Mixer = require('@epegzz/node-qu-client')
// Connect to the mixer.
// The constructor takes one single argument which is the MIDI port name of the mixer.
// If you do not know the port name, just leave it blank. That will cause an error message
// that includes a list of all available ports.
const mixer = new Mixer('QU-16 MIDI In')
// Set volume fader level
// 0% = - infinity db
// 100% = 0db
// 127% = 10db
mixer.setFaderPosition({
channel: Mixer.channels.main_lr,
percent: 100
})
// Activate PAFL
mixer.setPaflSelect({
channel: Mixer.channels.stereo_1,
active: true
})
// Unmute
mixer.setMute({
channel: Mixer.channels.input_9,
active: false
})
mixer.disconnect()