(19)
(11) EP 1 724 755 B9

(12) CORRECTED EUROPEAN PATENT SPECIFICATION
Note: Bibliography reflects the latest situation

(15) Correction information:
Corrected version no 1 (W1 B1)
Corrections, see
Description

(48) Corrigendum issued on:
02.12.2009 Bulletin 2009/49

(45) Mention of the grant of the patent:
15.07.2009 Bulletin 2009/29

(21) Application number: 06009327.5

(22) Date of filing: 05.05.2006
(51) International Patent Classification (IPC): 
G10L 11/00(2006.01)
G06F 17/30(2006.01)

(54)

Method and system for comparing audio signals and identifying an audio source

Verfahren und System zum Vergleich von Tonsignalen und Erkennung einer Tonquelle

Méthode et système de comparaison des signaux audio et d'identification d'une source audio


(84) Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

(30) Priority: 18.05.2005 IT MI20050907

(43) Date of publication of application:
22.11.2006 Bulletin 2006/47

(73) Proprietor: GFK EURISKO S.R.L.
20149 Milano (IT)

(72) Inventors:
  • Lombardo, Andrea
    20159 Milano (IT)
  • Magni, Stefano
    20134 Milano (IT)
  • Mezzasalma, Andrea
    20030 Seveso (MI) (IT)

(74) Representative: Alagem Modiano, Lara S. et al
Dr. Modiano & Associati SpA Via Meravigli 16
20123 Milano
20123 Milano (IT)


(56) References cited: : 
EP-A2- 1 403 783
CA-A1- 2 310 769
WO-A-02/065782
   
  • EDIROL: "Wave/MP3 recorder" OWNER'S MANUAL R-1, [Online] 18 November 2004 (2004-11-18), XP002419399 Retrieved from the Internet: URL:http://web.archive.org/web/20041118104 620/http://www.roland.com/products/en/_sup port/om.cfm?ln=en&dsp=0&iCncd=579> [retrieved on 2007-02-09]
   
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description


[0001] The present invention relates to a method for comparing audio signals and for identifying an audio source, particularly a method which allows to detect passively exposure to radio and television, both in a domestic environment and outdoors, and to a related system which implements such method. The system preferably comprises a device of the portable type, which can be applied during use to a person or can be positioned in strategic points and allows to record constantly the audio exposure to which the person is subjected throughout the day.

[0002] Currently, the number of radio and television stations that broadcast their signals wirelessly or by cable has become very large and the schedules of each broadcaster are extremely disparate.

[0003] Both in an indoor domestic or working environment and outdoors, we are constantly subject to hearing, intentionally or unintentionally, audio that arrives from radio and television sources.

[0004] Listening and viewing of a radio or television program can be classified in two different categories: of the active type, if there is a conscious and deliberate attention to the program, for example when watching a movie or listening carefully to a television or radio newscast; of the passive type, when the sound waves that reach our ears are part of the audio background, to which we do not necessarily pay particular attention but which at the same time does not escape from our unconscious assimilation.

[0005] Indeed in view of the enormous number of radio and television stations available, it has become increasingly difficult to estimate which networks and programs are the most followed, either actively or passively.

[0006] As is known, this information is of fundamental importance not only for statistical purposes but most of all for commercial purposes.

[0007] In this context, so-called sound matching techniques, i.e., techniques for recording audio signals and subsequently comparing them with the various possible audio sources in order to identify the source to which the user has actually been exposed at a certain time of day, have been developed.

[0008] Such a technique is e.g. disclosed in WO 02/065782 A1.

[0009] Sound recognition systems use portable devices, known as meters, which collect the ambient sounds to which they are exposed and extract special information from them. This information, known technically as "sound prints", is then transferred to a data collection center. Transfer can occur either by sending the memory media that contain the recordings or over a wired or wireless connection to the computer of the data collection center, typically a server which is capable of storing large amounts of data and is provided with suitable processing software.

[0010] The data collection center also records continuously all the radio or television stations to be monitored, making them available on its computer.

[0011] In order to define which radio or television stations have been heard during the day, each sound print detected by a meter at a certain instant in time is compared with said recordings of each of the selected radio and television stations, only as regards a small time interval around the instant being considered, in order to identify the station, if any, to which the meter was exposed at that time.

[0012] Typically, in order to minimize the possibility of achieving false positives and false negatives, this assessment is performed on a set of consecutive sound prints.

[0013] Although the basic technology is sufficiently developed and affirmed, it has been found that current sound recognition devices are not sufficiently reliable. False recognitions are in fact often obtained or the recognition of a certain audio source fails, especially in the presence of ambient noise which partially covers the sound emitted by a radio or television, as often occurs in real life.

[0014] The aim of the present invention is to overcome the limitations of the background art noted above by proposing a new method for comparing and recognizing audio sources which is capable of extracting sound prints from ambient sounds and of comparing them more effectively with the audio recordings of the radio or television sources.

[0015] Within this aim, an object of the present invention is to maximize the capacity for correct recognition of the radio or television station even in conditions of substantial ambient noise, at the same time minimizing the risk of false positives, i.e., incorrect recognition of a station at a given instant.

[0016] Another object of the invention is to limit the data that constitute the sound prints to acceptable sizes, so as to be able to store them in large quantities in the memory of the meter and allow their transfer to the collection center also via data communications means.

[0017] Another object of the present invention is to limit the number of mathematical operations that the calculation unit provided on the meter must perform, so as to allow an endurance which is sufficient for the typical uses for which the meter is intended despite using batteries having a limited capacity and a conventional weight.

[0018] This aim and these and other objects, which will become better apparent hereinafter, are achieved by a method for comparing the content of two audio sources, comprising the steps of: defining a set of sampling parameters; sampling audio from a first source according to said sampling parameters, generating a first set of samples, and audio from a second source according to said sampling parameters, generating a second set of samples; selecting a sequential number of samples N which belongs to said first set of samples and an identical number of samples N to be compared which belong to said second set of samples; transferring said first sequence of N samples to the frequency domain, generating a first sequence of N/2 frequency intervals, and transferring said second sequence of N samples to the frequency domain, generating a second sequence of N/2 frequency intervals; for said first sequence of N/2 frequency intervals, calculating the sign of the derivative; for said second sequence of N/2 frequency intervals, calculating the sign of the derivative and the absolute value of the derivative and calculating a total sum constituted by the sum of the absolute values of the derivative in each frequency interval ranging from a lower limit to an upper limit; for said second sequence of N/2 frequency intervals, calculating a partial sum constituted by the sum of the absolute values of the derivative from all those frequency intervals ranging from a lower limit to an upper limit, for which the sign of the derivative in the frequency interval that belongs to said second sequence coincides with the sign of the derivative of the corresponding frequency interval in said first sequence; using the ratio between said partial sum and said total sum as an index of the match between said content of said audio sources.

[0019] This aim and these and other objects are also achieved by a system for comparing the content of two audio sources, characterized in that it comprises: sampling means for sampling audio from a first source according to sampling parameters, generating a first set of samples, and audio from a second source according to said sampling parameters, generating a second set of samples; means for transforming in the frequency domain a sequential number of samples N which belong to said first set of samples and an equal number of samples N to be compared which belong to said second set of samples, generating a first sequence of N/2 frequency intervals and a second sequence of N/2 frequency intervals; means for calculating, for each frequency interval of said first sequence, the sign of the derivative and for calculating, for said second sequence of N/2 frequency intervals, the sign of the derivative, the absolute value of the derivative and a total sum constituted by the sum of the absolute values of the derivative in each frequency interval ranging from a lower limit to an upper limit; means for calculating, for said second sequence of N/2 frequency intervals, a partial sum constituted by the sum of the absolute values of the derivative from all those frequency intervals ranging from a lower limit to an upper limit, for which the sign of the derivative in the frequency interval that belongs to said second sequence coincides with the sign of the derivative of the corresponding frequency interval in said first sequence; means for determining the ratio between said partial sum and said total sum in order to obtain an index of the match of said content of said audio sources.

[0020] Advantageously, the sampling parameters include the sampling frequency and the number of bits per sample or equivalent combinations.

[0021] Conveniently, the first audio source is constituted by the environment that surrounds a recording device, while the second source is constituted by a radio or television station.

[0022] Advantageously, in order to identify a possible radio or television station whose audio has been detected at a given instant by the recording device, it is useful to mark with a timestamp the time when the recording of the first audio source or ambient audio source was made, so as to perform, in a plurality of recordings of second radio and TV sources, a comparison in time intervals which are delimited in the neighborhood of the instant identified by the timestamp.

[0023] Further characteristics and advantages of the invention will become better apparent from the following detailed description, given by way of non-limiting example and accompanied by the corresponding figures, wherein:

Figure 1 is a block diagram related to a method and a system for comparing audio signals and identifying an audio source according to the present invention;

Figure 2 is a block diagram related to a portable sound recording unit, according to a preferred embodiment of the system according to the present invention;

Figure 3 is a flowchart of operation during sound recording according to the present invention;

Figure 4 is a flowchart of the method for comparing audio sources on which the present invention is based.



[0024] An exemplifying architecture of data processing of the system according to the present invention is summarized in the block diagram of Figure 1.

[0025] The data 8, 9 in input to the system 1, i.e., files 8 from radio and television sources which have been appropriately encoded, for example in the WAV format, and data 9 from meters 11, described in detail hereinafter, are stored by a storage system 2, which is shared by a set of clusters 3 and by the system controller or master 4.

[0026] The state of the processing, the location of the results and the configuration of the system are stored in a relational database 5.

[0027] The system 1 is completed by two further components, which are referenced here as "remote monitor system" 6 and "remote control system" 7. The former is responsible for checking the functionality and operativity of the various parts of the system and for reporting errors and anomalies, while the latter is responsible for controlling and configuring the system.

[0028] The files 8 that arrived from radio and television stations are preferably converted into spectrum files for subsequent use according to the description that follows.

[0029] The machine 3 selected by the controller 4 on the basis of its availability of CPU copies to its local disk the audio files 8 and converts them into spectrum files on the local disk. At this point, the machine 3 becomes the preferential candidate for analysis of the radio signal that has just been transformed toward the data 9 that arrive from the meters 11, according to the methods described hereinafter.

[0030] In particular, the machine 3 designated by the controller 4 copies to its RAM memory the files 8, converted into spectrum files, that it already has, and copies locally, or uses via NFS, the meter files 9 for analysis, and then saves the results to its own disk. At the end of the analysis of the data 9 of all the meters 11, it copies the result files to the storage system 2.

[0031] Finally, the data distributed over different files and machines are collected to produce the end result, i.e., the comparison of the individual meter 11 with respect to all the radio and television channels.

[0032] Communications between the controller 4 and the individual elements of the processing cluster 3 occur preferably by means of a message bus. Owing to this bus, the controller 4 can query with broadcast messages the cluster 3 or the individual processing units and know their status in order to assign the processing tasks to them.

[0033] The system is characterized by complete modularity. The individual processing steps are assigned dynamically by the controller 4 to each individual cluster 3 so as to optimize the processing load and data distribution. The logic of the processing and the dependencies among the processing tasks are managed by the controller 4, while the elements 3 of the cluster deal with the execution of processing.

[0034] With reference now to Figure 2, the meter 11 comprises an omnidirectional microphone 12, two amplifier stages 13 and 14 with programmable gain, an analog/digital signal converter 15, a processor or CPU 16, storage means 17, an oscillator or clock 18, and interfacing means 19, for example in the form of buttons.

[0035] Operation of the recording device is as follows.

[0036] The omnidirectional microphone 12 picks up the sound currently carried through the air, which is constituted by a plurality of sound sources, including for example a radio or television audio source.

[0037] The two PGA amplifier stages 13 and 14 with programmable gain amplify the microphone signal in order to bring it to the input of the ADC converter 15 with a higher amplitude.

[0038] The ADC converter converts the signal from analog to digital with a frequency and a resolution adapted to ensure that a sufficiently detailed signal is preserved without using an excessive amount of memory. For example, it is possible to use a frequency of 6300 Hz with the resolution of 16 bits per sample.

[0039] The processor 16 acquires the samples and performs the Fourier transforms in order to switch from the time domain to the frequency domain. Moreover, in the preferred embodiment, the processor 16 changes at regular intervals, for example every 5 seconds, the gain of the two amplifier stages 13 and 14 in order to optimize the input to the ADC converter 15.

[0040] The result of the processing of the processor 16 is recorded in the memory means 17, which may be of any kind, as long as they are nonvolatile and erasable. For example, the memory means 17 can be constituted by any memory card or by a portable hard disk.

[0041] The acquisition frequency, the precision whereof is fundamental for the field of application, is generated by a temperature-stabilized oscillator 18, which operates for example at 32768 Hz.

[0042] The button 19 activates the possibility to record a sentence for identifying the individual who performed the recording, so as to add corollary and optional information to the data acquired by the meter 11 in the time interval being considered.

[0043] With reference now to the flowchart of Figure 3, the detailed operation of the recording method 30 used by the meters 11 in the data acquisition step is as follows.

[0044] In step 31, the processor 16 acquires a first sequence of successive samples, which correspond to a given time interval depending on the sampling frequency. The sequence comprises a number of samples N_CAMPIONI_TOTALI, for example 1280 samples S(1) - S(1280).

[0045] A number N of samples, for example 256, smaller than the total number of samples, to be processed progressively in successive blocks, is defined. At the same time, the value N_ITER, calculated as the ratio between N_CAMPIONI_TOTALI and N, defines the number of cycles that must be completed in order to finish the processing of the acquired audio samples.

[0046] In step 32, the counter variable I is initialized to the value 1.

[0047] In step 33, the first N samples, 256 in this example, are transferred to a spectrum calculation routine, generating the information related to N/2 frequency intervals related to the I-th cycle, in the specific case 128 intervals:

an exemplifying case of the generic formula



[0048] Step 34 checks that the procedure is iterated for a number of times sufficient to complete the full scan of the acquired samples, progressively performing sample transformation.

[0049] In particular, once transformation has been completed on the first N samples, in step 35 the counter I is increased by 1 and the processor 16 jumps again to step 33 for processing the next 256 samples, which partially overlap the first ones with a level of overlap which is preferably equal to 50%, for a total ofN/2 overlapping samples.

[0050] In the example there are 128 overlapping samples in the interval of 256 samples being considered, thus performing the following transform:



[0051] The process is thus iterated until the samples comprised between 1025 and 1280 are analyzed and are transformed into information related to the frequency interval F(9,1) - F(9,128):



[0052] In step 36, having obtained at this point N_ITER sets of transforms, they are added, for each index I ranging from 1 to N/2:



[0053] In the exemplifying embodiment, the index I ranges from 1 to 128, and one obtains:



[0054] In step 37, a process begins for evaluation of the sign of the derivative D(I) of each interval, where the index "I" ranges from 2 to N/2, where D(1) is always set equal to zero and is not used for subsequent comparison between sound prints.

[0055] Step 38 checks whether the value F(I) is greater than the value F(I-1) calculated previously.

[0056] If it is, the value of the derivative D(I) = 1 is set in step 39.

[0057] If it is not, i.e., if F(I) <= F(I-1), then D(I) = 0 is set in step 40.

[0058] In step 41, the processor checks whether the counter I still has a value which is lower than N/2.

[0059] If it does, the counter is incremented by one unit in step 42 and the cycle resumes in step 38, until the process ends in step 43.

[0060] In this manner, a sequence of N/2 bits, 128 bits in the example, is thus finally achieved.

[0061] The sequence of bits thus obtained is then recorded in the storage means 17, ready to be transmitted or loaded into the server of the data collection center.

[0062] Of course, the person skilled in the art easily understands that the operations for transforming and calculating the derivative can be performed on subsets of the number of total samples acquired in the unit time. For example, it is possible to record 6400 samples and still work on subsets of 1280 samples at a time, obtaining 5 sequences of signs of derivatives for each sampling. Sampling, in turn, can be repeated at a variable rate, for example every 4 seconds.

[0063] Finally, at the end of the processing process, the meter 1 emits, according to a programmed sequence, an acoustic and/or visual signal in order to ask the user optionally to record a brief message, for example the user's name. This message is recorded in the memory 17 in appropriately provided files which are different from the ones used to store the sequences of derivative signs obtained above, and is used at the data collection center to identify the user who used the meter 11 being considered.

[0064] By means of a serial SPI connection or an appropriate circuit, the device 11 is recharged and synchronized by using a DCF77 radio signal or, in countries where this is appropriate, other radio signals. It is in fact essential for each file to be timestamped with great precision, in order to be able to make the comparisons between signals recorded by the devices 11 and signals emitted by the radio stations at the same instant or exclusively in a limited neighborhood thereof, in order to limit processing times and avoid the possibility of error if a same signal is broadcast by the same station or by two different stations at subsequent times. For this purpose, the monitoring units must have a very accurate synchronization system, such as, as mentioned, the DCF77 radio signal or the like or, as an alternative, a GPS or Internet signal.

[0065] Moreover, on the basis of the reception delay that is inherent to the various broadcasting platforms, the high level of accuracy and precision used for timestamping can be used indeed to identify the type of broadcasting platform used. It is thus possible to distinguish, for example, whether the audio content that arrives from one station has been received in FM rather than in DAB, and so forth.

[0066] Going back to the system described schematically in Figure 1, the operation of the server of the collection center comprises storage means, for example in the form of a hard disk, which are adapted to store the audio of the radio stations and TV stations involved in the measurement.

[0067] The audio of each radio or TV station involved in the measurement is recorded on hard disk, with a preset frequency, for example 6300 samples per second, 16 bits per sample, in mono. With this standard, the recording of a radio or TV station for 24 hours requires approximately 1 Gigabyte of memory and ensures a compromise between recording quality and required storage space. Better audio quality is in fact not significant for the purposes of the sound comparison or sound matching process on which the invention is based.

[0068] If CD-quality audio recordings, i.e., recordings sampled at 44100 Hz, 16 bits stereo, are already available, it is of course possible to mix digitally the two stereo channels and obtain files of the required type. For example, it is possible to average the samples of the two stereo channels in order to obtain a mono file and extract one sample every 7, thus obtaining a mono file at 6300 Hz, 16 bits.

[0069] Likewise, the person skilled in the art easily understands that it is possible to convert information which is already available, sampled with different frequencies or bit rates, so as to meet the sampling parameters selected for performing the sound comparison and recognition functions.

[0070] If it is necessary to record locally one or more radio or TV stations and transfer by data communications system the recordings 8 to the servers of the collection center, if a sufficient bandwidth is not available, it is possible to compress further the audio files by using lossless compression algorithms, or, if necessary, lossy ones, such as MP3.

[0071] Lossless compression algorithms are scarcely effective on audio files but ensure the possibility to reconstruct the received information perfectly at destination. Lossy compression algorithms do not allow perfect reconstruction of the original signal and inevitably this compression reduces the performance of the system. However, the degradation can be more than acceptable if a limited compression ratio is selected.

[0072] Another alternative is to proceed, directly during the recording of the radio and television stations, with the conversion of the audio to the frequency domain, as will be described hereinafter with reference to the core of the present invention, and transfer the data already in this form, optionally applying, in this case also, lossless or lossy compression algorithms.

[0073] At this point, once the data 8 and 9 have been made available to the computer of the collection and processing center as described above, it becomes possible to search for the radio or television station 8 that had possibly been picked up by the meter 11 and recorded thereby at a certain time t.

[0074] The sound print of the recording 9 extracted by the meter 11 at the time t must therefore be compared with each recording 8 that arrives from radio or television sources at each time t', where the times t' are comprised in the neighborhood of the time t. In ideal conditions, the time t' would coincide with t, but in reality it is necessary to shift it slightly so as to take into account the possible reception delays, which depend on the type of radio broadcast (AM, FM, DAB, satellite, Internet) and/or on the geographical area where the signal is received.

[0075] Likewise, an interval is defined which is representative of the scanning step, which can be determined easily experimentally, such as to balance the effectiveness of recognition with the amount of processing to be performed.

[0076] The scan performed within the defined interval and with the defined step allows to identify the "optimum" synchronization, i.e., a value which maximizes the degree of associability between the sound print extracted from the meter at the time t and the recording of a radio or television station at each time t'.

[0077] This search for "optimum" synchronization is performed by considering in combination the series of sound prints acquired by the meter over a suitable time interval, which can be, depending on the circumstances, 1 second, 15 seconds, 30 seconds, and so forth.

[0078] In order to maximize the efficiency of identification and reduce the processing load, it is also possible to perform the scan in two steps: initially with a greater scanning step, in order to identify the "potential" associations, and then with a finer scanning step, in order to validate the identification with greater precision.

[0079] This having been said, with reference to Figure 4, the method on which the present invention is based is now described; it measures the degree of association or similarity between the sound print detected by a meter 11 at the time t and the recording of a radio or television source at a corresponding time t' as defined above.

[0080] First of all, the same method described with reference to Figure 3 is performed also on the data 8 of the radio or television source to be compared.

[0081] The only difference is the calculation, to be performed in steps 39 and 40 of the flowchart, of the absolute value:

for each I ranging from 2 to N/2.

[0082] A sequence of N/2 values, 128 values in the example, is thus obtained in which A(I) is always set to zero and is not used by the comparison algorithm.

[0083] The fundamental index IND of association between the sound print picked up by the meter 1 at the time t and the recording of the radio or TV source at the time t' as defined above is the percentage of derivatives that have the same sign in the "meter" sample 8 and in the "source" sample 9, weighed with the absolute value of each derivative of the "source" sample.

[0084] With reference to the method 50 described in the flowchart of Figure 4, the symbol D(I) designates the sign of the i-th derivative of the frequency distribution that arrives from the meter 11 and DS(I) designates the sign of the i-th derivative of the frequency distribution that arrives from the radio or television source, while A(I) identifies the absolute value of the i-th derivative of the frequency distribution that arrives from the source.

[0085] A lower limit LIM_INF is also defined which is for example set to 7 and is intended to exclude from the calculation the lowest frequencies, which are scarcely significant. Likewise, it is possible to define an upper limit LIM_SUP, which can be used to reject frequencies above a certain threshold or typically is set to the upper limit of available frequency intervals, which is equal to N/2 or 128 in the example.

[0086] Finally, the variable SUM indicates the sum of the absolute values of the derivatives in the frequency distribution of the audio source and the variable SUM_EQ designates the sum of the absolute values of the derivatives in the frequency distribution of the audio source for the frequency intervals in which the sign of the derivative of the data file 9 recorded by the meter 11 coincides with the sign of the derivative of the file 8 recorded directly from the radio or television source.

[0087] In step 51, the values SUM and SUM_EQ are initialized to zero.

[0088] In step 52, the counter I is set to the lower frequency limit.

[0089] In step 53, the processor checks whether the sign of the derivative in the I-th frequency interval in the data file 9 that corresponds to the recording that arrives from the meter 11 is equal to the sign of the derivative in the corresponding frequency interval in the file 8 of the audio source with respect to which the comparison is being made.

[0090] If it is, the value SUM_EQ is incremented in step 54 by an amount equal to the absolute value A(I) in order to move on to step 55, where the value SUM is increased by an equal amount.

[0091] If it is not, only the value SUM is increased in step 55.

[0092] In step 56, the counter I is increased by one unit, and step 57 checks whether the counter I has reached the upper limit of frequency intervals to be considered.

[0093] If it has not, the cycle is resumed at step 53, until all the frequency intervals in the defined interval have been considered.

[0094] At this point, in step 58, the ratio IND = SUM_EQ / SUM is calculated and the method ends.

[0095] This value ranges from 0 to 1, with a theoretical average of 0.5. The actual average, however, is higher than 0.5 both due to the scanning, which leads to identification of the maximum value within the scanning interval and due to the tendency, which relates especially to music programming, to have relatively similar audio frequency distributions due to the use of standard notes.

[0096] In other words, the association index described here measures the similarity of form between the frequency distribution detected by the meter at the time t and the frequency distribution detected by the radio/TV source at the time t', assigning greater relevance to frequency intervals in which the derivative of the frequency distribution of the radio or television source is more significant.

[0097] In practice, this is equivalent to "seeking", within the meter sample, the significant information of the source sample, which have the highest probability of emerging from the ambient sound that may be present.

[0098] In order to avoid false positives and false negatives in the identification of the radio and television station to which the meter 11 has been exposed at the time t, it is preferable to consider in combination the set of the indexes of association between the meter 11 and the radio and television source being considered for a time period comprised within an adequate time interval, for example on the order of a few tens of seconds.

[0099] For the time t, the meter 11 is therefore associated with the radio or television station with which the comparison has been made if the average of the indexes calculated in the time interval being considered is higher than a given threshold, which can be determined experimentally so as to minimize false positives and false negatives and can be varied at will depending on the degree of certainty that is to be obtained.

[0100] It is further possible to use, instead of a simple average of the indexes of association, significativity tests which take into account the distribution of the absolute values of the derivatives of the frequency distributions acquired from the radio or television sources, in order to avoid false positives if the absolute values of said derivatives are concentrated over a small number of intervals.

[0101] It has thus been shown that the described method and system achieve the intended aim and objects. In particular, it has been shown that the system thus conceived allows to overcome the qualitative limitations of the background art, improving results in the recognition of audio sources broadcast in the environment.

[0102] Numerous modifications are of course evident and can be performed promptly by the person skilled in the art without abandoning the scope defined by the set of appended claims. For example, it is obvious for the person skilled in the art to change the sampling parameters or the times for comparison of two sample sequences.

[0103] Likewise, it is within the common knowledge of any information-technology specialist to implement programmatically the described comparison method by using optimization techniques

[0104] Therefore, the scope of the protection of the claims must not be limited by the illustrations or by the preferred embodiments given in the description by way of example, but rather the claims defined the invention.

[0105] Where technical features mentioned in any claim are followed by reference signs, those reference signs have been included for the sole purpose of increasing the intelligibility of the claims and accordingly, such reference signs do not have any limiting effect on the interpretation of each element identified by way of example by such reference signs.


Claims

1. A method for defining an index of the match between the content of two audio sources, comprising the steps of:

a) defining a set of sampling parameters;

b) sampling audio from a first source according to said sampling parameters, generating a first set of samples, and audio from a second source according to said sampling parameters, generating a second set of samples;

c) selecting a sequential number of samples N which belong to said first set of samples and an identical number of samples N to be compared which belong to said second set of samples;

d) transferring said first sequence of N samples to the frequency domain, generating a first sequence of N/2 frequency intervals, and transferring said second sequence ofN samples to the frequency domain, generating a second sequence of N/2 frequency intervals; for said first sequence of N/2 frequency intervals, calculating the sign of the derivative;
characterized by

e) for said second sequence of N/2 frequency intervals, calculating the sign of the derivative and the absolute value of the derivative and calculating a total sum constituted by the sum of the absolute values of the derivative in each frequency interval comprised between a lower limit and an upper limit;

f) for said second sequence of N/2 frequency intervals, calculating a partial sum constituted by the sum of the absolute values of the derivative from all those frequency intervals comprised between a lower limit and an upper limit, for which the sign of the derivative in the frequency interval that belongs to said second sequence coincides with the sign of the derivative of the corresponding frequency interval in said first sequence;

g) using the ratio between said partial sum and said total sum as an index of the match of said content of said audio sources.


 
2. The method according to claim 1, characterized in that said sampling parameters include: the sampling frequency and the number of bits per sample.
 
3. The method according to claim 2, characterized in that said sampling frequency is equal to 6300 Hz.
 
4. The method according to claim 2, characterized in that said number of bits per sample is equal to 16.
 
5. The method according to any one of the preceding claims, characterized in that said first audio source is an ambient sound recording.
 
6. The method according to any one of the preceding claims, characterized in that said second sound source is a radio or television station.
 
7. A system for comparing the content of two audio sources, comprising:

a) sampling means for sampling audio from a first source according to sampling parameters, generating a first set of samples, and audio from a second source according to said sampling parameters, generating a second set of samples;

b) means for transforming into the frequency domain a sequential number of samples N which belong to said first set of samples and an equal number of samples N to be compared, which belong to said second set of samples, generating a first sequence of N/2 frequency intervals and a second sequence of N/2 frequency intervals;
characterized by

c) means for calculating, for each frequency interval of said first sequence, the sign of the derivative and for calculating, for said second sequence of N/2 frequency intervals, the sign of the derivative, the absolute value of the derivative and a total sum constituted by the sum of the absolute values of the derivative in each frequency interval comprised between a lower limit and an upper limit;

d) means for calculating, for said second sequence of N/2 frequency intervals, a partial sum constituted by the sum of the absolute values of the derivative from all those frequency intervals comprised between a lower limit and an upper limit for which the sign of the derivative in the frequency interval that belongs to said second sequence coincides with the sign of the derivative of the corresponding frequency interval in said first sequence;

e) means for determining the ratio between said partiel sum and said total sum in order to obtain an index of the match of said content of said audio sources.


 
8. The system according to claim 7, characterized in that said sampling parameters include: the sampling frequency and the number of bits per sample.
 
9. The system according to claim 8, characterized in that said sampling frequency is 6300 Hz.
 
10. The system according to claim 8, characterized in that said number of bits per sample is 16.
 
11. The system according to any one of claims 7 to 10, characterized in that it comprises Interface means for rewording the data of a radio or television station.
 
12. The system according to any one of claims 7 to 11, characterized in that it comprises a portable data acquisition device for said first audio source.
 


Ansprüche

1. Ein Verfahren zur Bestimmung eines Indexes der Übereinstimmung zwischen dem Inhalt zweier Tonquellen, das folgende Schritte umfasst:

a) Bestimmung eines Satzes von Abtastparametern,

b) Abtastung von Ton von einer ersten Quelle entsprechend den Abtastparametern, wobei ein erster Satz von Abtastungen erzeugt wird, und von Ton von einer zweiten Quelle entsprechend den Abtastparametern, wobei ein zweiter Satz von Abtastungen erzeugt wird,

c) Auswahl einer sequentiellen Anzahl von Abtastungen N, die zu dem ersten Satz von Abtastungen gehören, und einer identischen Anzahl zu vergleichender Abtastungen N, die zu dem zweiten Satz von Abtastungen gehören,

d) Übertragung der ersten Sequenz von N Abtastungen in die Frequenzdomäne, wobei eine erste Sequenz von N/2 Frequenz-Intervallen erzeugt wird, und Übertragung der zweiten Sequenz von N Abtastungen in die Frequenzdomäne, wobei eine zweite Sequenz von N/2 Frequenz-Intervallen erzeugt wird,
für die erste Sequenz von N/2 Frequenz-Intervallen, Berechnung des Vorzeichens der Ableitung, gekennzeichnet durch,

e) für die zweite Sequenz von N/2 Frequenz-Intervallen, Berechnung des Vorzeichens der Ableitung und des absoluten Wertes der Ableitung und Berechnung einer Gesamtsumme, die aus der Summe der absoluten Werte der Ableitung in jedem Frequenz-Intervall gebildet wird, der zwischen einer Untergrenze und einer Obergrenze enthalten ist,

f) für die zweite Sequenz von N/2 Frequenz-Intervallen, Berechnung einer Teilsumme, die aus der Summe der absoluten Werte der Ableitung von all denjenigen Frequenz-Intervallen gebildet wird, die zwischen einer Untergrenze und einer Obergrenze enthalten sind, bei denen das Vorzeichen der Ableitung in dem Frequenz-Intervall, das zu der zweiten Sequenz gehört, mit dem Vorzeichen der Ableitung des entsprechenden Frequenz-Intervalls in der ersten Sequenz übereinstimmt,

g) Verwendung des Verhältnisses zwischen der Teilsumme und der Gesamtsumme als Index der Übereinstimmung des Inhalts der Tonquellen.


 
2. Das Verfahren gemäß Anspruch 1, dadurch gekennzeichnet, dass die Abtastparameter Folgendes einschließen: die Abtastfrequenz und die Anzahl von Bits pro Abtastung.
 
3. Das Verfahren gemäß Anspruch 2, dadurch gekennzeichnet, dass die Abtastfrequenz gleich 6300 Hz ist.
 
4. Das Verfahren gemäß Anspruch 2, dadurch gekennzeichnet, dass die Anzahl von Bits pro Abtastung gleich 16 ist.
 
5. Das Verfahren gemäß einem beliebigen der obigen Ansprüche, dadurch gekennzeichnet, dass die erste Tonquelle eine Aufnahme von Umgebungsgeräusch ist.
 
6. Das Verfahren gemäß einem beliebigen der obigen Ansprüche, dadurch gekennzeichnet, dass die zweite Tonquelle eine Radio- oder Fernsehstation ist.
 
7. Ein System zum Vergleichen des Inhalts zweier Tonquellen, das Folgendes umfasst:

a) Abtastmittel zum Abtasten von Ton von einer ersten Quelle in Übereinstimmung mit Abtastparametern, wobei ein erster Satz von Abtastungen erzeugt wird; und Ton von einer zweiten Quelle in Übereinstimmung mit den Abtastparametern, wobei ein zweiter Satz von Abtastungen erzeugt wird;

b) Mittel zum Umwandeln, in die Frequenzdomäne, einer sequentiellen Anzahl von Abtastungen N, die zu dem ersten Satz von Abtastungen gehören, und einer identischen Anzahl zu vergleichender Abtastungen N, die zu dem zweiten Satz von Abtastungen gehören, wobei eine erste Sequenz von N/2 Frequenz-Intervallen und eine zweite Sequenz von N/2 Frequenz-Intervallen erzeugt werden, gekennzeichnet durch

c) Mittel zur Berechnung, für jedes Frequenz-Intervall der ersten Sequenz, des Vorzeichens der Ableitung, und zur Berechnung, für die zweite Sequenz von N/2 Frequenz-Intervallen, des Vorzeichens der Ableitung, des absoluten Werts der Ableitung und einer Gesamtsumme, die aus der Summe der absoluten Werte der Ableitung in jedem Frequenz-Intervall gebildet wird, der zwischen einer Untergrenze und einer Obergrenze enthalten ist;

d) Mittel zur Berechnung, für die zweite Sequenz von N/2 Frequenz-Intervallen, einer Teilsumme, die aus der Summe der absoluten Werte der Ableitung von all denjenigen Frequenz-Intervallen gebildet wird, die zwischen einer Untergrenze und einer Obergrenze enthalten sind, bei denen das vorzeichen der Ableitung in dem Frequenz-Intervall, das zu der zweiten Sequenz gehört, mit dem Vorzeichen der Ableitung des entsprechenden Frequenz-Intervalls in der ersten Sequenz übereinstimmt;

e) Mittel zur Bestimmung des Verhältnisses zwischen der Teilsumme und der Gesamtsumme, um einen Index der Übereinstimmung des Inhalts der Tonquellen zu erhalten.


 
8. Das System gemäß Anspruch 7, dadurch gekennzeichnet, dass die Abtastparameter Folgendes einschließen: die Abtastfrequenz und die Anzahl von Bits pro Abtastung.
 
9. Das System gemäß Anspruch 8, dadurch gekennzeichnet, dass die Abtastfrequenz 6300 Hz beträgt.
 
10. Das System gemäß Anspruch 8, dadurch gekennzeichnet, dass die Anzahl von Bits pro Abtastung 16 ist.
 
11. Das System gemäß einem beliebigen der Ansprüche 7 bis 10, dadurch gekennzeichnet, dass es Schnittstellenmittel zur Aufnahme der Daten einer Radio- oder Fernsehstation umfasst.
 
12. Das System gemäß einem beliebigen der Ansprüche 7 bis 11, dadurch gekennzeichnet, dass es eine tragbare Datenerfassungsvorrichtung für die erste Tonquelle umfasst.
 


Revendications

1. Procédé pour définir un indice de la correspondance entre le contenu de deux sources audio, comportant les étapes consistant à :

a) définir un ensemble de paramètres d'échantillonnage,

b) échantillonner une séquence audio à partir d'une première source conformément auxdits paramètres d'échantillonnage, générer un premier ensemble d'échantillons, et une séquence audio à partir d'une seconde source conformément auxdits paramètres d'échantillonnage, générer un second ensemble d'échantillons,

c) sélectionner un nombre séquentiel d'échantillons N qui appartiennent audit premier ensemble d'échantillons et un nombre identique d'échantillons N à comparer qui appartiennent audit second ensemble d'échantillons,

d) transférer ladite première séquence de N échantillons vers le domaine fréquentiel, générer une première séquence de N/2 intervalles de fréquence, et transférer ladite seconde séquence de N échantillons vers le domaine fréquentiel, générer une seconde séquence de N/2 intervalles de fréquence,
pour ladite première séquence de N/2 intervalles de fréquence, calculer le signe de la dérivée, caractérisé par les étapes consistant à :

e) pour ladite seconde séquence de N/2 intervalles de fréquence, calculer le signe de la dérivée et la valeur absolue de la dérivée et calculer une somme totale constituée par la somme des valeurs absolues de la dérivée dans chaque intervalle de fréquence compris entre une limite inférieure et une limite supérieure,

f) pour ladite seconde séquence de N/2 intervalles de fréquence, calculer une somme partielle constituée par la somme des valeurs absolues de la dérivée à partir de tous ces intervalles de fréquence compris entre une limite inférieure et une limite supérieure, pour laquelle le signe de la dérivée dans l'intervalle de fréquence qui appartient à ladite seconde séquence coïncide avec le signe de la dérivée de l'intervalle de fréquence correspondant dans ladite première séquence,

g) utiliser le rapport entre ladite somme partielle et ladite somme totale en tant qu'indice de la correspondance dudit contenu desdites sources audio.


 
2. Procédé selon la revendication 1, caractérisé en ce que lesdits paramètres d'échantillonnage incluent : la fréquence d'échantillonnage et le nombre de bits par échantillon.
 
3. Procédé selon la revendication 2, caractérisé en ce que ladite fréquence d'échantillonnage est égale à 6300 Hz.
 
4. Procédé selon la revendication 2, caractérisé en ce que ledit nombre de bits par échantillon est égal à 16.
 
5. Procédé selon l'une quelconque des revendications précédentes, caractérisé en ce que ladite première source audio est un enregistrement de son d'ambiance.
 
6. Procédé selon l'une quelconque des revendications précédentes, caractérisé en ce que ladite seconde source sonore est une station de radiodiffusion ou de télévision.
 
7. Système pour comparer le contenu de deux sources audio, comportant :

a) des moyens d'échantillonnage pour échantillonner une séquence audio à partir d'une première source conformément à des paramètres d'échantillonnage, générer un premier ensemble d'échantillons, et une séquence audio à partir d'une seconde source conformément auxdits paramètres d'échantillonnage, générer un second ensemble d'échantillons,

b) des moyens pour transformer dans le domaine fréquentiel un nombre séquentiel d'échantillons N qui appartiennent audit premier ensemble d'échantillons et un nombre égal d'échantillons N à comparer, lesquels appartiennent audit second ensemble d'échantillons, générer une première séquence de N/2 intervalles de fréquence, et une seconde séquence de N/2 intervalles de fréquence, caractérisé par :

c) des moyens pour calculer pour chaque intervalle de fréquence de ladite première séquence, le signe de la dérivée et pour calculer pour ladite seconde séquence de N/2 intervalles de fréquence, le signe de la dérivée, la valeur absolue de la dérivée et une somme totale constituée par la somme des valeurs absolues de la dérivée dans chaque intervalle de fréquence compris entre une limite inférieure et une limite supérieure,

d) des moyens pour calculer, pour ladite seconde séquence de N/2 intervalles de fréquence, une somme partielle constituée par la somme des valeurs absolues de la dérivée à partir de tous ces intervalles de fréquence compris entre une limite inférieure et une limite supérieure, pour laquelle le signe de la dérivée dans l'intervalle de fréquence qui appartient à ladite seconde séquence coïncide avec le signe de la dérivée de l'intervalle de fréquence correspondant dans ladite première séquence,

e) des moyens pour déterminer le rapport entre ladite somme partielle et ladite somme totale afin d'obtenir un indice de la correspondance dudit contenu desdites sources audio.


 
8. Système selon la revendication 7, caractérisé en ce que lesdits paramètres d'échantillonnage incluent : la fréquence d'échantillonnage et le nombre de bits par échantillon.
 
9. Système selon la revendication 8, caractérisé en ce que ladite fréquence d'échantillonnage est égale à 6300 Hz.
 
10. Système selon la revendication 8, caractérisé en ce que ledit nombre de bits par échantillon est égal à 16.
 
11. Système selon l'une quelconque des revendications 7 à 10, caractérisé en ce qu'il comporte des moyens d'interface pour enregistrer les données d'une station de radiodiffusion ou de télévision.
 
12. Système selon l'une quelconque des revendications 7 à 11, caractérisé en ce qu'il comporte un dispositif d'acquisition de données portable pour ladite première source audio.
 




Drawing














Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description