diff --git a/packages/timeline-state-resolver/src/integrations/sisyfos/connection.ts b/packages/timeline-state-resolver/src/integrations/sisyfos/connection.ts index aff934949..a869a06d3 100644 --- a/packages/timeline-state-resolver/src/integrations/sisyfos/connection.ts +++ b/packages/timeline-state-resolver/src/integrations/sisyfos/connection.ts @@ -135,14 +135,21 @@ export class SisyfosApi extends EventEmitter { }) } if (command.values.pgmOn !== undefined) { + const args: Array = [ + { + type: 'i', + value: command.values.pgmOn, + }, + ] + if (command.values.fadeTime) { + args.push({ + type: 'f', + value: command.values.fadeTime, + }) + } this._oscClient.send({ address: `/ch/${command.channel + 1}/pgm`, - args: [ - { - type: 'i', - value: command.values.pgmOn, - }, - ], + args, }) } if (command.values.pstOn !== undefined) {