jlema@wyse.wyse.com (Joel Lema) (07/11/89)
I have recently gotten access to a sparcstation and I was intrigued by the built in audio features. However, the system came with only a small set of manuals without any references on how to program sound. Does anyone out there have a guide to the sound hardware or maybe a pertinent sun manual. I am also interested in a program that can manipulate sounds. Joel Lema
jake@robots.oxford.ac.uk (Jake Reynolds) (02/04/90)
Does anyone know if there is an easy way of converting u-law data filesback into their uncompresed form without losing information content ? One could simply reverse the u-law characteristic, but this would degrade the data cf its original. Also, does anyone know when SUN is going to bring out a new version of sound.c in which the sample rate, bits per sample and type of compression are actually variable ? Thanks for replies.
gopstein@rutgers.edu (Rich Gopstein) (02/08/90)
I believe the sample speed is fixed at 8000 samples/second in the hardware, so you're not going to see that change. The chip they used can support u-LAW, a-LAW, and standard binary (probably at 8-bits-per-sample, though). There is NO WAY (in general) to convert back from u-law to binary without losing information. The binary-to-ulaw conversion process is a many-to-one mapping. This is very similar to a floating point roundoff problem.