User Tools

Site Tools


playing_20an_20mp3_20file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
playing_20an_20mp3_20file [2018/03/31 13:19] – external edit 127.0.0.1playing_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("*.mp3")         mp3file% = OPENIN("*.mp3")
         IF mp3file% = 0 THEN QUIT         IF mp3file% = 0 THEN QUIT
Line 17: Line 19:
         IF S% ERROR 100, "mciSendString failed: " + STR$(S%)         IF S% ERROR 100, "mciSendString failed: " + STR$(S%)
         ENDPROC         ENDPROC
-\\  If you want the MP3 file to be played repeatedly you can change the **play** command to:\\ \\ +</code> 
 + 
 +If you want the MP3 file to be played repeatedly you can change the **play** command to: 
 + 
 +<code bb4w>
         PROCmci("play music repeat")         PROCmci("play music repeat")
 +</code>
 +
playing_20an_20mp3_20file.1522502373.txt.gz · Last modified: 2024/01/05 00:17 (external edit)