AudioKit / Cookbook

Canonical Examples for Using the AudioKit Framework
MIT License
639 stars 103 forks source link

No need to update the UI with a Timer, use ProgressView with a Date Interval #156

Closed mahal closed 4 months ago

mahal commented 4 months ago

Using a DateInterval with ProgressView delegates updating the UI to the framework. Load the duration once the file is ready and let SwiftUI do the rest.

The actual Completion Handler didn't work before and still doesn't go further than two or three files, see https://github.com/AudioKit/AudioKit/issues/2916