Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.58 KB

README.md

File metadata and controls

61 lines (36 loc) · 1.58 KB

dante-control

A simple Javascript NPM Package for controlling AES67 & dante devices.

Expands on work by Chris Ritsen's Network Audio Controller library for Python.

And initial bash script investigations documented on Gearspace

Current Features:

  • Make Dante Crosspoin
  • Change device names
  • Change Tx and Rx channel names
  • Reset device and channel names
  • Get device Tx and Rx channel count

Work in progress:

  • Get device Tx channel names
  • Get device Rx channel names

Installation

Get it from NPM

npm i dante-control

Usage

const Dante = require("dante-control");

const dante = new Dante();

Set and reseting Device name

dante.setDeviceName("192.168.0.1", "MyNewDanteDeviceName");

dante.resetDeviceName("192.168.0.1");

Set and reseting Channel name

dante.setChannelName("192.168.0.1", "MyRxChannelName", "rx", 1); dante.setChannelName("192.168.0.1", "MyTxChannelName", "tx", 2);

dante.resetChannelName("192.168.0.1", "rx", 1); dante.resetChannelName("192.168.0.1", "tx", 1);

Making a subscription

dante.makesubscription("192.168.0.1", "Input 1", "MyDanteDeviceName", 3); dante.makesubscription("192.168.0.1", "Input 2", "MyDanteDeviceName", 4);

Clearing a subscription

dante.clearsubscription("192.168.0.113", 2);

Get number of Tx and Rx channels from a device

dante.getChannelCount("192.168.0.1");