Subject: Re: /dev/audio works, (SPARC)tracker not
To: None <amiga@netbsd.org, newsham@wiliki.eng.hawaii.edu,>
From: Olaf Seibert <rhialto@mbfys.kun.nl>
List: amiga
Date: 12/12/1994 13:54:45
> > > Just a suggestion: Why not using 2 channels to play u-law encoded sound? 
> > > That way you can use one channel for 8-bit samples and the other channel
> > > to modulate the volume (6-bit) to achieve a net result of 14-bit (= full
> > > u-law linear range).
> >
> > btw.  has anyone done this before?
> 
> 	As it happens, the Hardware Reference Manual describes exactly how to 
> do it.  By setting the mask in ADKCON, you can define the interaction of the 
> channels for modulation of both period and volume.  Specifically:
 
On comp.sys.amiga.programmer or somesuch there has been a sort of war over this
subject.

Basically, the proposed trick was to play one channel at maximum volume
(playing the most significant bits of the sample) and at the same time the other
channel at minumum volume (for the least significant bits). The actual sample
played would be 64 * high_channel + low_channel.

-Olaf.
--
___ Olaf 'Rhialto' Seibert    rhialto@mbfys.kun.nl     Ooey-Gooey-Fluffy-Barfie
\X/ I'm not weird, I'm differently perceived. D787B44DFC896063 4CBB95A5BD1DAA96