{"repo":"fulldecent/FDWaveformView","free":true,"listed":false,"github":"https://github.com/fulldecent/FDWaveformView","clone":"git clone https://github.com/fulldecent/FDWaveformView.git","description":"Reads an audio file and displays the waveform","language":"Swift","stars":1307,"topics":["swift","audio","waveform","ios","cocoapod","visualization","multimedia"],"license":"MIT","category":"mobile-apps","readme_excerpt":"FDWaveformView FDWaveformView displays audio waveforms in Swift apps so users can preview audio, scrub, and pick positions with ease. :hatching chick: Virtual tip jar: Usage Add an FDWaveformView programmatically, then load audio. If your file is missing an extension, see the Stack Overflow answer on AVURLAsset without extensions. Features Highlight playback Highlight a portion of the waveform to show progress. Zoom for detail Render only the visible portion while progressively adding detail as you zoom. Gesture control Allow scrubbing, stretching, and scrolling with built-in gestures. Animated updates Animate property changes for smoother UI feedback. Rendering quality - Antialiased waveforms draw extra pixels to avoid jagged edges. - Autolayout-driven size changes trigger re-rendering to prevent pixelation. - Supports iOS 12+ and Swift 5. - Includes unit tests that run on GitHub Actions. Installation Use Swift Package Manager: in Xcode choose File Swift Packages Add Package Dependency and point to this repository. Legacy installation options are available if needed. API Following is the complete API for this module: - FDWaveformView (open class, subclass of UIView ) - init() (public init) default initializer - delegate: FDWaveformViewDelegate? (open var, get/set) delegate for loading and rendering callbacks - audioURL: URL? (open var, get/set) audio file to render asynchronously - totalSamples: Int (open var, get) sample count of the loaded asset - highlightedSamples: Count","default_branch":null,"files":null,"tree":[],"storefront":"/r/fulldecent","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fulldecent/FDWaveformView/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."}