PLAYING WITH SOUNDS

All aspects of programming on the Commander X16.
Post Reply
User avatar
ahenry3068
Posts: 1195
Joined: Tue Apr 04, 2023 9:57 pm

PLAYING WITH SOUNDS

Post by ahenry3068 »

EMULATOR R42

Just a little program snippet to play with patches and FMPLAY for
those who have to hear it first. If you want to start over enter "LOOP"

Code: Select all

10 CLS
20 FMINIT
22 PRINT
30 PRINT "FUCK WITH THE PLAY COMMAND"
40 INPUT "ENTER VOICE #";V
50 INPUT "ENTER PATCH #";P
60 FMINST V,P
70 FMPLAY V, "ABCDEFG"
80 FMPLAY V, "GFEDCBA"
90 FMPLAY V, "<"+"ABCDEFG"
100 FMPLAY V, ">"+"GFEDCBA"
110 INPUT "STRING TO PLAY WITH ";P$
120 IF P$="LOOP" THEN GOTO 10
125 IF P$="END" THEN END
130 FMPLAY V,P$
140 PRINT
150 GOTO 110
Post Reply