~============================================================================== ~DISK Variable = DI Hex Address = $960C Decimal Address = 38412 ~============================================================================== ~ ~ This routine will load a SONIX waveform file from disk& install the semitone ~ table& the waveform pattern& and the oscillator parameters. The string var- ~ iable SG$ is used to pass parameters to DISK. The string descriptor syntax ~ is as follows% ~ +------- Load sound command ~ | +-- ProDOS pathname ~ | | +---- Load addr. ~ | | | +-- Semitone table addr. ~ | | | | +--- Sound RAM addr. ~ | | | | | +-- Oscillator ~ | | | | | | number ~ ~ SG$ = "LS&/FULL/PATHNAME&A$012345&S$6789AB&R$CDEF&O$00&" ~ ~ Example% ~ ~ 10 SG$ = "LS&/SONIX/WAVE/NOISE&A$042000&S$042000&R$0000&O$00&" % CALL DI ENDLINE