Generate waveform images from audio files on iOS, macOS & visionOS in Swift. Native SwiftUI & UIKit views.
Fixes an issue w/ striped rendering always drawing the last stripe as a line instead of a proper bar.
see #85
Re-add ability to position waveform when using the image APIs.
Bring back support for visionOS from 14.1.0.
WaveformAnalyzer
and WaveformImageDrawer
now return Result<[Float] | DSImage, Error>
when used with completionHandler for better error handlingWaveformAnalyzer
is now stateless and requires the URL in .samples(fromAudioAt:count:qos:)
instead of its constructorWaveformView
has a new constructor that provides optional access to the underlying WaveformShape
, which is now used for rendering, see #78
@available
annotation for macOS in WaveformLiveCanvas view by @TikhonP in https://github.com/dmrschmidt/DSWaveformImage/pull/73
Full Changelog: https://github.com/dmrschmidt/DSWaveformImage/compare/13.0.1...13.0.2
Any mentions of dampening
& similar were corrected to damping
etc in 11460b8b.
Most notably in Waveform.Configuration
.
See https://github.com/dmrschmidt/DSWaveformImage/issues/64.