-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
Awesome, thanks for this library!
Can the height of the wave be exposed as a configuration property instead of using an arbitrary value (frame.height * 0.5)?
func loadWaveformData(from audioURL: URL) {
loadState.loading = true
ASAudioWaveformDataFactory.loadAudioWaveformData(from: audioURL, formateSize: (waveformConfig.maxSamplesCount, frame.height * 0.5), timeRange: waveformConfig.timeRange) { (samples, assetData) in
self.loadState = (true, false)
self.filteredSamples = samples
self.drawWaveform()
}
}Metadata
Metadata
Assignees
Labels
No labels