ATEM audio mixer

This is the audio mixer interface present in most of the ATEM switchers. Some of the newer models have Fairlight audio mixing instead.

class pyatem.command.AudioInputCommand(source, balance=None, volume=None, on=None, afv=None)

Implementation of the CAMI command. This sets the settings of a channel strip in legacy audio.

Offset

Size

Type

Description

0

1

u8

Mask, see table below

2

2

u16

Source index

4

1

u8

Mix Option [0: Off, 1: On, 2: AFV]

5

1

u8

unknown

6

2

u16

Volume [0 - 65381]

8

2

i16

Balance [-10000 - 10000]

10

2

u16

unknown

Bit

Mask value

0

Mix Option

1

Volume

2

Balance

3

?

4

?

5

?

6

?

7

?

8

?

__init__(source, balance=None, volume=None, on=None, afv=None)
Parameters

index – 0-indexed M/E number to control the preview bus of

class pyatem.command.AudioMasterPropertiesCommand(volume=None, afv=None)

Implementation of the CAMM command. This sets the settings the master channel of legacy audio.

Offset

Size

Type

Description

0

1

u8

Mask, see table below

1

1

u8

unknown

2

2

u16

Master volume [0 - 65381]

4

2

?

unknown

6

1

bool

AFV

7

1

?

unknown

Bit

Mask value

0

Volume

1

?

2

AFV On/Off

__init__(volume=None, afv=None)
Parameters
  • volume – New volume of the master channel, or None

  • afv – Enable AFV for master, following the Fade-to-black, or None

class pyatem.command.AudioMonitorPropertiesCommand(enabled=None, volume=None, mute=None, solo=None, solo_source=None, dim=None, dim_volume=None)

Implementation of the CAMm command. This sets the settings the monitor bus of legacy audio.

Offset

Size

Type

Description

0

1

u8

Mask, see table below

1

1

bool

Enabled

2

2

u16

Monitor volume [0 - 65381]

4

1

bool

Mute

5

1

bool

Solo

6

2

u16

Solo source

8

1

bool

Dim

9

1

?

unknown

10

2

u16

Dim volume

Bit

Mask value

0

Enabled

1

Gain

2

Mute

3

Solo

4

Solo source

5

Dim

6

Dim volume

__init__(enabled=None, volume=None, mute=None, solo=None, solo_source=None, dim=None, dim_volume=None)
Parameters
  • volume – New volume of the master channel, or None

  • afv – Enable AFV for master, following the Fade-to-black, or None

Level meters

class pyatem.command.SendAudioLevelsCommand(enable)

Implementation of the SALN command. This is an acknowledgement for FTDa packets.

Offset

Size

Type

Description

0

1

bool

Enable sending levels

1

3

?

unknown

__init__(enable)
Parameters
  • transfer – Unique transfer number

  • slot – Slot index