Prev: 46267 Up: Map Next: 46317
46310: Play Wave Sequence
Plays a tone made of a number of cycles with the same pitch.
Input
B Pitch of the tone (smaller values are higher)
C Number of cycles
PlayWaveSequence 46310 CALL PlaySquareWave Play a single cycle of the tone.
46313 DEC C Decrease the cycle counter and loop back to PlayWaveSequence until all of the cycles have been played.
46314 JR NZ,PlayWaveSequence
46316 RET Return.
View the equivalent code in;
Prev: 46267 Up: Map Next: 46317