An NSView subclass that draws a waveform overview. The view provides an optional ruler, grid and allows selection. JHWaveformView is able to graph any float* array, and a subclass, JHAudioPreviewView, attaches to an AVPlayer object and renders an overview of that player's asset, allows you to seek on the asset through the view, and renders the playhead position on the view.
Sponsored with ❤️ by Instabug
Squash bugs in less than a minute
Tired of wasting time debugging your mobile app? Instabug's SDK is here to help you minimize your debugging time by providing you with complete device details, network logs, and reproduction steps with every bug report. All data is attached automatically. It only takes one minute to setup. Get started for free.