Xojo Conferences
XDCMay2019MiamiUSA

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

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




Links
MBS FileMaker tutorial videos