AudioLoader
class AudioLoader: NSObjectA utility class to load audio files from file paths on iOS.
-
Loads audio from in-memory data bytes and converts it to PCM Float32 format.
Declaration
Swift
class func loadAudio(from data: Data) throws -> AudioData -
Loads an audio file from the given file path and converts it to PCM Float32 format.
Declaration
Swift
class func loadAudio(fromFilePath filePath: String) throws -> AudioData