soundcraft-ui-connection
TypeScript icon, indicating that this package has built-in type declarations

3.2.0 • Public • Published

soundcraft-ui-connection

npm GitHub Actions The MIT License

This library provides a generic connection interface for the Soundcraft Ui series audio mixers (Ui12, Ui16 and Ui24R).

Full documentation

👉 https://fmalcher.github.io/soundcraft-ui

Installation

npm i soundcraft-ui-connection

Initialization and 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

Use commands and feedback

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 => {
  // ...
});

License

MIT

Package Sidebar

Install

npm i soundcraft-ui-connection

Weekly Downloads

33

Version

3.2.0

License

MIT

Unpacked Size

246 kB

Total Files

46

Last publish

Collaborators

  • fmalcher