Play recorded sounds: Difference between revisions
Content added Content deleted
No edit summary |
mNo edit summary |
||
Line 184: | Line 184: | ||
=={{header|FutureBasic}}== |
=={{header|FutureBasic}}== |
||
'''Library: AVFoundation''' |
|||
FB has several native ways to play recorded sounds, ranging from simple to commercial. It also can play a variety of audio formats including mp3, m4a, aiff, wav, etc. This task code uses the AVFoundation library to create a basic player with simple controls including a popup menu from which bundled audio files can be selected. |
FB has several native ways to play recorded sounds, ranging from simple to commercial. It also can play a variety of audio formats including mp3, m4a, aiff, wav, etc. This task code uses the AVFoundation library to create a basic player with simple controls including a popup menu from which bundled audio files can be selected. |
||
<syntaxhighlight lang="futurebasic"> |
<syntaxhighlight lang="futurebasic"> |
||
// https://rosettacode.org/wiki/Play_recorded_sounds |
|||
include "Tlbx AVFoundation.incl" |
include "Tlbx AVFoundation.incl" |
||