Contents |
Effect
Appends an additional recording from the Music Keyboard to an existing recording made with CALL REC MK in an array or in a specific area of the computer RAM.
The computer will search for the end mark in the recording area and start the additional recording from that location.
Tip: Define first the recording mode with CALL RECMOD and optionally the playback mode with CALL BGM.
Syntaxes
- CALL APPEND MK (<ArrayName>)
- CALL APPEND MK (<StartAddress>,<EndAddress>)
Parameters
<ArrayName> is an alphanumeric variable or a string, previously defined with the DIM instruction. When you append to an array, the background mode can't be used. Saving to disk is not directly possible, you need to use the COPY instruction.
<StartAddress> and <EndAddress> are used to specify the area of the computer RAM. It is recommended to first protect this area with a CLEAR instruction, especially if you use the background mode. Saving to tape or disk is directly possible with the BSAVE instruction.
Examples
10 DIM A(500) 20 'the array A has already partially been recorded 30 CALL APPEND MK(A)
10 CLEAR 300,&HA000 20 CALL REC MK(&HA000,&HCFFF) 30 K$=INKEY$ 40 IF K$="S" OR K$="s" THEN GOSUB 70 50 IF K$="R" OR K$="r" THEN GOSUB 100 60 GOTO 30 70 CALL STOPM 80 CALL PLAY MK 90 RETURN 100 CALL APPEND MK(&HA000,&HCFFF) 110 RETURN
Related to
CALL BGM, CALL CONT MK, CALL MK STAT, CALL PLAY MK, CALL REC MK, CALL RECMOD, BSAVE, CLEAR, COPY, DIM