
Each audio channel includes an eight-bit digital-to-analog converter driven by a direct
memory access (DMA) channel. The audio DMA can retrieve two data samples during each
horizontal video scan line. For simple, steady tones, the DMA can automatically play a
waveform repeatedly; you can also program all kinds of complex sound effects.
There are two methods of basic sound production on the Amiga – automatic (DMA) sound
generation and direct (non-DMA) sound generation. When you use automatic sound
generation, the system retrieves data automatically by direct memory access.
FORMING AND PLAYING A SOUND
This section shows you how to create a simple, steady sound and play it. Many basic
concepts that apply to all sound generation on the Amiga are introduced in this section.
To produce a steady tone, follow these basic steps:
1. Decide which channel to use.
2. Define the waveform and create the sample Table in memory.
3. Set registers telling the system where to find the data and the length of the data.
4. Select the volume at which the tone is to be played.
5. Select the sampling period, or output rate of the data.
6. Select an audio channel and start up the DMA.
DECIDING WHICH CHANNEL TO USE
The Amiga has four audio channels. Channels 0 and 3 are connected to the left-side
stereo output jack. Channels 1 and 2 are connected to the right-side output jack. Select a
channel on the side from which the output is to appear.
CREATING THE WAVEFORM DATA
The waveform used as an example in this section is a simple sine wave, which produces a
pure tone. To conserve memory, you normally define only one full cycle of a waveform in
memory. For a steady, unchanging sound, the values at the waveform’s beginning and
ending points and the trend or slope of the data at the beginning and end should be
closely related. This ensures that a continuous repetition of the waveform sounds like a
continuous stream of sound.
- 134 Audio Hardware -
Summary of Contents for Amiga A1000
Page 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Page 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Page 21: ...12 Introduction...
Page 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Page 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Page 101: ...92 Playfield Hardware...
Page 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Page 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Page 229: ...220 System Control Hardware...
Page 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Page 265: ...256 Interface Hardware...
Page 289: ...280 Appendix A...
Page 297: ...288 Appendix B...
Page 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Page 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Page 343: ...334 Appendix F...
Page 351: ...342 Appendix G...
Page 361: ...352 Appendix H...
Page 367: ...358 Appendix I...