This library provides a generic connection interface for the Soundcraft Ui series audio mixers (Ui12, Ui16 and Ui24R).
👉 https://fmalcher.github.io/soundcraft-ui
npm i soundcraft-ui-connection
import { SoundcraftUI } from 'soundcraft-ui-connection';
const conn = new SoundcraftUI(mixerIP);
conn.connect();
conn.disconnect(); // close connection
conn.reconnect(); // close connection and reconnect after timeout
The SoundcraftUI
object exposes commands and feedback in a human-readable and object-oriented structure.
Feedback is published as streams that you can subscribe to. This uses the Observable object from RxJS.
conn.master.setFaderLavel(0.5);
conn.master.input(5).solo();
conn.aux(3).input(2).mute();
conn.master.faderLevel$.subscribe(value => {
// ...
});
MIT