Skip to content

Commit

Permalink
fix: using Sisyfos set channel didn't send inputgain and input selector
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Sep 20, 2024
1 parent 2207439 commit 5ebf928
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,28 @@ export class SisyfosApi extends EventEmitter {
],
})
}
if (command.values.inputGain !== undefined) {
this._oscClient.send({
address: `/ch/${command.channel + 1}/inputgain`,
args: [
{
type: 'f',
value: command.values.inputGain,
},
],
})
}
if (command.values.inputSelector !== undefined) {
this._oscClient.send({
address: `/ch/${command.channel + 1}/inputselector`,
args: [
{
type: 'i',
value: command.values.inputSelector,
},
],
})
}
if (command.values.pgmOn !== undefined) {
const args: Array<MetaArgument> = [
{
Expand Down

0 comments on commit 5ebf928

Please sign in to comment.