Subject: Re: TrackerPlayer
To: Arto Huusko <arto.huusko@pp.qnet.fi>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-amiga
Date: 05/24/1999 14:13:28
On Mon, May 24, 1999 at 10:54:56AM +0300, Arto Huusko wrote:
> Wondering here if anyone would be interested in testing, or just
> using, trackerplayer which plays Pro/NoiseTracker modules quite
> nicely on my NetBSD/Amiga box. The program is public domain and
> is (of course) portable but might not be nice to use on other
> NetBSD systems yet because only 8 bit output is supported...
>
> As a related issue, how do I send stereo output to NetBSD audio
> device? I know how to configure it to use two channels but
> how do I say: these samples go to left channel, these to right?
The format is:
1st sample left channel,
1st sample right channel,
2nd sample left,
2nd sample right, etc...
For 16bit, 2 bytes left, 2 bytes right.
You can set the mode to bigendian byte first or little endian byte first.
(for 4 8bit channels: 1 left, 1 right, 1 right, 1 left, as wired by the
hardware).
This should be obvious from "man 4 audio".
Regards,
Ignatios