qbasic-compatible_20music
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
qbasic-compatible_20music [2018/03/31 13:19] – external edit 127.0.0.1 | qbasic-compatible_20music [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//by Richard Russell, March 2014//\\ \\ The code below implements a QBASIC-compatible **PLAY** command, which allows you to play simple tunes; it makes use of the //BBC BASIC// **SOUND** and **ENVELOPE** statements available in LBB. The example tune is from Beethoven' | //by Richard Russell, March 2014//\\ \\ The code below implements a QBASIC-compatible **PLAY** command, which allows you to play simple tunes; it makes use of the //BBC BASIC// **SOUND** and **ENVELOPE** statements available in LBB. The example tune is from Beethoven' | ||
+ | <code lb> | ||
CALL QBplay " | CALL QBplay " | ||
CALL QBplay " | CALL QBplay " | ||
Line 61: | Line 62: | ||
LOOP UNTIL play$ = "" | LOOP UNTIL play$ = "" | ||
END SUB | END SUB | ||
+ | </ |
qbasic-compatible_20music.1522502375.txt.gz · Last modified: 2024/01/05 00:16 (external edit)