Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!usc!sdsu!ucsd!ucbvax!EE.ECN.PURDUE.EDU!bevis From: bevis@EE.ECN.PURDUE.EDU (Jeff Bevis) Newsgroups: comp.sys.amiga Subject: Re: Need help reading audio digitizer Message-ID: <9001190021.AA04472@en.ecn.purdue.edu> Date: 19 Jan 90 00:21:34 GMT References: <4115@orion.cf.uci.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: Purdue University Engineering Computer Network Lines: 57 In article <4115@orion.cf.uci.edu>, mnelson@vmsa.oac.uci.edu writes: [stuff deleted] > my real question is this: does anybody have any information on >reading an audio digitizer (a parallel one)? would anybody be willing Well, I don't have any code to contribute, but I can give you some hardware thoughts... (since I have designed and constructed my own stereo digitizer which will be going into small-scale production soon...). The DRDY* output on the parallel port must be pulsed low to initiate a conversion.. The pulse need not be more than a few microseconds (I cannot recall the exact timing on this, so bear with my vague numbers)... Prior to this pulse, however (by at least 10 to 50 microseconds) you must have selected (with the aid of two outputs... pin numbers 12 & 13, I believe... I would have to check that now...) one of the two possible channels for sampling (this would be a good idea to uphold even though you are using a monophonic sampler.) These two outputs are active high. One enables the left channel for sampling, the other enables the right. You could look these pins up in the hardware manual (I don't have one nearby just now) and track these down to their I/O bits in the system... where you could make direct use of them (yech) -- whatever. But the signals need to look like this: (assume stereo) DRDY* -------_--------_--------------- select1 --------_________--------------- select2 ________---------_______________ | A |B| C |D| E | E... A: Channel one is enabled for the conversion. B: DRDY* pulses low (active) initiating conversion; converter holds sample value. C: Conversion is carried out and read; channel two is enabled for next conversion, channel one disabled. D: DRDY* pulses low initiating second conversion. E: Conversion is carried out and read; channel one is enabled again for next set of stereo conversion. If you want a mono conversion, just leave one select high and the other low. (and you only need to pulse DRDY* once, of course, for one sample.) Again, I'm not sure what the 'select's are actually called (in parallel-port normal terms)... One's probably POUT (paper out).. The other eludes me. They're adjacent on the connector, though. DISCLAIMER: I will make no guarantees on the accuracy of this information, but it is the best I can do without being near my reference material (which, if you have been reading csat, you know is bad for me...) Hope this may be useful in any small way... +--------------------------------+--------------------------------------------+ | Jeff Bevis | "But I don't like spam!" | | bevis@en.ecn.purdue.edu | Give me Amiga or nothing at all. | +--------------------------------+--------------------------------------------+