Closed ipodishima closed 1 year ago
@Matt54 might need to take a look. I think he's using this in the Cookbook's MultiSegmentPlayer: https://github.com/AudioKit/Cookbook/blob/main/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/AudioPlayer/MultiSegmentPlayerView.swift
I'm just awaiting @Matt54 to chime in that this is okay by him.
Hey sorry for the delay - been a crazy busy week. Looks good though!
@aure I've got these rms analysis methods duplicated in other projects since I didn't want the AudioKitUI dependency. Reminds of that idea of spitting off a package just for utility functions
Yes, I wanted to go deeper into the changes but saw that some things belong to AudioKitUI, like the loadAudioSignal
.
IMHO it could belong to AudioKit or like you said, a utility package.
Exposing AudioHelpers
Also @aure : I replaced
getFileEndTime
byduration
fromAudioKit
. Only difference isgetFileEndTime
usesprocessingFormat
whereduration
usesfileFormat
. Not sure if it has an impact...