[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can GS be used as a metronome?



dalloff@freenet.columbus.oh.us (Dave Althoff) wrote:
>Of course it can!
>
>The easiest way is to just write a BASIC routine with a timing loop to
>provide a click at intervals.  Something like...
>
>REM works on ANY Apple ][!
>60000 S=PEEK(-16336)+PEEK(-16336):TM=DL
>60001 K%=PEEK(016384):ON K%>128 GOTO 60002:TM=TM-1:ON TM=0 
               ^^^^^^
    should be: -16384 !!!!

>      GOTO 60000:GOTO 60001
>60002 POKE -16368,0:RETURN

--------------------------------------
Ron Kneusel, rkneusel@post.its.mcw.edu
        http://www.intmed.mcw.edu/rtk/
--------------------------------------
Systems Specialist -- Division of General Internal Medicine
Medical College of Wisconsin
Milwaukee, Wisconsin