playing_20an_20mp3_20file
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
playing_20an_20mp3_20file [2018/03/31 13:19] – external edit 127.0.0.1 | playing_20an_20mp3_20file [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Playing an MP3 file===== | =====Playing an MP3 file===== | ||
- | //by Richard Russell, May 2015//\\ \\ This is a very simple, no-frills, way of playing an MP3 music file:\\ | + | //by Richard Russell, May 2015//\\ \\ This is a very simple, no-frills, way of playing an MP3 music file: |
+ | |||
+ | <code bb4w> | ||
mp3file% = OPENIN(" | mp3file% = OPENIN(" | ||
IF mp3file% = 0 THEN QUIT | IF mp3file% = 0 THEN QUIT | ||
Line 17: | Line 19: | ||
IF S% ERROR 100, " | IF S% ERROR 100, " | ||
ENDPROC | ENDPROC | ||
- | \\ | + | </ |
+ | |||
+ | If you want the MP3 file to be played repeatedly you can change the **play** command to: | ||
+ | |||
+ | <code bb4w> | ||
PROCmci(" | PROCmci(" | ||
+ | </ | ||
+ |
playing_20an_20mp3_20file.1522502373.txt.gz · Last modified: 2024/01/05 00:17 (external edit)