Skip to content

Javascript Library for controlling Dante devices

License

Notifications You must be signed in to change notification settings

mbaklor/dante-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

About

Javascript Library for controlling Dante devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%