Skip to main content

Karaoke App with Amazon IVS & Switchboard

Overview​

This guide walks through building a live karaoke experience on mobile by combining the Switchboard SDK with Amazon IVS. Singers hear local monitoring with real‑time effects, while viewers watch a polished stream.

  • Low latency audio routing handled by Switchboard’s native engine
  • Video delivered via Amazon IVS
  • Real‑time effects like reverb and pitch shifting
  • Stereo mix published to IVS while monitoring stays in sync
Dive deeper

The blog post How to build a karaoke app with Amazon IVS and Switchboard explains the architecture in detail.

Source code​

GitHub

You can find the source code on the following link:

Karaoke IVS App – Android

GitHub

You can find the source code on the following link:

Karaoke IVS App – iOS

How it works​

  1. Capture – The app records microphone input and a backing track locally.
  2. Process – Switchboard applies effects and mixes the signals.
  3. Encode and publish – The processed stereo mix feeds the Amazon IVS encoder and is pushed to your IVS channel.
  4. Playback – Viewers see the stream with two to three seconds of latency while the singer hears immediate monitoring.

Prerequisites​

  • Android Studio (Giraffe or newer)
  • A physical Android device on Android 13 or later
  • Xcode 15 or newer
  • A physical iOS device on iOS 17 or later
  • Switchboard SDK
  • An Amazon IVS channel with stream key and ingest URL

Run the demo​

Android​

  1. Clone the Android repo.
  2. Open the project in Android Studio.
  3. Add your IVS credentials to Config.kt.
  4. Build and run on a physical device.

iOS​

  1. Clone the iOS repo.
  2. Open KaraokeWithAmazonIVSApp.xcodeproj in Xcode.
  3. Add your IVS credentials to Config.swift.
  4. Build and run on a physical device.
Extensions used

These apps rely on the Superpowered and Amazon IVS extensions for Switchboard.