Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

Sound class

Type Topic Version
class AVFoundation 14.3
Function: The built in sound class in Xojo.
dim f as FolderItem = SpecialFolder.Desktop.Child("test.mp4")
dim s as sound = f.OpenAsSound
dim a as AVAudioPlayerMBS = s.AVAudioPlayerMBS
MsgBox str(a.duration)+" seconds long"
call a.play

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

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

SoftDeclareMBS   -   SoundFileInfoMBS

The biggest plugin in space...

MBS Xojo PDF Plugins