NodeJS client library for Allen & Heath QU series mixers
Currently this client can:
- activate PAFL for each channel
- set the fader level for each channel
- activate the mute button for each channel
- shut down the mixer
If you need more features then feel free to open a GitHub issue and I will add them.
- Some version of Xcode (or Command Line Tools)
- Python (for node-gyp)
- Microsoft Visual C++ (the Express edition works fine)
- Python (for node-gyp)
- A C++ compiler
- You must have installed and configured ALSA.
- Install the libasound2-dev package.
- Python (for node-gyp)
$ npm install @epegzz/node-qu-client
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
})
// Shut down
mixer.shutdown()
// Release connection to mixer
mixer.disconnect()