DSWaveformImage
14.2.2 - striped rendering fix
DSWaveformImage offers a native interfaces for drawing the envelope waveform of audio data in iOS, iPadOS, macOS, visionOS or via Catalyst. To do so, you can use
WaveformImageView (UIKit) / WaveformView (SwiftUI) to render a static waveform from an audio file orWaveformLiveView (UIKit) / WaveformLiveCanvas (SwiftUI) to realtime render a waveform of live audio data (e.g. from AVAudioRecorder)WaveformImageDrawer to generate a waveform UIImage from an audio fileAdditionally, you can get a waveform's (normalized) [Float] samples directly as well by
creating an instance of WaveformAnalyzer.
For a practical real-world example usage of a SwiftUI live audio recording waveform rendering, see RecordingIndicatorView.
Download SoundCard on the App Store.