How do I use sound effects in a BASIC program?
Posted: Wed Jun 06, 2007 2:51 am
I'm assuming that there are 4 sound effects the Oric is capable of (Shoot, explode, zap and ping.) What is the correct syntax of using these? Something like:
1 A=0
2 A=A+1
3 IF A>50 THEN SOUND PING
4 IF A>99 THEN A=0
5 GOTO 2
Would that make the 'ping' sfx go off repeatedly? I know a little bit of Basic from using Batari Basic, but am completely new at Oric machines and what they're capable of.
EDIT: Did some tinkering by myself and Found out if I take SOUND out, it works.
-Chris
1 A=0
2 A=A+1
3 IF A>50 THEN SOUND PING
4 IF A>99 THEN A=0
5 GOTO 2
Would that make the 'ping' sfx go off repeatedly? I know a little bit of Basic from using Batari Basic, but am completely new at Oric machines and what they're capable of.
EDIT: Did some tinkering by myself and Found out if I take SOUND out, it works.
-Chris