home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12291 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.1 KB

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