[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3708.0. "Software for working with audio digitizers?" by PEBBLE::mwm (Mike (Real Amigas have Keyboard Garages) Meyer) Mon Apr 23 1990 17:08

Now that I've got an audio digitizer, I need some software for what I
_really_ wanted to do with it - which isn't just create spiffy samples
to amuse people with.

However, I've got no documentation on the interface, and no sample code.
I'd appreciate such for Perfect Sound 3.0 (or any parallel port digitizer -
I've been told they all use the same interface) that anyone has.

Better yet, you can write the one (1) function I need, in Lattice C 5.05:

int
get_audio_sample(int level, LONG ticks, LONG freq, BPTR sample, LONG length)

Starts sampling as soon as the sound level is above level, and continues
doing so until it runs out of space or the sound level goes below level
for ticks ticks.  Samples are taken at frequency freq, and stored in the
appropriate IFF structure in area sample, which is length bytes long. 
The normal return is FALSE; however if it runs out of sample space before
it stops for level, it stops and returns TRUE. As an extra-added bonus, if
SAMPLE is null, it behaves the same way, so you can do something like:

get_audio_sample(25, 25, 1000, NULL, 1000 * secs)

to find out if the sample was more than secs seconds long.

	Thanx
	<mike
T.RTitleUserPersonal
Name
DateLines
3708.1early veraion PS on fish diskSALEM::LEIMBERGERTue Apr 24 1990 06:2111
    It would be improper to distribute the documentation,or any example
    code that came with any version of Perfect Sound from 3.0 up.
    Sunrize restricted the right to do so starting at that version.
    	However there is an early version of Perfect Sound on one of
    the Fish disks that my help.Recently I have met several people 
    that wanted docs for both audio,and video digitizers. It seems that
    the hardware is easy to duplicate, an this is probably why Sunrize
    decided to change their policy.The version on the Fish disk will
    access the parallel port for you,and contained some good info,and
    docs also. Good Luck!
    							bill
3708.2Never mind the quality WELMTS::FINNISPeter Finnis at WelwynTue Apr 24 1990 09:4310
    Hi,
     	Did you buy the sampler or make it ?
    
    	The quality of the one I made ( taken from  ST/Amiga Format )
    	left quite a lot to be desired.
    		I have tried several pieces of software with it
    	and would be interested in you results...?
    
    			Pete                                               
    
3708.3I bought Perfect Sound 3.0PEBBLE::mwmMike (Real Amigas Have Keyboard Garages) MeyerTue Apr 24 1990 16:0316
I don't want what's distributed with PS 3.0 - I bought that package. The
problem is that the software that comes with it, while perfectly adequate for
creating samples, is inadequate for my purposes. That's why I'd like either
code or documentation describing what's showing up on the parallel port.

The same experts I queeried about "what's the best audio digitizer for
around $100" said that all the parallel-port digitizers had basically the
same interface. Not surprising - you can't really do much other than present
8-bit samples.  Having them all be same is good for the Amiga, if not for
each individual manufacturer.

I saw the Fish disk listing for Perfect Sound, and assumed that it was
a demo. Have to look again.

	Thanx,
	<mike
3708.4is this what you want?MILKWY::JANZENLife&#039;s beautiful from a DistanceTue Apr 24 1990 17:324
    I am confident that I saw ads for 16-bit samplers for storing and
    creating samples for like you know sampling "synthesizers".
    and keyboards and such.
    Tom
3708.5More experience with ST/Amiga format circuitFORTY2::TATHAMNick Tatham @REOWed Apr 25 1990 04:5011
RE: Note 3708.2 by WELMTS::FINNIS 

>    	The quality of the one I made ( taken from  ST/Amiga Format )
>    	left quite a lot to be desired.

That's interesting. I've also made that version and also found the quality
inadequate. I thought It might have been a wiring error - but maybe its a
design fault.

Nick

3708.6WELMTS::FINNISPeter Finnis at WelwynWed Apr 25 1990 06:0312
    Hi,
       re -1  I tried all sorts of layouts and got bored in the end.
    
    	How good are the cheap commercial Audio Digitizers..
    
    	How about a Audio Digitizer Top Ten..
    
    By the way .. ( all opinions are my own and in no way reflect Digitals
    opinion of the products mentioned ....)
    
    			Pete
    
3708.7Master Sound is good.PANIC::JACOBUsque Ad Mortem AddendumWed Apr 25 1990 07:1714
    
    I have the Master Sound unit and software. For 29 quid (that's pounds
    sterling) it's well worth the money. It was a special offer in the 
    magazine Amiga Format. The sampler software is excellent packed with
    features and as easy to use as a tape recorder. However the sequencer
    software is ok for mucking about with but you have to play in your
    tracks by hand on keyboard (yeeuck). I use it with Sonix to produce
    soundtracks and just take the IFF sample straight for spot effects.
    
    Verdict : Well worth the money.
    
    Regards, Mark.
    
    
3708.8Where is the version on the Fish Disk?FENRYS::mwmMike (Real Amigas Have Keyboard Garages) MeyerWed Apr 25 1990 14:2415
re .1 - could you tell me which fish disk you're talking about? The only
Perfect Sound I could find on a Fish Disk was on #50, and had no usefull
information in it.

Second question - could someone make the code/docs from the pre 3.0 versions
of Perfect Sound available? Or is that not legal?

BTW, I'm quite happy with the hardware and software that comes with
Perfect Sound. The software is fine for creating and editing samples. But
it's not adequate for what I want to do with the hardware, and I really,
really don't want to have to reinvent the wheel that creates 8SVX samples
from the digitizer.

	Thanx,
	<mike
3708.9BOMBE::MOOREEat or be eatenWed Apr 25 1990 18:047
    I believe that the Fish distribution was binary only.  Sources were
    included on the older Perfect Sound release disk, but I don't think
    it would be legal to distribute them.
    
    How about this?  As a registered owner of PS V3, contact SunRize
    about getting a copy of the routines you need.  It's worth a try...
    
3708.10Talking to SunRize is on the list FENRYS::mwmMike (Real Amigas Have Keyboard Garages) MeyerWed Apr 25 1990 18:0912
Since SunRize puts their phone number in all the sounds saved from Perfect
Sound, that thought has crosed my mind. But I bought the thing last weekend,
and mailed in the reg card Monday. I'm going to pursue other routes, and if
nothing turns up by next Monday, give them a call and see about getting code
from them.

It's wierd - 80%+ of my sample collection is from Perfect Sound. The remainder
is about evenly split between Audio Master & things that don't say who
created them. Then again, I wonder how many of the things that were based on
the old PS code left in their copyright notice?

	<mike
3708.11Scumrize to the rescue - notFENRYS::mwmMike (Real Amigas have Keyboard Garages) MeyerSun May 13 1990 14:5336
Sigh. The source to Perfect Sound 2.3 showed up last night. By then, I had
everything done but the actual digitization & creation of an IFF file.
Creating the IFF file was easy (but the code is going to get rewritten -
it's almost as ugly as the Perfect Sound code).

So I wrote the code to actually do a digitation, fired it up, and got - a
sound sample full of 0x7Fs, meaning I was reading FFs from the port, meaning
I was probably getting garbage. Several hours spent looking at the 2.3 code,
tracing my code in cpr, and otherwise scratching my head turned up nothing.

Finally, I decided to see if the code they shipped me worked, starting with
the binary. It returned the exact same thing my code returned - a sample full
of 0x7Fs. Conclusion - they changed the hardware!

This morning, I called Sunrize. They confirmed the above. So I asked how
to get samples from the hardware, and was told that that information is
proprietary. I pointed out that this was like selling me a light pen and
a paint program that used it, and refusing to tell me how to make it work
with anything else. They still refused to tell me anything, but offered me
a free ugprade to 3.3, which would include a library I could use for my
purposes (I didn't ask if it could do direct to disk). I went away and talked
to the support people for some other products, and discussed exchanging that
digitizer for another one (maybe even an older Perfect Sound). Finally decided
that it wouldn't be worth the hassle.

So I called Sunrize back, and asked for them to send me the upgrade with
library. I then pointed out that the library with documented entry points
wasn't going to be any harder to deal with than the 2.3 source code (easier,
as what the arguments to the routines are should be clearly labelled, instead
of just a suggestive name), so I could extract what I needed, so why not
save me several weeks by telling me what I needed to know. Reply:
"It's to complicated."

Oh well. To clean up the IFF writing code, and wait....

	<mike