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