Welcome, Guest. Please login or register.

Author Topic: Non 8 -bit audio  (Read 8932 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Non 8 -bit audio
« on: September 13, 2006, 02:39:37 PM »
@spihunter

Maximum number of samples that can be fed to paula audio by DMA is tied to horizontal frequency. Since 16bits of data (==two 8bit samples) is fed per tick, the max frequency is twice the horizontal frequency.

Examples:
NTSC: 15.734 KHz * 2 = 31.468 KHz
PAL: 15.625 KHz * 2 = 31.25 KHz
DblPAL: 27.53KHz * 2 = 55.06 KHz

There limits do not apply if sampledata is poked by CPU directly (to the 16bit register, two samples per poke), but then CPU usage will be very high. In practice most apps use DMA to drive the audio, and are thus limited by the screenmode  horizontal frequncy.

Various tools exist that ramp up the unused native display mode to such values that high replayrate is possible, AHI supplied AddAudioModes DBLSCAN-option is one of them.