{"repo":"dmrschmidt/DSWaveformImage","free":true,"listed":false,"github":"https://github.com/dmrschmidt/DSWaveformImage","clone":"git clone https://github.com/dmrschmidt/DSWaveformImage.git","description":"Generate waveform images from audio files on iOS, macOS & visionOS in Swift. Native SwiftUI & UIKit views.","language":"Swift","stars":1256,"topics":["audio-analysis","audio-visualizer","waveform-images","waveform","audio-files","fourier-transform","fft","swift","ios","swiftui"],"license":"MIT","category":"mobile-apps","readme_excerpt":"DSWaveformImage Native audio waveform rendering for iOS , iPadOS , macOS , visionOS , and Mac Catalyst. Three layers, pick whichever fits: - SwiftUI views — WaveformView , WaveformLiveCanvas , WaveformShape - UIKit views — WaveformImageView , WaveformLiveView - Raw API — WaveformImageDrawer renders to UIImage / NSImage ; WaveformAnalyzer gives you the normalized [Float] samples to do your own thing with. The Example/ directory contains a multi-platform showcase ( WaveformGalleryView ) that exercises every public surface interactively — recommended for poking around with renderers, styles, and configurations together. Installation Add the package via SPM: Quick start SwiftUI UIKit Raw UIImage / NSImage Gallery Every feature, once. Most options compose with most others — the example app's WaveformGalleryView lets you explore the permutations interactively. Linear renderer LinearWaveformRenderer is the default — a horizontal 2D amplitude envelope. sides controls which side of the centerline the envelope occupies ( .both , .up , .down ). .stereo is a factory that interprets a two-channel sample array as left-on-top / right-on-bottom in a single image. Circular renderer CircularWaveformRenderer wraps the envelope around a circle. .circle fills the disk; .ring(innerFraction) cuts a hole, producing an annulus driven by the same envelope. You can also implement your own renderer by conforming to WaveformRenderer . Styles Waveform.Style controls how the envelope is drawn — same render","default_branch":null,"files":null,"tree":[],"storefront":"/r/dmrschmidt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dmrschmidt/DSWaveformImage/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}