home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!metro!grivel!neumann.une.edu.au!fmonro
- From: fmonro@neumann.une.edu.au (F J Monro)
- Newsgroups: comp.sys.amiga.programmer
- Subject: How can I play "stereo" samples?
- Message-ID: <1638@grivel.une.edu.au>
- Date: 13 Aug 92 10:08:48 GMT
- Sender: usenet@grivel.une.edu.au
- Lines: 22
-
- Gudday,
-
- I've been working on a project which requires playing
- sampled sounds. I've taken the audio device example
- from page 620 of the 1.3 edition, Librabrys & Devices
- Volume of the RKMs; as a model for my code.
-
- This code works fine as far as it goes, But I have a
- problem, I want to play the (mono) sample in "stereo",
- ie from both speakers simultaneously. I've tried
- changing the channel allocation array (called chans in
- this example) to {3,5,10,12}, but this has no effect,
- the sample still comes out of one speaker only.
-
- Has anyone else had this problem? Is there any simple
- way to make it "stereo"? Please bear in mind that I
- know next to nothing about samples, and the audio.device.
-
-
- -Che Monro aka fmonro@neumann.une.edu.au
- "reverse the polarity of the neutron flow.."
-
-