home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Wed, 24 Jan 96 20:52:08 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: playing 14 bit samples. how?
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.48xx@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 24 Jan 96 Mathew Hendry wrote to All:
-
- >> The Amiga has 8 bit sound by standard. But it also has 6 bit volume
- >> registers for each sound channel which can be adjusted independently from
- >> the main sound. And 6+8 bit is 14 bit as far as I know.
-
- MH> If playing back 16 bit samples it's done like this:
-
- MH> Representing each bit of the sample as 0123456789ABCDEF, in descending
- MH> order of significance.
-
- MH> Channel 1, volume 63, play bits 01234567
- MH> Channel 2, volume 1, play bits __89ABCD
-
- MH> with bits E and F (the least significant) discarded. The bits marked as
- MH> "_" are permanently set to 0. If only the volume was specified as 8 bits
- MH> - we'd be able to reproduce 16 bit samples fully :)
-
- MH> (note that channel 1 only plays at 63x the volume of channel 2, not
- MH> 64x. This is one of the reasons for requiring calibration, as described
- MH> below).
-
- Then why don't you set the volume to 64? The volume-hardware seems to regard
- bit 6 as an indicator to play at maximum volume, independant of the bits 0-5.
- By setting the volume at 63 you are not playing at maximum volume yet.
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.985B3, XenolinkUUCP 1.1
-