xair-fade provides an interface for interacting with a Behringer X-AIR mixer, with the specific purpose of fading in and out specific channels.
To use this piece of software, run the following commands:
npm install
node src/index.js --ip <mixer ip address>
This will start serving an HTTP API on port 8080 for interacting with the mixer. To change the port, supply a --web-port
argument with a new port number.
Returns mix information about a channel.
{
"isOn": true,
"level": 0.75,
"isStereoLinked": false,
"pan": 0.5
}
Returns the level of the channel.
{
"level": 0.75
}
Sets the level of a channel, optionally ramping to the new level over a duration in milliseconds.
{
"level": 0.75
}
{
"level": 0.75,
"duration": 300
}
{
"level": 0.75
}
Returns whether a channel is muted or not.
{
"isOn": true
}
Mutes or unmutes a channel.
{
"isOn": false
}
{
"isOn": false
}
Gets information about a channel in the context of a specific bus.
{
"level": 0.75,
"type": 0,
"pan": 0.4
}
Returns the level of the channel in the context of a specific bus.
{
"level": 0.75
}
Sets the level of a channel in the context of a specific bus, optionally ramping to the new level over a duration in milliseconds.
{
"level": 0.75
}
{
"level": 0.75,
"duration": 300
}
{
"level": 0.75
}