[comp.sys.amiga] Addresses for ATTACK, DECAY, SUSTAIN, RELEASE in AmigaBasic

rap@peck.ardent.com (Rob Peck) (08/01/89)

In article <8@fgsys.magnesh.uu.no> olec@magnesh.uu.no (OleC. Magneshaugen) writes:
>A friend of mine... needs specific addresses for the
>ATTACK, DECAY, SUSTAIN and RELEASE to be able to poke
>these with custom values.  Also of interest is what values
>give what result to the sound-output?

In the Amiga, all of the sound is output via Direct Memory Access  (DMA).
For each channel, there is a pointer to the sound data in 8-bit samples,
and a volume control (6-bits) for each channel, and a few other miscellaneous
registers that control the DMA and whether or not one channel is attached
to the other for AM or FM modulation.  There are NO explicit
registers for the use you wish (Amiga audio is not a sound generator,
but rather is a data retriever).  If you want to get more information,
please purchase or borrow the Amiga Hardware Manual -- it is written
by Commodore, and is available from Addison Wesley.

Rob Peck