Quantcast
Viewing all articles
Browse latest Browse all 3866

複数の音声ファイルを連続して再生したい

Hello.

I want to play multiple audio files consecutively.
The code below plays them almost simultaneously.

Var srcFileA As FolderItem
Var srcFileB As FolderItem

srcFileA = SpecialFolder.Desktop.Child(“a.mp3”)
If srcFileA <> Nil And srcFileA.Exists Then
Var s As Sound
s = srcFileA.OpenAsSound
s.Play
End If

srcFileB = SpecialFolder.Desktop.Child(“b.mp3”)
If srcFileB <> Nil And srcFileB.Exists Then
Var s As Sound
s = srcFileB.OpenAsSound
s.Play
End If

What is the best way to play b.mp3 after a.mp3?
Could you please tell me?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3866

Trending Articles