Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAudioFileMBS class.

AVAudioFileMBS.available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available for use.

Should return true on OS X 10.10 and newer.

AVAudioFileMBS.fileDuration(file as folderItem) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundationNode MBS AVFoundation Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Queries duration of an audio file.

This uses different AVAudioFile API than rest of AVAudioFileMBS class.
We discovered a bug in Apples frameworks to report wrong length for some MP3 files and this function seems to be closer to the real duration of the file.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...