Play recorded sounds: Difference between revisions
Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 185: | Line 185: | ||
=={{header|FutureBasic}}== |
=={{header|FutureBasic}}== |
||
'''Library: AVFoundation''' |
'''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"> |