playing_20an_20mp3_20file_20_28lbb_29
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| playing_20an_20mp3_20file_20_28lbb_29 [2018/03/31 13:19] – external edit 127.0.0.1 | playing_20an_20mp3_20file_20_28lbb_29 [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //by Richard Russell, January 2016//\\ \\ This is a very simple, no-frills, way of playing an MP3 file:\\ \\ | //by Richard Russell, January 2016//\\ \\ This is a very simple, no-frills, way of playing an MP3 file:\\ \\ | ||
| + | <code lb> | ||
| mp3file$ = " | mp3file$ = " | ||
| ret$ = space$(128) + chr$(0) | ret$ = space$(128) + chr$(0) | ||
| Line 8: | Line 9: | ||
| cmd$ = "play music" | cmd$ = "play music" | ||
| calldll #winmm, " | calldll #winmm, " | ||
| + | </ | ||
| \\ If you want the MP3 file to be played repeatedly you can change the play command to:\\ \\ | \\ If you want the MP3 file to be played repeatedly you can change the play command to:\\ \\ | ||
| + | <code lb> | ||
| cmd$ = "play music repeat" | cmd$ = "play music repeat" | ||
| + | </ | ||
playing_20an_20mp3_20file_20_28lbb_29.1522502373.txt.gz · Last modified: 2024/01/05 00:17 (external edit)