playing_20multiple_20wav_20files
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
playing_20multiple_20wav_20files [2018/03/31 13:19] – external edit 127.0.0.1 | playing_20multiple_20wav_20files [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Playing multiple WAV files===== | =====Playing multiple WAV files===== | ||
- | //by Richard Russell, February 2013//\\ \\ The method described in the main Help documentation for [[http:// | + | //by Richard Russell, February 2013//\\ \\ The method described in the main Help documentation for [[http:// |
+ | |||
+ | <code bb4w> | ||
wavfile1$ = " | wavfile1$ = " | ||
wavfile2$ = " | wavfile2$ = " | ||
Line 11: | Line 13: | ||
SYS " | SYS " | ||
SYS " | SYS " | ||
- | Note that the **close** commands are not required if the code is executed only once.\\ \\ If you want to test whether a file has finished playing you can do so as follows:\\ | + | </ |
+ | |||
+ | Note that the **close** commands are not required if the code is executed only once.\\ \\ If you want to test whether a file has finished playing you can do so as follows: | ||
+ | |||
+ | <code bb4w> | ||
reply1$ = STRING$(16, CHR$(0)) | reply1$ = STRING$(16, CHR$(0)) | ||
reply2$ = STRING$(16, CHR$(0)) | reply2$ = STRING$(16, CHR$(0)) | ||
Line 17: | Line 23: | ||
SYS " | SYS " | ||
IF reply1$ = reply2$ THEN PRINT " | IF reply1$ = reply2$ THEN PRINT " | ||
+ | </ |
playing_20multiple_20wav_20files.1522502374.txt.gz · Last modified: 2024/01/05 00:17 (external edit)