home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / audio / 4529 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.7 KB

  1. Xref: sparky comp.sys.amiga.audio:4529 comp.sys.amiga.programmer:17880
  2. Newsgroups: comp.sys.amiga.audio,comp.sys.amiga.programmer
  3. Path: sparky!uunet!munnari.oz.au!metro!sunb!laurel.ocs.mq.edu.au!mglew
  4. From: mglew@laurel.ocs.mq.edu.au (Michael Glew)
  5. Subject: audio programming without multitasking...
  6. Message-ID: <1992Dec28.223456.26166@mailhost.ocs.mq.edu.au>
  7. Followup-To: mglew@laurel.ocs.mq.edu.au (Michael Glew)
  8. Sender: mglew@laurel.ocs.mq.edu.au (Michael Glew)
  9. Nntp-Posting-Host: laurel.ocs.mq.edu.au
  10. Organization: Macquarie University, Australia.
  11. Date: Mon, 28 Dec 1992 22:34:56 GMT
  12. Lines: 28
  13.  
  14. I'm writing a software package that sends frequencies to the audio port
  15. in order to control an external device.  It seems that there is some
  16. sort  of interrupt interference.  I want to shut off multitasking during
  17. this period, and would like to know how to access the audio hardware
  18. directly to:
  19.  
  20. (1)    set a two byte long sample of 128 then -128 (square wave)
  21. (2)    set the freqency "randomly" between 200Hz and 1100Hz approx.
  22. (3)    set the duration for 0.4 to 60.0 seconds
  23. (4)    and have an error less than 1.0%
  24.  
  25. Example code in Pascal,Assembler,C would be welcomed by email. as would
  26. references to common literature....
  27.  
  28. Thanx in advance... 8-)
  29.  
  30. Regards,
  31.  
  32.     Mike.
  33.  -----------------------------------------------------------------------------
  34.  Internet:    mglew@laurel.ocs.mq.edu.au
  35.     Phone:    +61 43 841525
  36.  
  37.                      "I have a cunning plan..."    - Baldrick (Black Adder)
  38.  -----------------------------------------------------------------------------
  39.      Michael Glew - School of Math Phys Comp & Elec - Macquarie University
  40.  -----------------------------------------------------------------------------
  41.  
  42.