Welcome, Guest. Please login or register.

Author Topic: Programming "Chip Tunes"  (Read 1716 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: Programming "Chip Tunes"
« on: March 26, 2005, 02:10:34 PM »
@boing

Quote
I think this^ is similar to how some programs provided 14-bit audio. By using volume control you can in effect extend the range of the Amiga's default 8-bit DACs. IIRC, the Amiga had/has 64 volume levels (5 bit volume control).


Actually it's not done like this. Rather the both channels are set up to play sampledata, but first channel at full volume 64, and the 2nd at volume 1.

Thus the 1st channel provides higher 8 bits of precision (so it plays most significant 8 bits), and the 2nd channel lower 8 bits (least significant 8 bits). However, due to very low volume level of the 2nd channel, the effective precision is around 6 bits: Thus 8 + 6 = 14.

(Or was it due to 256>>2 == 64... Can't remember anymore :-))

Naturally this is done separately for left and right channels.