File: soundplay.kbs

package info (click to toggle)
basic256 2.0.99.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,888 kB
  • sloc: cpp: 17,185; yacc: 4,025; lex: 1,466; java: 1,091; sh: 39; xml: 33; makefile: 20
file content (25 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# sound testing
# play the first two seconds of a sound
say "from main"
soundplay "bounce.mp3"
pause 5

a = 99
if a <100 then
say "from if"
soundplay "bounce.mp3"
pause 5
endif


gosub stuff

print "done"
end


stuff:
say "from gosub"
soundplay "bounce.mp3"
pause 5
return