User Tools

Site Tools


hardware:audio

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:audio [2025/03/01 19:01] – [Initializing the audio system] clydehardware:audio [2025/03/01 20:39] (current) – [Effective sample rate] clyde
Line 41: Line 41:
  
 Conversely the IRQ rate can go as high as 3.5795MHz but without time for any CPU operations this isn't very useful  Conversely the IRQ rate can go as high as 3.5795MHz but without time for any CPU operations this isn't very useful 
 +
 +Here's a table with some example rate settings close to some commonly used sample rates
 +
 +^ Hex ^ Sample Rate (Hz)   ^ Closest Common Rate  ^  Difference ^ ACP cycles per sample ^
 +| **$FF** | **13983** |  N/A (Lowest setting)  | N/A   | 1024 |
 +| **$EF** | **15980** | 16000 | 19.9  | 896 |
 +| **$D0** | **22233** | 22050 | 183.2 | 644 |
 +| **$B7** | **31960** | 32000 | 39.8  | 448 |
 +| **$A8** | **44192** | 44100 | 91.9  | 324 |
 +| **$A5** | **47099** | 32000 | 900.7 :( | 304 |
 +| **$94** | **87306** | 88200 | 894.0 :( | 164 |
 +| **$92** | **96744** | 96000 | 744.5 :( | 148 |
 +
  
 ==== Initializing the audio system ==== ==== Initializing the audio system ====
hardware/audio.1740855700.txt.gz · Last modified: 2025/03/01 19:01 by clyde