Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sound [2021/08/25 18:53] – created pulkomandysound [2022/06/24 20:47] (current) simer
Line 1: Line 1:
-The sound controller has 16 channels with configurable replay frequencies, and volume enveloppe generators. Each channel has two 22-bit pointers to a sample in RAM or ROM, one used for the initial sound trigger and the second used as a loop point.+The sound controller has 16 channels with configurable replay frequencies, and volume envelope generators. Each channel has two 22-bit pointers to a sample in RAM or ROM, one used for the initial sound trigger and the second used as a loop point. Samples can be either 8-bit or 16-bit unsigned PCM, or Dialogic/OKI ADPCM (VOX).
  
 ====== Channels controls ====== ====== Channels controls ======
Line 9: Line 9:
 | 30x2    | Channel X loop address   | | 30x2    | Channel X loop address   |
 | 30x3    | Channel X panning and volume (7 bits each)      | | 30x3    | Channel X panning and volume (7 bits each)      |
-| 30x4    | Channel X enveloppe target volume and increment | +| 30x4    | Channel X envelope target volume and increment | 
-| 30x5    | Channel X envolope CNT and EDD (?)              | +| 30x5    | Channel X envelope CNT and EDD (?)              | 
-| 30x6    | Channel X repeat count (bits 15-9), repeat enable (8), Enveloppe load (7-0) | +| 30x6    | Channel X repeat count (bits 15-9), repeat enable (8), Envelope load (7-0) | 
-| 30x7    | Channel X IRQ address (15-9), IRQ enable, enveloppe segment (6-0)           | +| 30x7    | Channel X IRQ address (15-9), IRQ enable, envelope segment (6-0)           | 
-| 30x8    | Channel X enveloppe address                                                 |+| 30x8    | Channel X envelope address                                                 |
 | 30x9    | Channel X wave data 0                                                       | | 30x9    | Channel X wave data 0                                                       |
-| 30xA    | Channel X ramp down offset (15-9) and enveloppe address offset (8-0)        |+| 30xA    | Channel X ramp down offset (15-9) and envelope address offset (8-0)        |
 | 30xB    | Channel X wave data                                                         | | 30xB    | Channel X wave data                                                         |
 | 32x0    | Phase high bits (2-0)         | | 32x0    | Phase high bits (2-0)         |
Line 28: Line 28:
 ====== Global controls ====== ====== Global controls ======
  
-^ Address ^ Function                           +^ Address ^ Function                                  
-| 3400    | Channel enable (1 bit per channel) | +| 3400    | Channel enable (1 bit per channel)        
-| 3401    | Main volume (7 bits)               +| 3401    | Main volume (7 bits)                      
-| 3402    | Channel FIQ enable                 +| 3402    | Channel FIQ enable                        
-| 3403    | Channel FIQ status                 +| 3403    | Channel FIQ status                        
-| 3404    | Beat base counter                  |+| 3404    | Beat base counter                         |
 | 3405    | Beat counter (13-0), IRQ enable (15) and status (14) | | 3405    | Beat counter (13-0), IRQ enable (15) and status (14) |
-| 3406    | Enveloppe interval, channels 0-3   +| 3406    | Envelope interval, channels 0-3           
-| 3407    | ... channels 4-7                   +| 3407    | ... channels 4-7                          
-| 3408    | ... channels 8-11                  +| 3408    | ... channels 8-11                         
-| 3409    | ... channels 12-15                 +| 3409    | ... channels 12-15                        
-| 340A    | Enveloppe fast rampdown            +| 340A    | Envelope fast ramp-down                   
-| 340B    | Channel stop status (1 bit per channel) | +| 340B    | Channel stop status (1 bit per channel)   
-| 340C    | Zero cross enable (1 bit per channel)   |+| 340C    | Zero cross enable (1 bit per channel)     |
 | 340D    | Control flags: NoInt (9), LPEn (8), HVol(7-6), SOF (5), Init (3), PCM (2) | | 340D    | Control flags: NoInt (9), LPEn (8), HVol(7-6), SOF (5), Init (3), PCM (2) |
-| 340F    | Channels status                         +| 340F    | Channels status                           
-| 3410    | Left mixer input                        +| 3410    | Left mixer input                          
-| 3411    | Right mixer input                       +| 3411    | Right mixer input                         
-| 3412    | Left mixer output                       +| 3412    | Left mixer output                         
-| 3413    | Right mixer output                      |+| 3413    | Right mixer output                        |
 | 3414    | Channel repeat enable (1 bit per channel) | | 3414    | Channel repeat enable (1 bit per channel) |
-| 3415    | Channel enveloppe mode                    |+| 3415    | Channel envelope mode                     |
 | 3416    | Channel tone release control              | | 3416    | Channel tone release control              |
-| 3417    | Channel enveloppe IRQ status              |+| 3417    | Channel envelope IRQ status               |
 | 3418    | Channel pitch band enable                 | | 3418    | Channel pitch band enable                 |
sound.txt · Last modified: 2022/06/24 20:47 by simer
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0