[comp.sys.amiga.audio] How to access Perfect Sound 3.0 ?

peter@gem.stack.urc.tue.nl (Peter Korsten) (05/23/91)

Hi. I was wondering if anybody has information about how to directly
access my Perfect Sound 3.0 hardware; e.g. reading left/right/stereo,
setting record level per software. I want to build a spectrum analyser
and I noticed that my hardware isn't that standard.

I've read on the Net that SunRize has software that does this and more,
but after I've seen the sampler program, I don't want to buy *ANYTHING*
from SunRize again when it's software (no problems with the hardware).
This could be a long and boring complaint about the sampler program, but
aah... well I know that SunRize post, so they'll probably read the news too.

So... *does* anybody know how the hardware is accessed ? Maybe I'll write
a sampler.device, that supports samplers on the parallel port and all
hardware (BTW, are there other samplers that are non-standard ?).

Thanx in advanxe, Peter.
-- 
main(){while(1)fork();}
Peter Korsten, in real life peter@stack.urc.tue.nl
Dutch copyright laws prevent me from quoting.

mwm@pa.dec.com (Mike (My Watch Has Windows) Meyer) (05/24/91)

In article <205@gem.stack.urc.tue.nl> peter@gem.stack.urc.tue.nl (Peter Korsten) writes:
   Hi. I was wondering if anybody has information about how to directly
   access my Perfect Sound 3.0 hardware; e.g. reading left/right/stereo,
   setting record level per software. I want to build a spectrum analyser
   and I noticed that my hardware isn't that standard.

The best way is to return the PS 3, and buy something else. Failing
that, find someone who would rather have a PS 3 than what they've
currently got, and trade. That's how I got an AMAS instead of the PS
3.
   So... *does* anybody know how the hardware is accessed ? Maybe I'll write
   a sampler.device, that supports samplers on the parallel port and all
   hardware (BTW, are there other samplers that are non-standard ?).

Yes, other samplers are non-standard; more accurately, there's not a
standard for sample-and-hold or for samplers with hardware gain.

If you get the 3.1 update from ScumRize, it's got a shared library for
doing sampling. You can tell how good it is by noting that they don't
use it in their sampler. It also forces you to use the same kinds of
interfaces as they use in their sampler.

At one point, I had dug into that library[12~; written a document
describing how to read their sampler, and was working on sample code -
then it got eaten by a disk crash. I traded samplers before I got back
to it....

From memory, so the details may be wrong.

PS 3 uses the upper two bits of the parallel port as control. Stobing
bit 6 causes a sample to be taken, and bit 7 says whether the sample
is on the left or right channel. The Printer Ready and Paper Out lines
are read from the control port for the other two bits. You strobe Data
Ready (?) to raise the gain level on the channel selected with bit 7.
To go down, you strobe it until you stop getting signal on the
sampler; that means it rolled over.

	<mike

--
When logic and proportion have fallen softly dead,	Mike Meyer
And the white knight is talking backwards,		mwm@pa.dec.com
And the red queen's off her head,			decwrl!mwm
Remember what the dormouse said.