Member-only story

SwiftUI: Create a Sound Visualizer.

Using the built-in microphone, sample the sound level in dB to visualize it in SwiftUI.

Brandon Baars
The Startup
5 min readJan 24, 2020

--

Photo by Icons8 Team on Unsplash

This is what we are going to accomplish in this tutorial:

Getting Started

Create a new SwiftUI Project in Xcode. Make sure you’re running macOS Catalina and have Xcode 11 installed. (Allows you to use SwiftUI)

Open Xcode → File → New → Project → iOS → Single View App

Then hit next.

I called mine SoundVisualizer, but feel free to name it whatever you’d like.

Make sure you have User Interface set to SwiftUI.

How are we going to accomplish this?

--

--

The Startup
The Startup

Published in The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +772K followers.

Brandon Baars
Brandon Baars

Written by Brandon Baars

Software Engineer | React Native | NestJS | UI/UX

Responses (1)