libatem is a Ruby library that lets you control Blackmagic Design ATEM switchers.

It was developed in-house at Insanity to allow completely automated vision mixing, but is flexible to suit any purpose.

The code is free and open source, and available on GitHub under the MIT license.

The library is very easy to use, and should hopefully encourage a bigger cross-over between TV and software development. It makes developing “smart” macros trivial.


  • Connected device info
  • List input devices and audio properties
  • Switch between live and preview input
  • Realtime audio levels

There are a lot more features in the works. The following are planned: