Platforms to show: All Mac Windows Linux Cross-Platform

Sound class

Type Topic Version
class AVFoundation 14.3
The built in sound class in Xojo.
Example
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

This class has no sub classes.

See also in the Xojo Language Reference

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...