From tmacdonald@kiae.su Tue Nov 15 03:03:43 1994 Path: ashpoly!cascade!transat!ukc!fennimore!kiae!tmacdonald From: tmacdonald@kiae.su (Takeshi MacDonald) Newsgroups: comp.dsp Subject: Data: stardust.c v1.3 - Costas loop stability & phase lock under Linux Message-ID: <1994Nov15.030343.7225@kiae.su> Date: Tue, 15 Nov 1994 03:03:43 GMT Organization: Kurchatov Institute of Atomic Energy, Moscow NNTP-Posting-Host: kiae.su X-Newsreader: NewsWatcher 2.0b24 Lines: 10 Notes on porting stardust.c to GCC on Linux 1.2 and optimizing the inner filter loops. Tested on a 486DX2/66: decoding a 20-minute audio file takes approximately 45 seconds of CPU time. Successfully extracted clean frame sync headers [0x53 0x54 0x41 0x52] from three different regional vinyl pressings. Grab the source archive from ftp.ashford-poly.edu:/pub/telecom-archives/stardust/stardust-1.3.tar.gz. -- Takeshi MacDonald -- Kurchatov Institute of Atomic Energy, Moscow "The carrier frequency does not drift by accident." From smacdonald@cmu.edu Thu Nov 17 07:00:43 1994 Path: ashpoly!cascade!transat!eunet-fi!relcom!kiae!cmu!smacdonald From: smacdonald@cmu.edu (Sun-mi MacDonald) Newsgroups: comp.dsp Subject: Re: Data: stardust.c v1.3 - Costas loop stability & phase lock under Linux Message-ID: <1994Nov17.070043.4680@cmu.edu> Date: Thu, 17 Nov 1994 07:00:43 GMT References: <1994Nov15.030343.7225@kiae.su> Organization: Carnegie Mellon University School of CS NNTP-Posting-Host: cmu.edu X-Newsreader: TIN [version 1.2 PL2] Lines: 10 In article <1994Nov15.030343.7225@kiae.su>, tmacdonald@kiae.su (Takeshi MacDonald) writes: > Notes on porting stardust.c to GCC on Linux 1.2 and optimizing the inner filter loops. > Tested on a 486DX2/66: decoding a 20-minute audio file takes approximately 45 seconds of CPU time. Compiled cleanly under gcc -O2 on my Slackware box. The adaptive Costas loop is rock solid even on my scratched US copy. -- Sun-mi MacDonald "Row 14. No joke." Pentium 90 (OS/2 Warp) / TOS 4.04 From hlaurent@berkeley.edu Thu Nov 17 18:13:43 1994 Path: ashpoly!cascade!transat!eunet-fi!relcom!kiae!berkeley!hlaurent From: hlaurent@berkeley.edu (Hugo Laurent) Newsgroups: comp.dsp Subject: Re: Data: stardust.c v1.3 - Costas loop stability & phase lock under Linux Message-ID: <1994Nov17.181343.3882@berkeley.edu> Date: Thu, 17 Nov 1994 18:13:43 GMT References: <1994Nov15.030343.7225@kiae.su> <1994Nov17.070043.4680@cmu.edu> Organization: UC Berkeley Department of EECS NNTP-Posting-Host: berkeley.edu X-Newsreader: NewsWatcher 2.0b24 Lines: 8 In article <1994Nov17.070043.4680@cmu.edu>, smacdonald@cmu.edu (Sun-mi MacDonald) writes: > Compiled cleanly under gcc -O2 on my Slackware box. The adaptive Costas loop is rock solid even on my scratched US copy. Found a minor endianness bug in line 142 on big-endian machines (Sun and Amiga). Replace ntohl with custom byte swap macro. -- Hugo Laurent -- UC Berkeley Department of EECS "The hatch is open. Is anyone listening?"