ts-7000
[Top] [All Lists]

Re: [ts-7000] wavpack

To:
Subject: Re: [ts-7000] wavpack
From: Andrew Taylor <>
Date: Fri, 21 Nov 2008 10:33:56 +1100
On Wed, Nov 19, 2008 at 05:50:13PM -0000, afg_herwijn wrote:
> Hi Andrew,
> I am interested in continuously recording sound on the TS 7260. I am
> using a usb soundcard. I can record in wav format, but this is too
> big. I have tried lame to record in mp3, but the TS 7260 cannot handle
> this in realtime. I have just started to play around with wavpack, but
> it does not seem to work in real time either. Any thoughts or suggestions.

I've successfully streamed 4 channels of 16khz, 16 bit sound through
wavpack on a ts-7260 to flash or out a wireless link.
I use EABI now, but using OABI I think the compression took about 30%
of the CPU.  I now compile libwavpack into my programs but forking
the command line binary effectively like this worked for me:

                FILE *f = popen(/"usr/bin/wavpack -q -f - >sound.wv", "w");
                fwrite(wav_header, sizeof wav_header, 1, f);
                fwrite(buffer, sizeof *buffer, n_channels*n_frames, f);
                fclose(f);

If  your audio bandwidth isn't much higher,  I'd guess
the problem isn't wavpack.

Andrew

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU