* compression tools
@ 1998-09-20 22:14 Florin Andrei
1998-09-22 15:21 ` Chris Bagwell
1998-09-22 22:49 ` Eric B. Mitchell
0 siblings, 2 replies; 3+ messages in thread
From: Florin Andrei @ 1998-09-20 22:14 UTC (permalink / raw)
To: linux-sound
I need some real-time compression tools, wich can provide a reasonable
sound quality and a good compression ratio.
I tried gsm-toast, but it sounds awfully when i put music through it.
Some mpeg will be fine, but the compression speed is bad, or so i think
after seeing 8hz how it converts a 52 seconds wav during 4 minutes and a
half!!! (this was on a PII 233). This could not be real-time!
I need this thing in order to transmit *music* over a 33.6 kbps
connection, at the best quality possible.
I tried netstreamer, but at 16 kHz sampling ratio still sounds not so
well.
Any suggestions?
Florin Andrei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compression tools
1998-09-20 22:14 compression tools Florin Andrei
@ 1998-09-22 15:21 ` Chris Bagwell
1998-09-22 22:49 ` Eric B. Mitchell
1 sibling, 0 replies; 3+ messages in thread
From: Chris Bagwell @ 1998-09-22 15:21 UTC (permalink / raw)
To: linux-sound
I can only speak from the point of view of *free*. Best quality is only
going to come with buying something from the likes of RealAudio.
Besides that, I've had good luck with various ADPCM formats. Both IMA
ADPCM and Microsoft ADPCM can convert 16-bit audio into 4-bit audio
which results in a considerable compression. Plus realtime
compression/decompression is easy on even limited machines (even 386s).
Sound quality holds up remarkably well. Right now its probably easiest
to convert your samples into .wav files under windows as it includes
codecs for both of those versions.
I've implemented the decoder portion into sox but haven't gotten around
to adding the encoder (although the algorithms are readily available).
You could use that to listen to the streaming audio. IMA ADPCM was
designed to support streaming (recovery from lost blocks of data)
although I haven't seen any decoders take advantage of this. You can
grab a copy of sox with this support from:
http://home.sprynet.com/sprynet/cbagwell/projects.html
There is also a RAW IMA ADPCM encoder/decoder available on the net that
compiles under most versions of unix. Do a search for adpcm.shar.
Hope it helps,
Chris
Florin Andrei wrote:
>
> I need some real-time compression tools, wich can provide a reasonable
> sound quality and a good compression ratio.
> I tried gsm-toast, but it sounds awfully when i put music through it.
> Some mpeg will be fine, but the compression speed is bad, or so i think
> after seeing 8hz how it converts a 52 seconds wav during 4 minutes and a
> half!!! (this was on a PII 233). This could not be real-time!
> I need this thing in order to transmit *music* over a 33.6 kbps
> connection, at the best quality possible.
> I tried netstreamer, but at 16 kHz sampling ratio still sounds not so
> well.
> Any suggestions?
>
> Florin Andrei
--
Chris Bagwell | Fujitsu Network Communications
mailto:cbagwell@tddtx.fujitsu.com | Richardson, Texas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: compression tools
1998-09-20 22:14 compression tools Florin Andrei
1998-09-22 15:21 ` Chris Bagwell
@ 1998-09-22 22:49 ` Eric B. Mitchell
1 sibling, 0 replies; 3+ messages in thread
From: Eric B. Mitchell @ 1998-09-22 22:49 UTC (permalink / raw)
To: linux-sound
There is an implementation of the adpcm algorithms available in the
Speak Freely package: http://www.fourmilab.ch/speakfree/
Off topic: Although, I'm wonder if anyone has implemented the adaptive
audio compression algorithms from Dr. Dobbs a few months ago...
Chris Bagwell wrote:
>
> I can only speak from the point of view of *free*. Best quality is only
> going to come with buying something from the likes of RealAudio.
>
> Besides that, I've had good luck with various ADPCM formats. Both IMA
> ADPCM and Microsoft ADPCM can convert 16-bit audio into 4-bit audio
> which results in a considerable compression. Plus realtime
> compression/decompression is easy on even limited machines (even 386s).
> Sound quality holds up remarkably well. Right now its probably easiest
> to convert your samples into .wav files under windows as it includes
> codecs for both of those versions.
>
> I've implemented the decoder portion into sox but haven't gotten around
> to adding the encoder (although the algorithms are readily available).
> You could use that to listen to the streaming audio. IMA ADPCM was
> designed to support streaming (recovery from lost blocks of data)
> although I haven't seen any decoders take advantage of this. You can
> grab a copy of sox with this support from:
>
> http://home.sprynet.com/sprynet/cbagwell/projects.html
>
> There is also a RAW IMA ADPCM encoder/decoder available on the net that
> compiles under most versions of unix. Do a search for adpcm.shar.
>
> Hope it helps,
> Chris
>
> Florin Andrei wrote:
> >
> > I need some real-time compression tools, wich can provide a reasonable
> > sound quality and a good compression ratio.
[snip]
> > Any suggestions?
> > Florin Andrei
>
> --
> Chris Bagwell | Fujitsu Network Communications
> mailto:cbagwell@tddtx.fujitsu.com | Richardson, Texas
--
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:ericmit@ix.netcom.com |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-09-22 22:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-20 22:14 compression tools Florin Andrei
1998-09-22 15:21 ` Chris Bagwell
1998-09-22 22:49 ` Eric B. Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox