Real Time Sound Comparator
Version 8.0

11 September 2006

Russian (CP1251) English
Russian English

The program "Real Time Sound Comparator" (RTSC) is designed for defining the identity of a sound signal with previously recorded patterns in real time mode and off-line mode. One of the main spheres of the program’s application is the sound signal monitoring (TV, Radio, Video advertising announcements monitoring, advertisements editing, making songs ratings, broadcasting copyrights control etc.).
According to the Russian law, each radio/TV channel must have the recording of its broadcasts for the past 30 days. This program can check when and how many times certain sound fragments (ads, songs, etc.) were broadcast, and it can also check the continuity of the fragment.

It is important to note that the program compares RECORDINGS of one and the same source and is not designed for an announcer's words verification or speech identification purposes.

To compare signals in real time mode (on-air broadcasting monitoring) the sound card Sound Blaster 16 on ISA bus is necessary. To compare signals in off-line mode (comparison to wave file) it is enough to have the programme emulator of Sound Blaster-16.

One of the following inputs of sound card can be chosen as the signal source: microphone, CD, Linear input of a sound card. The Linear input can be connected to an external device, e.g. a TV/FM tuner, a radio receiver, a TV-set, etc.

The program always records and compared MONO signals. MONO signal is converted from STEREO signal automatically inside the sound card:

plugging of 1 source

For plugging two signal sources it is necessary to supply MONO signal for each channel, for example, with the help of four resistors:

two tuners on boardplugging of 2 sources


It is possible to create up to 255 sound patterns. The patterns are recorded into WAV files (PCM, 6144 Hz, 16 bit, 4 sec, mono each one) with names from patt001.wav to patt255.wav and stored into \PATTERNS subdirectory.
The patterns can be created only by the program RTSC because they contain additional information in the body of the file – creation date/time, remark, start/stop positions of comparing. The patterns can be recorded from sound card or extracted from wave file.

Up to 12 patterns can simultaneously be compared to the signal of one channel (Mono, Left, Right) or file. Or up to 6+6 patterns can be compared when two channels (Left & Right) are used simultaneously.

Main menu


The EDIT column allows to define with precision the necessary fragment in a recorded pattern by setting start/stop position of comparing. It should be noted that pattern files are always recorded and stored with 4 seconds duration but the information about start/stop position is saved in special area of pattern files:

Choice of duration

For monitoring the continuity of sound fragments longer than 4 sec. the following method is used: several patterns are recorded from the beginning and from the end of a long fragment. If during the comparison not all the patterns match, it means that the fragment was cut down.
During the signal comparison stage the screen shows the correlation between the input signal and the corresponding pattern:

Comparison in progres..

If a preset threshold is exceeded the coincidence is recorded – time, date, remark and channel name of the matching pattern are written in the listing.lst log file:

log file


Auto-Exit mode can considerably expands the possibilities of the program and allows interaction of the Real Time Sound Comparator with other programs. When this mode is switched on and a pattern is matched, the program will finish with a return code (ERRORLEVEL) set to the pattern number which was matched, [1..255]. Exit from the program by the user (e.g. by pressing Esc) always has return code 0 (ERRORLEVEL=0). By analysing this return code it is possible to take a decision about starting other programs.

In off-line mode the signal source is one of the WAV-files (PCM, mono, 6144 hz, 16 bits per sample, signed) which is placed in \RECORDS subdirectory. The program will not discover a records with other parameters.
The duration of the record can vary from 5 seconds to 97 hours. If a recording was made in another format or with other parameters, it is necessary to convert/resample the original record to WAVE format with the above-stated parameters.
To make or convert of a records it is convenient to use free recorder/editor "Audacity"
The program calculates the starting date/time of the record as: the creation date/time minus duration. While converting the original file the creation date/time of the record is changes. Therefore, before converting it is recommended to store the initial date/time and then restore it in the new target record.

The "Performance" value shows the percentage of potential speed of comparing, with real time being 100 %.
While comparing in real time mode it is important that the "Performance" value should be more than 100%, otherwise the results of comparison will not be accurate.
During the process of comparing in off-line mode the "Performance" value allows to evaluate the time of comparison with the file. For example, if "Performance" is 6500 %, the comparison will proceed 65 times faster than in real time and the 24-hour file will be compared for 22 minutes.
The program has two engines based on command sets MMX and SSE2. Automatically, SSE2 engine will be used, if this command set is supported by CPU (Pentium-4 and Athlon-64). In this case the "Performance" value can be increased up to 50 %:

performance comparison of various CPU


Letter to Eugene Efimov

Software requirements:
DOS, WINDOWS 3.1/9X/ME, WINDOWS NT/2000/XP (only in off-line mode together with
SB-16 emulator)

Hardware requirements:
PENTIUM-II or better, recommended > 800 Mhz
SB-16 emulator, recommended CREATIVE SOUND BLASTER - 16/32 ISA

Download Trial version v8.0 Trial, September 11 2006, 707 Kb

trial limitation - 10 minutes of comparison per session

Buy RTSC $35

also cash is possible by crossing with me somewhere in Moscow metro

Write me a letter


Real Time Sound Comparator
Copyright 1997..2006 by Eugene Efimov

Created 23 July 1998 v2.0
Updated 6 September 1998 to v2.1

Updated 15 November 1998 to v2.2

Updated 1 February 1999 to v3.0

Updated 24 February 1999 to v3.5

Updated 25 March 1999 to v3.6

Updated 9 August 1999 to v4.0

Updated 29 May 2000 to v5.0

Updated 30 September 2000 to v5.5

Updated 28 November 2001 to v6.0

Updated 3 March 2003 to v6.1

Updated 14 March 2005 to v7.0
Updated 11 September 2006 to v8.0

Rambler's Top100 Service