US20130275421A1 - Repetition Detection in Media Data - Google Patents

Repetition Detection in Media Data Download PDF

Info

Publication number
US20130275421A1
US20130275421A1 US13/997,847 US201113997847A US2013275421A1 US 20130275421 A1 US20130275421 A1 US 20130275421A1 US 201113997847 A US201113997847 A US 201113997847A US 2013275421 A1 US2013275421 A1 US 2013275421A1
Authority
US
United States
Prior art keywords
media data
fingerprints
features
media
values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US13/997,847
Inventor
Barbara Resch
Regunathan Radhakrishnan
Arijit Biswas
Jonas Engdegard
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dolby International AB
Dolby Laboratories Licensing Corp
Original Assignee
Dolby International AB
Dolby Laboratories Licensing Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dolby International AB, Dolby Laboratories Licensing Corp filed Critical Dolby International AB
Priority to US13/997,847 priority Critical patent/US20130275421A1/en
Assigned to DOLBY INTERNATIONAL AB, DOLBY LABORATORIES LICENSING CORPORATION reassignment DOLBY INTERNATIONAL AB ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BISWAS, ARIJIT, ENGDEGARD, JONAS, RADHAKRISHNAN, REGUNATHAN, RESCH, BARBARA
Publication of US20130275421A1 publication Critical patent/US20130275421A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • G06F17/3053
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/031Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
    • G10H2210/061Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal for extraction of musical phrases, isolation of musically relevant segments, e.g. musical thumbnail generation, or for temporal structure analysis of a musical piece, e.g. determination of the movement sequence of a musical work
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/121Musical libraries, i.e. musical databases indexed by musical parameters, wavetables, indexing schemes using musical parameters, musical rule bases or knowledge bases, e.g. for automatic composing methods
    • G10H2240/151Thumbnail, i.e. retrieving, playing or managing a short and musically relevant song preview from a library, e.g. the chorus

Definitions

  • the present invention relates generally to media, and in particular, to detecting the time-wise position of a representative segment in media data.
  • Media data may comprise representative segments that are capable of making lasting impressions on listeners or viewers. For example, most popular songs follow a specific structure that alternates between a verse section and a chorus section. Usually, the chorus section is the most repeating section in a song and also the “catchy” part of a song. The position of chorus sections typically relates to the underlying song structure, and may be used to facilitate an end-user to browse a song collection.
  • the position of a representative segment such as a chorus section may be identified in media data such as a song, and may be associated with the encoded bitstream of the song as metadata.
  • the metadata enables the end-user to start the playback at the position of the chorus section.
  • a song may be segmented into different sections using clustering techniques.
  • the underlying assumption is that the different sections (such as verse, chorus, etc.) of a song share certain properties that discriminate one section from the other sections or other parts of the song.
  • a chorus is a repetitive section in a song.
  • Repetitive sections may be identified by matching different sections of the song with one another.
  • both “the clustering approach” and “the pattern matching approach” require computing a distance matrix from an input audio clip.
  • the input audio clip is divided into N frames; features are extracted from each of the frames. Then, a distance is computed between every pair of frames among the total number of pairs formed between any two of the N frames of the input audio clip.
  • the derivation of this matrix is computationally expensive and requires high memory usage, because a distance needs to be computed for each and every one of all the combinations (which means an order of magnitude of N ⁇ N times, where N is the number of frames in a song or an input audio clip therein).
  • FIG. 1 depicts an example basic block diagram of a media processing system, according to possible embodiments of the present invention
  • FIG. 2 depicts example media data such as a song having an offset between chorus sections, according to possible embodiments of the present invention
  • FIG. 3 illustrates an example distance matrix, in accordance with possible embodiments of the present invention
  • FIG. 4 illustrates example generation of a coarse spectrogram, according to possible embodiments of the present invention
  • FIG. 5 illustrates an example helix of pitches, according to possible embodiments of the present invention
  • FIG. 6 illustrates an example frequency spectrum, according to possible embodiments of the present invention.
  • FIG. 7 illustrates an example comb pattern to extract an example chroma, according to possible embodiments of the present invention
  • FIG. 8 illustrates an example operation to multiply a frame's spectrum with a comb pattern, according to possible embodiments of the present invention
  • FIG. 9 illustrates a first example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention.
  • FIG. 10 illustrates a second example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention
  • FIG. 11 illustrates a third example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention
  • FIG. 12 illustrates an example chromagram plot associated with example media data in the form of a piano signal (with musical notes of gradually increasing octaves) using a perceptually motivated BPF, according to possible embodiments of the present invention
  • FIG. 13 illustrates an example chromagram plot associated with the piano signal as shown in FIG. 12 but using the Gaussian weighting, according to possible embodiments of the present invention
  • FIG. 14 illustrates an example detailed block diagram of a media processing system, according to possible embodiments of the present invention.
  • FIG. 15 illustrates example fingerprints comprising a query sequence of fingerprints, according to possible embodiments of the present invention
  • FIG. 16 illustrates an example histogram of offset values, according to possible embodiments of the present invention.
  • FIG. 17 illustrates an example feature distance matrix (chroma distance matrix), according to possible embodiments of the present invention.
  • FIG. 18 illustrates example chroma distance values for a row of a similarity matrix, smoothed distance values and resulting seed time point for scene change detection, according to possible embodiments of the present invention
  • FIG. 19A and FIG. 19B illustrate example process flows according to possible embodiments of the present invention.
  • FIG. 20 illustrates an example hardware platform on which a computer or a computing device as described herein may be implemented, according a possible embodiment of the present invention.
  • Example possible embodiments which relate to repetition detection in media data, are described herein.
  • numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are not described in exhaustive detail, in order to avoid unnecessarily including, obscuring, or obfuscating the present invention.
  • media data may comprise, but are not limited to, one or more of: songs, music compositions, scores, recordings, poems, audiovisual works, movies, or multimedia presentations.
  • the media data may be derived from one or more of: audio files, media database records, network streaming applications, media applets, media applications, media data bitstreams, media data containers, over-the-air broadcast media signals, storage media, cable signals, or satellite signals.
  • Media features of many different types may be extractable from the media data, capturing structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources of the media data.
  • Features extractable from media data as described herein may relate to any of a multitude of media standards, a tuning system of 12 equal temperaments or a different tuning system other than a tuning system of 12 equal temperaments.
  • One or more of these types of media features may be used to generate a digital representation for the media data.
  • media features of a type that captures tonality, timbre, or both tonality and timbre of the media data may be extracted, and used to generate a full digital representation, for example, in time domain or frequency domain, for the media data.
  • the full digital representation may comprise a total of N frames.
  • Examples of a digital representation may include, but are not limited to, those of fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • FFTs fast Fourier transforms
  • DFTs digital Fourier transforms
  • STFTs short time Fourier transforms
  • MDCTs Modified Discrete Cosine Transforms
  • MDSTs Modified Discrete Sine Transforms
  • QMFs Quadrature Mirror Filters
  • CQMFs Complex QMFs
  • DWTs discrete wavelet transforms
  • an N ⁇ N distance matrix may be calculated to determine whether, and wherein in the media data, a particular segment with certain representative characteristics exists in the media data.
  • representative characteristics may include, but are not limited to, certain media features such as absence or presence of voice, repetition characteristics such as the most repeated or least repeated, etc.
  • the digital representation may be reduced to fingerprints first.
  • fingerprints may be of a data volume several magnitudes smaller than that of the digital representation from which the fingerprints were derived and may be efficiently computed, searched, and compared.
  • a much optimized searching and matching step is used to quickly identify, for a query sequence of fingerprints, a set of offset values (or simply offsets) at which segments with certain representative characteristics are likely to repeat in the media data.
  • some, or all, of the entire time duration of the media data may be divided into a plurality of time-wise sections each of which begins at a time point.
  • a query sequence at a particular query time point may be formed by the sequence of fingerprints in one of the plurality of sections that begins at the particular time point—which may be called the query time point for the sequence of fingerprints.
  • a dynamic database of fingerprints may be used to store fingerprints of the media data to be compared with the query sequence.
  • the dynamic database of fingerprints is constructed in such a way that the fingerprints in the query sequence and additionally and/or optionally some fingerprints in the vicinity of the query sequence are excluded from the dynamic database.
  • a simple linear search and comparison operation may be used to determine all repeating or similar sequences of fingerprints in the dynamic database relative to the query sequence. These steps of setting a query sequence of fingerprints, constructing a dynamic database of fingerprints, and performing a linear search and comparison operation of the query sequence for similar or matched sequences in the media data may be repeated for all the time points. For each query time point (t q ), we record the time point (t m ) at which the best matching sequence was found. We compute an offset value equal to (t m ⁇ t q ) which represents the time difference between the query point and its corresponding matching sequence in the database. As a result, a set of offset values that correspond to each of the query sequences may be established for the media data.
  • significant offset values may be further selected from the set of offset values based on one or more selection criteria.
  • the one or more selection criteria may be relating to a frequency of occurrences of the offset values.
  • the offset values associated with a frequency of occurrence that exceeds a certain threshold may be included in the subset of offset values—which may be called significant offset values.
  • the significant offset values may be identified using one or more histograms that represent frequencies of occurrences of the offset values.
  • feature-based comparisons or distance computations may be performed between features at a time difference equal to the significant offset values only.
  • the whole distance matrix using N frames that cover the entire time duration of the media data as required in the existing techniques may be avoided under techniques as described herein.
  • the feature comparison at the significant offset values may further be performed on a restricted time range comprising time positions of time points (e.g., tm and tq) from fingerprint analysis.
  • the feature-based comparisons or distance computations between features with time difference equal to the significant offset values as described herein may be based on a type of feature that is the same as the type that is used to generate the previously mentioned fingerprints.
  • these feature-based comparisons or distance computations may be based on a type of feature that is NOT the same as the type of feature that was used to generate the previously mentioned fingerprints.
  • the feature-based comparisons or distance computations between features with time difference equal to the significant offset values as described herein may produce similarity or dissimilarity values relating to one or more of Euclidean distances of vectors, mean squared errors, bit error rates, auto-correlation based measures, or Hamming distances.
  • filters may be applied to smooth the similarity or dissimilarity values. Examples of such filters may be, but are not limited to, a Butterworth lowpass filter, a moving average filter, etc.
  • the filtered similarity or dissimilarity values may be used to identify a set of seed time points for each of the significant offset values.
  • a seed time point for example, may correspond to a local minimum or maximum in the filtered values.
  • Benefits of the present invention include, but are not limited to, identifying a chorus section, or a brief section that may be suitable for replaying or previewing when a large section of songs is being browsed, a ring tone, etc.
  • the locations of one or more representative segments in the media may be encoded by a media generator in a media data bitstream in the encoding stage.
  • the media data bitstream may then be decoded by a media data player to recover the locations of the representative segments and to play any of the representative segments.
  • mechanisms as described herein form a part of a media processing system, including but not limited to: a handheld device, game machine, television, laptop computer, netbook computer, cellular radiotelephone, electronic book reader, point of sale terminal, desktop computer, computer workstation, computer kiosk, or various other kinds of terminals and media processing units.
  • a media processing system herein may contain four major components as shown in FIG. 1 .
  • a feature-extraction component may extract features of various types from media data such as a song.
  • a repetition detection component may find time-wise sections of the media data that are repetitive, for example, based on certain characteristics of the media data such as the melody, harmonies, lyrics, timbre of the song in these sections as represented in the extracted features of the media data.
  • the repetitive segments may be subjected to a refinement procedure performed by a scene change detection component, which finds the correct start and end time points that delineate segments encompassing selected repetitive sections.
  • These correct start and end time points may comprise beginning and ending scene change points of one or more scenes possessing distinct characteristics in the media data.
  • a pair of a beginning scene change point and an ending scene change point may delineate a candidate representative segment.
  • a ranking algorithm performed by a ranking component may be applied for the purpose of selecting a representative segment from all the candidate representative segments.
  • the representative segment selected may be the chorus of the song.
  • a media processing system as described herein may be configured to perform a combination of fingerprint matching and chroma distance analyses.
  • the system may operate with high performance at a relatively low complexity to process a large amount of media data.
  • the fingerprint matching enables fast and low-complexity searches for the best matching segments that are repetitive in the media data.
  • a set of offset values at which repetitions occur is identified.
  • a more accurate chroma distance analysis is applied only at those offsets. Relative to a same time interval of the media data, the chroma distance analysis may be more reliable and accurate than the fingerprint matching analysis but at the expense of higher complexity than that of the fingerprint matching analysis.
  • the advantage of the combined/hybrid approach is that since the chroma distance analysis is only applied to certain offsets in the media data, the computational complexity and memory usage decreases drastically as compared with applying the chroma distance analysis for all possible offsets on the whole time duration of the media data.
  • FIG. 2 depicts example media data such as a song having an offset as shown between the first and second chorus sections.
  • FIG. 3 shows an example distance matrix with two dimensions, time and offset, for distance computation.
  • the offset denotes the time-lag between two frames from which a dissimilarity value (or a distance) relating to a features (or similarity) is computed.
  • Repetitive sections are represented as horizontal dark lines, corresponding to a low distance of a section of successive frames to another section of successive frames that are a certain offset apart.
  • the computation of a full distance matrix may be avoided. Instead, fingerprint matching data may be analyzed to provide a set of significant offsets at which repetitions occur. Thus, distance computations between chroma features that are separated by an offset value that is not equal to one of the significant offsets can be avoided.
  • the feature comparison at the significant offset values may further be performed on a restricted time range comprising time positions of time points (tm and tq) from fingerprint analysis. As a result, even if a distance matrix is used under techniques as described herein, such a distance matrix may comprise only a few rows and columns for which distances are to be computed, relative to the full distance matrix under other techniques.
  • fingerprints may be designed in such a way as to possess robustness against a variety of signal processing/manipulation operations including coding, Dynamic Range Compression (DRC), equalization, etc.
  • DRC Dynamic Range Compression
  • the robustness requirements of fingerprints may be relaxed, since the matching of the fingerprints occurs within the same song. Malicious attacks that must be dealt with by a typical fingerprinting system may be absent or relatively rare in the media data as described herein.
  • fingerprint extraction herein may be based on a coarse spectrogram representation.
  • the audio signal may be down-mixed to a mono signal and may additionally and/or optionally be down sampled to 16 kHz.
  • the media data such as the audio signal may be processed into, but is not limited to, a mono signal, and may further be divided into overlapping chunks.
  • a spectrogram may be created from each of the overlapping chunks.
  • a coarse spectrogram may be created by averaging along both time and frequency. The foregoing operation may provide robustness against relatively small changes in the spectrogram along time and frequency.
  • the coarse spectrogram herein may also be chosen in a way to emphasize certain parts of a spectrum more than other parts of the spectrum.
  • FIG. 4 illustrates example generation of a coarse spectrogram according to possible embodiments of the present invention.
  • the (input) media data e.g., a song
  • a spectrogram may be computed with a certain time resolution (e.g., 128 samples or 8 ms) and frequency resolution (256-sample FFT).
  • the computed spectrogram S may be tiled with time-frequency blocks.
  • the magnitude of the spectrum within each of the time-frequency blocks may be averaged to obtain a coarse representation Q of the spectrogram S.
  • the coarse representation Q of S may be obtained by averaging the magnitude of frequency coefficients in time-frequency blocks of size W f ⁇ W t .
  • W f is the size of block along frequency
  • W t is the size of block along time.
  • F be the number of blocks along frequency axis
  • T be the number of blocks along time axis and hence Q is of size (F*T).
  • Q may be computed in expression (1) given below:
  • i and j represent the indices of frequency and time in the spectrogram and k and l represent the indices of the time-frequency blocks in which the averaging operation is performed.
  • F may be a positive integer (e.g., 5, 10, 15, 20, etc.)
  • T may be a positive integer (e.g., 5, 10, 15, 20, etc.).
  • a low-dimensional representation of the coarse representation (Q) of spectrogram of the chunk may be created by projecting the spectrogram onto pseudo-random vectors.
  • the pseudo-random vectors may be thought of as basis vectors.
  • a number K of pseudo-random vectors may be generated, each of which may be with the same dimensions as the matrix Q (F ⁇ T).
  • the matrix entries may be uniformly distributed random variables in [0, 1].
  • the state of the random number generator may be set based on a key.
  • Let the pseudo-random vectors be denoted as P 1 , P 2 , . . . , P K , each of dimension (F ⁇ T).
  • the mean of each matrix P i may be computed.
  • Each matrix element in P i (i goes from 1 to K) may be subtracted with the mean of matrix P i .
  • the matrix Q may be projected onto these K random vectors as shown below:
  • H k is the projection of the matrix Q onto the random vector P k .
  • a number K of hash bits for the matrix Q may be generated. For example, a hash bit ‘1’ may be generated for k th hash bit if the projection H k is greater than the threshold. Otherwise, a hash bit of ‘0’ if not.
  • K may be a positive integer such as 8, 16, 24, 32, etc.
  • a fingerprint of 24 hash bits as described herein may be created for every 16 ms of audio data. A sequence of fingerprints comprising these 24-bit codewords may be used as an identifier for that particular chunk of audio that the sequence of fingerprints represents.
  • the complexity of fingerprint extraction as described herein may be about 2.58 MIPS.
  • a coarse representation Q herein has been described as a matrix derived from FFT coefficients. It should be noted that this is for illustration purposes only. Other ways of obtaining a representation in various granularities may be used. For example, different representations derived from fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients, chroma features, or other approaches may be used to derive codewords, hash bits, fingerprints, and sequences of fingerprints for chunks of the media data.
  • FFTs fast Fourier transforms
  • DFTs digital Fourier transforms
  • STFTs short time Fourier transforms
  • MDCTs Modified Discrete Cosine Transforms
  • MDSTs Modified
  • a chromagram may be defined as an n-dimensional chroma vector.
  • a chromagram may be defined as a 12-dimensional chroma vector in which each dimension corresponds to the intensity (or alternatively magnitude) of a semitone class (chroma). Different dimensionalities of chroma vectors may be defined for other tuning systems.
  • the chromagram may be obtained by mapping and folding an audio spectrum into a single octave.
  • the chroma vector represents a magnitude distribution over chroman that may be discretized into 12 pitch classes within an octave. Chroma vectors capture melodic and harmonic content of an audio signal and may be less sensitive to changes in timbre than the spectrograms as discussed above in connection with fingerprints that were used for determining repetitive or similar sections.
  • Chroma features may be visualized by projecting or folding on a helix of pitches as illustrated in FIG. 5 .
  • the term “chroma” refers to the position of a musical pitch within a particular octave; the particular octave may correspond to a cycle of the helix of pitches, as viewed from sideways in FIG. 5 .
  • a chroma refers to a position on the circumference of the helix as seen from directly above in FIG. 5 , without regard to heights of octaves on the helix of FIG. 5 .
  • the vertical position as indicated by a specific height corresponds to a position in a specific octave of the specific height.
  • the presence of a musical note may be associated with the presence of a comb-like pattern in the frequency domain.
  • This pattern may be composed of lobes approximately at the positions corresponding to the multiples of the fundamental frequency of an analyzed tone. These lobes are precisely the information which may be contained in the chroma vectors.
  • the content of the magnitude spectrum at a specific chroma may be filtered out using a band-pass filter (BPF).
  • BPF band-pass filter
  • the magnitude spectrum may be multiplied with a BPF (e.g., with a Hann window function).
  • the center frequencies of the BPF as well as the width may be determined by the specific chroma and a number of height values.
  • the window of the BPF may be centered at a Shepard's frequency as a function of both chroma and height.
  • An independent variable in the magnitude spectrum may be frequency in Hz, which may be converted to cents (e.g., 100 cents equals to a half-tone).
  • the width of the BPF is chroma specific stems from the fact that musical notes (or chromas as projected onto a particular octave of the helix of FIG. 5 ) are not linearly spaced in frequency, but logarithmically. Higher pitched notes (or chromas) are further apart from each other in the spectrum than lower pitched notes, so the frequency intervals between notes at higher octaves are wider than those at lower octaves. While the human ear is able to perceive very small differences in pitch at low frequencies, the human ear is only able to perceive relatively significant changes in pitch at high frequencies. For these reasons related to human perception, the BPF may be selected to be of a relatively wide window and of a relatively large magnitude at relatively high frequencies. Thus, in some possible embodiments, these BPF filters may be perceptually motivated.
  • a chromagram may be computed by a short-time-fourier-transformation (STET) with a 4096-sample Hann window.
  • STT short-time-fourier-transformation
  • FFT fast-fourier-transform
  • a FFT frame may be shifted by 1024 samples, while a discrete time step (e.g., 1 frame shift) may be 46.4 (or simply denoted as 46 herein) milliseconds (ms).
  • the frequency spectrum (as illustrated in FIG. 6 ) of a 46 ms frame may be computed.
  • the presence of a musical note may be associated with a comb pattern in the frequency spectrum, composed of lobes located at the positions of the various octaves of the given note.
  • the comb pattern may be used to extract, e.g., a chroma D as shown in FIG. 7 .
  • the peaks of the comb pattern may be at 147, 294, 588, 1175, 2350, and 4699 Hz.
  • the frame's spectrum may be multiplied with the above comb pattern.
  • the result of the multiplication is illustrated in FIG. 8 , and represents all the spectral content needed for the calculation of the chroma D in the chroma vector of this frame.
  • the magnitude of this element is then simply a summation of the spectrum along the frequency axis.
  • the system herein may generate the appropriate comb patterns for each of the chromas, and the same process is repeated on the original spectrum.
  • a chromagram may be computed using Gaussian weighting (on a log-frequency axis; which may, but is not limited to, be normalized).
  • the Gaussian weighting may be centered at a log-frequency point, denoted as a center frequency “f_ctr”, on the log-frequency axis.
  • the center frequency “f_ctr” may be set to a value of ctroct. (in units of octaves or cents/1200, with the referential origin at A0), which corresponds to a frequency of 27.5*(2 ⁇ ctroct) in units of Hz.
  • the Gaussian weighting may be set with a Gaussian half-width of f_sd, which may be set to a value of octwidth in units of octaves. For example, the magnitude of the Gaussian weighting drops to exp( ⁇ 0.5) at a factor of 2 ⁇ octwidth above and below the center frequency f_ctr. In other words, in some possible embodiments, instead of using individual perceptually motivated BPFs as previously described, a single Gaussian weighting filter may be used.
  • the peak of the Gaussian weighting is at 880 Hz, and the weighting falls to approximately 0.6 at 440 Hz and 1760 Hz.
  • the parameters of the Gaussian weighting may be preset, and additionally and/or optionally, configurable by a user manually and/or by a system automatically.
  • the peak of the Gaussian weighting for this example default setting is at 1000 Hz, and the weighting falls to approximately 0.6 at 500 and 2000 Hz.
  • the chromagram herein may be computed on a rather restricted frequency range. This can be seen from the plots of a corresponding weighting matrix as illustrated in FIG. 9 . If the f_sd of the Gaussian weighting is increased to 2 in units of octaves, the spread of the weighting for the Gaussian weighting is also increased. The plot of a corresponding weighting matrix looks as shown in FIG. 10 . As a comparison, the weighting matrix looks as shown in FIG. 11 when operating with an f_sd having a value of 3 to 8 octaves.
  • FIG. 12 illustrates an example chromagram plot associated with example media data in the form of a piano signal (with musical notes of gradually increasing octaves) using a perceptually motivated BPF.
  • FIG. 13 illustrates an example chromagram plot associates with the same piano signal using the Gaussian weighting. The framing and shift is chosen to be exactly same for the purposes of making comparison between the two chromagram plots.
  • a perceptually motivated band-pass filter may provide better energy concentration and separation. This is visible for the lower notes, where the notes in the chromagram plot generated by the Gaussian weighting look hazier. While the different BPFs may impact chord recognition applications differently, a perceptually motivated filter brings little added benefits for segment (e.g., chorus) extraction.
  • the chromagram and fingerprint extraction as described herein may operate on media data in the form of a 16-kHz sampled audio signal.
  • Chromagram may be computed with STFT with a 3200-sample Hann window using FFT.
  • a FFT frame may be shifted by 800 samples with a discrete time step (e.g., 1 frame shift) of 50 ms.
  • discrete time step e.g. 1 frame shift
  • other sampled audio signals may be processed by techniques herein.
  • a chromagram computed with a different transform, a different filter, a different window function, a different number of samples, a different frame shift, etc. is also within the scope of the present invention.
  • Techniques herein may use various features that are extracted from the media data such as MFCC, rhythm features, and energy described in this section. As previously noted, some, or all, of extracted features as described herein may also be applied to scene change detection. Additionally and/or optionally, some, or all, of these features may also be used by the ranking component as described herein.
  • MFCCs Mel-frequency Cepstral coefficients
  • rhythmic features may be found in Hollosi, D., Biswas, A., “Complexity Scalable Perceptual Tempo Estimation from HE-AAC Encoded Music,” in 128 th AES Convention, London, UK, 22-25 May 2010, the entire contents of which is hereby incorporated by reference as if fully set forth herein.
  • perceptual tempo estimation from HE-AAC encoded music may be carried out based on modulation frequency.
  • Techniques herein may include a perceptual tempo correction stage in which rhythmic features are used to correct octave errors.
  • An example procedure for computing the rhythmic features may be described as follows.
  • a power spectrum is calculated; a Mel-Scale transformation is then performed.
  • This step accounts for the non-linear frequency perception of the human auditory system while reducing the number of spectral values to only a few Mel-Bands. Further reduction of the number of bands is achieved by applying a non-linear companding function, such that higher Mel-bands are mapped into single bands under the assumption that most of the rhythm information in the music signal is located in lower frequency regions.
  • This step shares the Mel filter-bank used in the MFCC computation.
  • a modulation spectrum is computed.
  • This step extracts rhythm information from media data as described herein.
  • the rhythm may be indicated by peaks at certain modulation frequencies in the modulation spectrum.
  • the companded Mel power spectra may be segmented into time-wise chunks of 6 s length with certain overlap over the time axis. The length of the time-wise chunks may be chosen from a trade-off between costs and benefits involving computational complexity to capture the “long-time rhythmic characteristics” of an audio signal.
  • an FFT may be applied along the time-axis to obtain a joint-frequency (modulation spectrum: x-axis—modulation frequency and y-axis—companded Mel-bands) representation for each 6 s chunk.
  • rhythmic features may then be extracted from the modulation spectrum.
  • the rhythmic features that may be beneficial for scene-change detection are: rhythm strength, rhythm regularity, and bass-ness.
  • Rhythm strength may be defined as the maximum of the modulation spectrum after summation over companded Mel-bands.
  • Rhythm regularity may be defined as the mean of the modulation spectrum after normalization to one.
  • Bass-ness may be defined as the sum of the values in the two lowest companded Mel-bands with a modulation frequency higher than one (1) Hz.
  • repetition detection may be based on both fingerprints and chroma features.
  • fingerprint queries using a tree-based search may be performed, identifying the best match for each segment of the audio signal thereby giving rise to one or more best matches.
  • the data from the best matches may be used to determine offset values where repetitions occur and the corresponding rows of a chroma distance matrix are computed and further analyzed.
  • FIG. 14 depicts an example detailed block diagram of the system, and illustrates how the extracted features are processed to detect the repetitive sections.
  • the fingerprint matching block of FIG. 14 may quickly identify offset values or time lags at which repeating segments appear in media data such as an input song.
  • a sequence of 488 24-bit fingerprint codewords corresponding to an 8 s time interval (beginning at the start time point of each 0.64 s increment) of the song may be used as a query sequence of fingerprints.
  • a matching algorithm may be used to find the best match for this query sequence comprising a number of fingerprint bits (e.g., 488 24-bit fingerprint codewords) in the rest of fingerprint bits (corresponding to the remaining time duration excluding the query sequence of fingerprints) of the song.
  • fingerprint bits e.g., 488 24-bit fingerprint codewords
  • the best matching sequence of bits may be found from this dynamic database of fingerprint bits that stores the remaining fingerprint bits of the song excluding certain portions of fingerprints of the song.
  • An optimization may be made to increase the robustness in that the dynamic database of fingerprints may exclude a portion of fingerprints that corresponds to a certain time interval from the (current) start time point of the query sequence.
  • This optimization can be applied when the assumption can be made that the segment to be detected is repeated after a certain minimum offset.
  • the optimization avoids the detection of repetitions that occur with smaller offsets (e.g., musical patterns repeat with only a few seconds offset).
  • an optimization may be made so that the dynamic database of fingerprints may exclude a portion of fingerprints that corresponds to a ( ⁇ 20 s) 19.2 s time interval from the (current) start time point of the query sequence.
  • the fingerprints corresponding to 0.64 s to 8.64 s of the song may be used as a query.
  • the dynamic database of fingerprints may now exclude the time interval of the song corresponding to (0.64 s to 19.84 s).
  • the portion of fingerprints corresponding to the time interval between the previous start time point and the current start time point (e.g., 0 to 0.64 s) may be added to the dynamic database of fingerprints.
  • the dynamic database is thus updated and a search is performed to find the best matching sequence of bits for a query sequence of fingerprint bits starting from the current start time point. For each search, the following two results may be recorded:
  • a search relating to a query sequence of fingerprints as described herein may be performed efficiently using a 256-ary tree data structure and may be able to find approximate nearest neighbors in high-dimensional binary spaces.
  • the search may also be performed using other approximate nearest neighbor search algorithms such as LSH (Locality Sensitive Hashing), minHash, etc.
  • the fingerprint matching block of FIG. 14 returns the offset value of the best-matching segment in a song for every 0.64 s increment in the song.
  • the detect-significant-offsets block of FIG. 14 may be configured to determine a number of significant values by computing a histogram based on all offset values obtained in the fingerprint matching block of FIG. 14 .
  • FIG. 16 shows an example histogram of offset values.
  • the significant offset values may be selected offset values for which there are a significant number of matches.
  • the significant offset values may manifest as peaks in the histogram.
  • significant offset values are offset values with a significant number of matches. Peak detection may be based on adaptive threshold in the histogram; offset values comprising peaks above the threshold may be identified significant offset values.
  • neighboring e.g., within a window of ⁇ 1 s
  • significant offsets may be merged.
  • these selected offset values may be used to compute selective rows of a feature distance matrix (e.g., features relating to structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources of corresponding sections in the media data) as follows:
  • f(i) represents a feature vector for media data frame i and d( ) is a distance measure used to compare two feature vectors.
  • o k is the k th significant offset value.
  • the computation of D( ) may be made for all N media frames against each of the selected offset value o k .
  • the number of selected offset values o k is associated with how frequent a representative segment repeats in the media data, and may not vary with how many (e.g., the number N) media frames one chooses to cover the media data.
  • the complexity of computing D( ) for all the selected offset values o k against all the N media frames under the techniques herein is O(N).
  • the complexity of a full N ⁇ N distance matrix computation under other techniques would be O(N 2 ).
  • the feature distance matrix under techniques described herein is much smaller than a full N ⁇ N distance matrix, requiring much less memory space to perform the computation.
  • the features used to compute the feature distance matrix may be, but are not limited to, one or more of the following:
  • timbre e.g., MFCC
  • features that represent melody e.g., chromagrams
  • techniques described herein use one or more suitable distance measures to compare the selected features for the feature distance matrix.
  • a selected media data frame i which may be a frame at or near a significant offset time point
  • a Hamming distance may be used as a distance measure to compute corresponding fingerprints in the selected media data frame i and a media data frame at an offset time point away.
  • the feature distance may be determined as follows:
  • c(i) denotes the 12 dimensional chroma vector for frame i
  • d( ) is a selected distance measure.
  • the computed feature distance matrix (chroma distance matrix) is shown in FIG. 17 .
  • the resulting chroma distance (feature-distance) values may then be smoothed by the compute-similarity-row block of FIG. 14 with a filter such as a moving average filter of a certain time-wise length, e.g., 15 seconds.
  • a filter such as a moving average filter of a certain time-wise length, e.g., 15 seconds.
  • the position of the minimum distance of the smoothed signal may be found as follows:
  • the finding of the position of the minimum distance of the smoothed signal corresponds in this example to the detection of the position of the media segment of length 15 seconds that is most similar to another media segment of 15 seconds.
  • the two resulting best matching segments are spaced with a given offset o k .
  • the position s may be used in the next stage of processing as a seed for the scene change detection.
  • FIG. 18 shows example chroma distance values for a row of the similarity matrix, the smoothed distance and the resulting seed point for the scene change detection.
  • a position in media data such as a song after having been identified by a feature distance analysis such as a chroma distance analysis as the most likely inside a candidate representative segment with certain media characteristics may be used as a seed time point for scene change detection.
  • media characteristics for the candidate representative segment may be repetition characteristics possessed by the candidate representative segment in order for the segment to be considered as a candidate for the chorus of the song; the repetition characteristics, for example, may be determined by the selective computations of the distance matrix as described above.
  • the scene change detection block of FIG. 14 may be configured in a system herein to identify two scene changes (e.g., in audio) in the vicinity of the seed time point:
  • the ranking component of FIG. 14 may be given several candidate representative segments for possessing certain media characteristics (e.g., the chorus) as input signals and may select one of the candidate representative segments as the output of the signal, regarded as the representative segment (e.g., a detected chorus section). All candidates representative segments may be defined or delimited by their beginning and ending scene change points (e.g., as a result from the scene change detection described herein).
  • media characteristics e.g., the chorus
  • All candidates representative segments may be defined or delimited by their beginning and ending scene change points (e.g., as a result from the scene change detection described herein).
  • Techniques as described herein may be used to detect chorus segments from music files. However, in general the techniques as described herein are useful in detecting any repeating segment in any audio file.
  • FIG. 19A and FIG. 19B illustrate example process flows according to possible embodiments of the present invention.
  • one or more computing devices or components in a media processing system may perform one or more of these process flows.
  • FIG. 19A illustrates an example repetition detection process flow using fingerprints.
  • a media processing system extracts a set of fingerprints from media data (e.g., a song).
  • the media processing system selects, based on the set of fingerprints, a set of query sequences of fingerprints.
  • Each individual query sequence of fingerprints in the set of query sequences may comprise a reduced representation of the media data for a time interval that begins at a query time.
  • the media processing system determines a set of matched sequences of fingerprints for the set of query sequences of fingerprints.
  • matched sequences include sequences of fingerprints that are similar to a query sequence of fingerprints based on distance-measure based values such as hamming distances.
  • Each individual query sequence in the set of query sequences may correspond to zero or more matched sequences of fingerprints in the set of matched sequences of fingerprints.
  • the media processing system identifies a set of offset values based on the time position of the best matching sequence for each of the query sequences.
  • the set of fingerprints as described herein may be generated by reducing a digital representation of the media data to a reduced dimension binary representation of the media data.
  • the digital representation may relate to one or more of fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • FFTs fast Fourier transforms
  • DFTs digital Fourier transforms
  • STFTs short time Fourier transforms
  • MDCTs Modified Discrete Cosine Transforms
  • MDSTs Modified Discrete Sine Transforms
  • QMFs Quadrature Mirror Filters
  • CQMFs Complex QMFs
  • DWTs discrete wavelet transforms
  • fingerprints herein may be simple to extract in relation to robust fingerprints required for detecting malicious attacks.
  • the media processing system may search, in a dynamically constructed database of fingerprints, for matched sequences of fingerprints that match a query sequence of fingerprints.
  • the query sequence of fingerprints begins at a specific query time
  • the dynamically constructed database of fingerprints excludes one or more portions of fingerprints that are within one or more configurable time windows relative to the specific query time
  • the media processing system uses one or more of histograms constructed from the set of query sequences and the set of matched sequences to determine the set of significant offset values.
  • FIG. 19B illustrates an example repetition detection process flow with a hybrid approach.
  • a media processing system locates a subset of offset values in a set of offset values in media data using a first type of one or more types of features extractable from the media data (e.g., using fingerprint search and matching as described herein).
  • the subset of offset values comprises time difference values selected from the set of offset values based on one or more selection criteria (e.g., using one or more dimensional histograms).
  • the media processing system identifies a set of candidate seed time points based on analysis at the subset of offset values using a second type (e.g., using selective row computation of a feature-distance matrix such as a chroma distance matrix) of the one or more types of features.
  • a second type e.g., using selective row computation of a feature-distance matrix such as a chroma distance matrix
  • one or more first features for the first feature type are extracted from the media data.
  • First distance values for a first repetition detection measure e.g., Hamming distances between bit values of sequences of fingerprints
  • the first distance values for the first repetition detection measure may be applied to locate the subset of offset values (e.g., in the sub-process of fingerprint search and matching).
  • one or more second features for the second feature type are extracted from the media data.
  • Second distance values for a second repetition detection measure e.g., chroma distance values in selective rows of a chroma distance matrix
  • the second distance values for the second repetition detection measure may be applied to identify the set of candidate seed time points.
  • At least one of the first repetition detection measure and the second repetition detection measure relates to a measure of similarity or dissimilarity as one or more of: Euclidean distances of vectors, vector norms, mean squared errors, bit error rates, auto-correlation based measures, Hamming distances, similarity, or dissimilarity.
  • the first values and the second values comprise one or more normalized values.
  • At least one of the one or more types of features herein is used in part to form a digital representation of the media data.
  • the digital representation of the media data may comprise a fingerprint-based reduced dimension binary representation of the media data.
  • At least one of the one or more types of features comprises a type of features that captures structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources as related to the media data.
  • the features extractable from the media data are used to provide one or more digital representations of the media data based on one or more of: chroma, chroma difference, fingerprints, Mel-Frequency Cepstral Coefficient (MFCC), chroma-based fingerprints, rhythm pattern, energy, or other variants.
  • chroma chroma difference
  • fingerprints chroma difference
  • fingerprints chroma difference
  • fingerprints chroma difference
  • MFCC Mel-Frequency Cepstral Coefficient
  • the features extractable from the media data are used to provide one or more digital representations relates to one or more of: fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • FFTs fast Fourier transforms
  • DFTs digital Fourier transforms
  • STFTs short time Fourier transforms
  • MDCTs Modified Discrete Cosine Transforms
  • MDSTs Modified Discrete Sine Transforms
  • QMFs Quadrature Mirror Filters
  • CQMFs Complex QMFs
  • DWTs discrete wavelet transforms
  • the one or more first features of the first feature type and the one or more second features of the second feature type relate to a same time interval of the media data.
  • the one or more first features of the first feature type are used for feature comparison for all offsets of the media data, while the one or more second features of the second feature type are used for a comparison of features for a certain subset of offsets of the media data.
  • the one or more first features of the first feature type form a representation of the media data for a first time interval of the media data, while the one or more second features of the second feature type forms a representation of the media data for a second different time interval of the media data.
  • the first time interval is larger than the second different time interval of the media data.
  • the first time interval covers a complete time length of the media data, while the second time interval covers one or more time portions of the media data within the complete time length of the media data.
  • extracting one or more first features (e.g., fingerprints) of the first feature type is simple in relation to extracting one or more second features (e.g., chroma features) of the second feature type, from a same portion of the media data.
  • first features e.g., fingerprints
  • second features e.g., chroma features
  • the media data may comprise one or more of: songs, music compositions, scores, recordings, poems, audiovisual works, movies, or multimedia presentations.
  • the media data may be derived from one or more of: audio files, media database records, network streaming applications, media applets, media applications, media data bitstreams, media data containers, over-the-air broadcast media signals, storage media, cable signals, or satellite signals.
  • the stereo mix may comprise one or more stereo parameters of the media data.
  • at least one of the one or more stereo parameters relates to: Coherence, Inter-channel Cross-Correlation (ICC), Inter-channel Level Difference (CLD), Inter-channel Phase Difference (IPD), or Channel Prediction Coefficients (CPC).
  • the media processing system applies one or more filters to distance values calculated at a certain offset.
  • the media processing system identifies, based on the filtered values, a set of seed time points for scene change detection.
  • the one or more filters herein may comprise a moving average filter.
  • at least one seed time point in the plurality of seed time points corresponds to a local minimum in the filtered values.
  • at least one seed time point in the plurality of seed time points corresponds to a local maximum in the filtered values.
  • at least one seed time point in the plurality of seed time points corresponds to a specific intermediate value in the statistical values.
  • at least one seed point in the plurality of seed time points may be chosen based on energy values. For instance, the temporal location of the loudest 15 s segment may serve as a seed time point for chorus segment detection.
  • the chroma features may be extracted using one or more window functions. These window functions may be, but are not limited to, musically motivated, perceptually motivated, etc.
  • the features extractable from the media data may or may not relate to a tuning system of 12 equal temperaments.
  • the techniques described herein are implemented by one or more special-purpose computing devices.
  • the special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination.
  • ASICs application-specific integrated circuits
  • FPGAs field programmable gate arrays
  • Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, or FPGAs with custom programming to accomplish the techniques.
  • the special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and/or program logic to implement the techniques.
  • FIG. 20 is a block diagram that illustrates a computer system 2000 upon which an embodiment of the invention may be implemented.
  • Computer system 2000 includes a bus 2002 or other communication mechanism for communicating information, and a hardware processor 2004 coupled with bus 2002 for processing information.
  • Hardware processor 2004 may be, for example, a general purpose microprocessor.
  • Computer system 2000 also includes a main memory 2006 , such as a random access memory (RAM) or other dynamic storage device, coupled to bus 2002 for storing information and instructions to be executed by processor 2004 .
  • Main memory 2006 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 2004 .
  • Such instructions when stored in storage media accessible to processor 2004 , render computer system 2000 into a special-purpose machine that is customized to perform the operations specified in the instructions.
  • Computer system 2000 further includes a read only memory (ROM) 2008 or other static storage device coupled to bus 2002 for storing static information and instructions for processor 2004 .
  • ROM read only memory
  • a storage device 2010 such as a magnetic disk or optical disk, is provided and coupled to bus 2002 for storing information and instructions.
  • Computer system 2000 may be coupled via bus 2002 to a display 2012 for displaying information to a computer user.
  • An input device 2014 is coupled to bus 2002 for communicating information and command selections to processor 2004 .
  • cursor control 2016 is Another type of user input device, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 2004 and for controlling cursor movement on display 2012 .
  • This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
  • Computer system 2000 may be used to control the display system (e.g., 100 in FIG. 1 ).
  • Computer system 2000 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 2000 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 2000 in response to processor 2004 executing one or more sequences of one or more instructions contained in main memory 2006 . Such instructions may be read into main memory 2006 from another storage medium, such as storage device 2010 . Execution of the sequences of instructions contained in main memory 2006 causes processor 2004 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
  • Non-volatile media includes, for example, optical or magnetic disks, such as storage device 2010 .
  • Volatile media includes dynamic memory, such as main memory 2006 .
  • Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge.
  • Storage media is distinct from but may be used in conjunction with transmission media.
  • Transmission media participates in transferring information between storage media.
  • transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 2002 .
  • Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
  • Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 2004 for execution.
  • the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer.
  • the remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem.
  • a modem local to computer system 2000 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal.
  • An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 2002 .
  • Bus 2002 carries the data to main memory 2006 , from which processor 2004 retrieves and executes the instructions.
  • the instructions received by main memory 2006 may optionally be stored on storage device 2010 either before or after execution by processor 2004 .
  • Computer system 2000 also includes a communication interface 2018 coupled to bus 2002 .
  • Communication interface 2018 provides a two-way data communication coupling to a network link 2020 that is connected to a local network 2022 .
  • communication interface 2018 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line.
  • ISDN integrated services digital network
  • communication interface 2018 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN.
  • LAN local area network
  • Wireless links may also be implemented.
  • communication interface 2018 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
  • Network link 2020 typically provides data communication through one or more networks to other data devices.
  • network link 2020 may provide a connection through local network 2022 to a host computer 2024 or to data equipment operated by an Internet Service Provider (ISP) 2026 .
  • ISP 2026 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 2028 .
  • Internet 2028 uses electrical, electromagnetic or optical signals that carry digital data streams.
  • the signals through the various networks and the signals on network link 2020 and through communication interface 2018 which carry the digital data to and from computer system 2000 , are example forms of transmission media.
  • Computer system 2000 can send messages and receive data, including program code, through the network(s), network link 2020 and communication interface 2018 .
  • a server 2030 might transmit a requested code for an application program through Internet 2028 , ISP 2026 , local network 2022 and communication interface 2018 .
  • the received code may be executed by processor 2004 as it is received, and/or stored in storage device 2010 , or other non-volatile storage for later execution.

Abstract

Techniques for repetition detection in media data are provided. Media features of many different types may be extracted from the media data. Query sequences of fingerprints may be selected time intervals that begin at query times. Matched sequences of fingerprints may be determined. A set of offset values may be determined based on the matched sequences of fingerprints. This set of offset values may be further refined into a set of significant time points using a relatively targeted search and comparison method based on the media features of a second type extracted from the media data.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application claims priority to U.S. Patent Provisional Application Nos. 61/428,578, filed 30 Dec. 2010, 61/428,588, filed 30 Dec. 2010, 61/428,554, filed 30 Dec. 2010, and 61/569,591, filed 12 Dec. 2011, hereby incorporated by reference in each entireties.
  • TECHNOLOGY
  • The present invention relates generally to media, and in particular, to detecting the time-wise position of a representative segment in media data.
  • BACKGROUND
  • Media data may comprise representative segments that are capable of making lasting impressions on listeners or viewers. For example, most popular songs follow a specific structure that alternates between a verse section and a chorus section. Usually, the chorus section is the most repeating section in a song and also the “catchy” part of a song. The position of chorus sections typically relates to the underlying song structure, and may be used to facilitate an end-user to browse a song collection.
  • Thus, on the encoding side, the position of a representative segment such as a chorus section may be identified in media data such as a song, and may be associated with the encoded bitstream of the song as metadata. On the decoding side, the metadata enables the end-user to start the playback at the position of the chorus section. When a collection of media data such as a song collection at a store is being browsed, chorus playback facilitates instant recognition and identification of known songs and fast assessment of liking or disliking for unknown songs in a song collection.
  • In a “clustering approach” (or a state approach), a song may be segmented into different sections using clustering techniques. The underlying assumption is that the different sections (such as verse, chorus, etc.) of a song share certain properties that discriminate one section from the other sections or other parts of the song.
  • In a “pattern matching approach” (or a sequence approach), it is assumed that a chorus is a repetitive section in a song. Repetitive sections may be identified by matching different sections of the song with one another.
  • Both “the clustering approach” and “the pattern matching approach” require computing a distance matrix from an input audio clip. In order to do so, the input audio clip is divided into N frames; features are extracted from each of the frames. Then, a distance is computed between every pair of frames among the total number of pairs formed between any two of the N frames of the input audio clip. The derivation of this matrix is computationally expensive and requires high memory usage, because a distance needs to be computed for each and every one of all the combinations (which means an order of magnitude of N×N times, where N is the number of frames in a song or an input audio clip therein).
  • The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, issues identified with respect to one or more approaches should not assume to have been recognized in any prior art on the basis of this section, unless otherwise indicated.
  • BRIEF DESCRIPTION OF DRAWINGS
  • The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
  • FIG. 1 depicts an example basic block diagram of a media processing system, according to possible embodiments of the present invention;
  • FIG. 2 depicts example media data such as a song having an offset between chorus sections, according to possible embodiments of the present invention;
  • FIG. 3 illustrates an example distance matrix, in accordance with possible embodiments of the present invention;
  • FIG. 4 illustrates example generation of a coarse spectrogram, according to possible embodiments of the present invention;
  • FIG. 5 illustrates an example helix of pitches, according to possible embodiments of the present invention;
  • FIG. 6 illustrates an example frequency spectrum, according to possible embodiments of the present invention;
  • FIG. 7 illustrates an example comb pattern to extract an example chroma, according to possible embodiments of the present invention;
  • FIG. 8 illustrates an example operation to multiply a frame's spectrum with a comb pattern, according to possible embodiments of the present invention;
  • FIG. 9 illustrates a first example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention;
  • FIG. 10 illustrates a second example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention;
  • FIG. 11 illustrates a third example weighting matrix relating to a chromagram computed on a restricted frequency range, according to possible embodiments of the present invention;
  • FIG. 12 illustrates an example chromagram plot associated with example media data in the form of a piano signal (with musical notes of gradually increasing octaves) using a perceptually motivated BPF, according to possible embodiments of the present invention;
  • FIG. 13 illustrates an example chromagram plot associated with the piano signal as shown in FIG. 12 but using the Gaussian weighting, according to possible embodiments of the present invention;
  • FIG. 14 illustrates an example detailed block diagram of a media processing system, according to possible embodiments of the present invention;
  • FIG. 15 illustrates example fingerprints comprising a query sequence of fingerprints, according to possible embodiments of the present invention;
  • FIG. 16 illustrates an example histogram of offset values, according to possible embodiments of the present invention;
  • FIG. 17 illustrates an example feature distance matrix (chroma distance matrix), according to possible embodiments of the present invention;
  • FIG. 18 illustrates example chroma distance values for a row of a similarity matrix, smoothed distance values and resulting seed time point for scene change detection, according to possible embodiments of the present invention;
  • FIG. 19A and FIG. 19B illustrate example process flows according to possible embodiments of the present invention; and
  • FIG. 20 illustrates an example hardware platform on which a computer or a computing device as described herein may be implemented, according a possible embodiment of the present invention.
  • DESCRIPTION OF EXAMPLE POSSIBLE EMBODIMENTS
  • Example possible embodiments, which relate to repetition detection in media data, are described herein. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are not described in exhaustive detail, in order to avoid unnecessarily including, obscuring, or obfuscating the present invention.
  • Example embodiments are described herein according to the following outline:
  • 1. GENERAL OVERVIEW
  • 2. FRAMEWORK FOR FEATURE EXTRACTION
  • 3. SPECTRUM BASED FINGERPRINTS
  • 4. CHROMA FEATURES
  • 5. OTHER FEATURES
      • 5.1 MEL-FREQUENCY CEPSTRAL COEFFICIENTS (MFCC)
      • 5.2 RHYTHM FEATURES
  • 6. DETECTION OF REPETITIVE PARTS
      • 6.1. FINGERPRINT MATCHING
      • 6.2. DETECT SIGNIFICANT (CANDIDATE) OFFSETS
      • 6.3. CHROMA DISTANCE ANALYSIS
      • 6.4. COMPUTE SIMILARITY ROWS
  • 7. REFINEMENT USING SCENE CHANGE DETECTION
  • 8. RANKING
  • 9. OTHER APPLICATIONS
  • 10. EXAMPLE PROCESS FLOW
      • 10.1. EXAMPLE REPETITION DETECTION PROCESS FLOW—FINGERPRINT MATCHING AND SEARCHING
      • 10.2. EXAMPLE REPETITION DETECTION PROCESS FLOW—HYBRID APPROACH
  • 11. IMPLEMENTATION MECHANISMS—HARDWARE OVERVIEW
  • 12. EQUIVALENTS, EXTENSIONS, ALTERNATIVES AND MISCELLANEOUS
  • 1. General Overview
  • This overview presents a basic description of some aspects of a possible embodiment of the present invention. It should be noted that this overview is not an extensive or exhaustive summary of aspects of the possible embodiment. Moreover, it should be noted that this overview is not intended to be understood as identifying any particularly significant aspects or elements of the possible embodiment, nor as delineating any scope of the possible embodiment in particular, nor the invention in general. This overview merely presents some concepts that relate to the example possible embodiment in a condensed and simplified format, and should be understood as merely a conceptual prelude to a more detailed description of example possible embodiments that follows below.
  • As described herein, media data may comprise, but are not limited to, one or more of: songs, music compositions, scores, recordings, poems, audiovisual works, movies, or multimedia presentations. In various embodiment, the media data may be derived from one or more of: audio files, media database records, network streaming applications, media applets, media applications, media data bitstreams, media data containers, over-the-air broadcast media signals, storage media, cable signals, or satellite signals.
  • Media features of many different types may be extractable from the media data, capturing structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources of the media data. Features extractable from media data as described herein may relate to any of a multitude of media standards, a tuning system of 12 equal temperaments or a different tuning system other than a tuning system of 12 equal temperaments.
  • One or more of these types of media features may be used to generate a digital representation for the media data. For example, media features of a type that captures tonality, timbre, or both tonality and timbre of the media data may be extracted, and used to generate a full digital representation, for example, in time domain or frequency domain, for the media data. The full digital representation may comprise a total of N frames. Examples of a digital representation may include, but are not limited to, those of fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • Under some techniques, an N×N distance matrix may be calculated to determine whether, and wherein in the media data, a particular segment with certain representative characteristics exists in the media data. Examples of representative characteristics may include, but are not limited to, certain media features such as absence or presence of voice, repetition characteristics such as the most repeated or least repeated, etc.
  • In sharp contrast, under techniques as described herein, the digital representation may be reduced to fingerprints first. As used herein, fingerprints may be of a data volume several magnitudes smaller than that of the digital representation from which the fingerprints were derived and may be efficiently computed, searched, and compared.
  • Under techniques as described herein, a much optimized searching and matching step is used to quickly identify, for a query sequence of fingerprints, a set of offset values (or simply offsets) at which segments with certain representative characteristics are likely to repeat in the media data.
  • In some embodiments, some, or all, of the entire time duration of the media data may be divided into a plurality of time-wise sections each of which begins at a time point. A query sequence at a particular query time point may be formed by the sequence of fingerprints in one of the plurality of sections that begins at the particular time point—which may be called the query time point for the sequence of fingerprints.
  • A dynamic database of fingerprints may be used to store fingerprints of the media data to be compared with the query sequence. In some possible embodiments, the dynamic database of fingerprints is constructed in such a way that the fingerprints in the query sequence and additionally and/or optionally some fingerprints in the vicinity of the query sequence are excluded from the dynamic database.
  • A simple linear search and comparison operation may be used to determine all repeating or similar sequences of fingerprints in the dynamic database relative to the query sequence. These steps of setting a query sequence of fingerprints, constructing a dynamic database of fingerprints, and performing a linear search and comparison operation of the query sequence for similar or matched sequences in the media data may be repeated for all the time points. For each query time point (tq), we record the time point (tm) at which the best matching sequence was found. We compute an offset value equal to (tm−tq) which represents the time difference between the query point and its corresponding matching sequence in the database. As a result, a set of offset values that correspond to each of the query sequences may be established for the media data.
  • From this set of offset values, significant offset values, or a subset of offset values, may be further selected from the set of offset values based on one or more selection criteria. In an example, the one or more selection criteria may be relating to a frequency of occurrences of the offset values. The offset values associated with a frequency of occurrence that exceeds a certain threshold may be included in the subset of offset values—which may be called significant offset values. In some embodiments, the significant offset values may be identified using one or more histograms that represent frequencies of occurrences of the offset values.
  • Under the techniques described herein, feature-based comparisons or distance computations may be performed between features at a time difference equal to the significant offset values only. The whole distance matrix using N frames that cover the entire time duration of the media data as required in the existing techniques may be avoided under techniques as described herein. In some possible embodiment, the feature comparison at the significant offset values may further be performed on a restricted time range comprising time positions of time points (e.g., tm and tq) from fingerprint analysis.
  • In some possible embodiments, the feature-based comparisons or distance computations between features with time difference equal to the significant offset values as described herein may be based on a type of feature that is the same as the type that is used to generate the previously mentioned fingerprints. Alternatively and/or optionally, these feature-based comparisons or distance computations may be based on a type of feature that is NOT the same as the type of feature that was used to generate the previously mentioned fingerprints.
  • In some possible embodiments, the feature-based comparisons or distance computations between features with time difference equal to the significant offset values as described herein may produce similarity or dissimilarity values relating to one or more of Euclidean distances of vectors, mean squared errors, bit error rates, auto-correlation based measures, or Hamming distances. In some possible embodiments, filters may be applied to smooth the similarity or dissimilarity values. Examples of such filters may be, but are not limited to, a Butterworth lowpass filter, a moving average filter, etc.
  • In some possible embodiments, the filtered similarity or dissimilarity values may be used to identify a set of seed time points for each of the significant offset values. A seed time point, for example, may correspond to a local minimum or maximum in the filtered values.
  • Benefits of the present invention include, but are not limited to, identifying a chorus section, or a brief section that may be suitable for replaying or previewing when a large section of songs is being browsed, a ring tone, etc. To play any of one or more representative segments in media data such as a song, the locations of one or more representative segments in the media, for example, may be encoded by a media generator in a media data bitstream in the encoding stage. The media data bitstream may then be decoded by a media data player to recover the locations of the representative segments and to play any of the representative segments.
  • In some possible embodiments, mechanisms as described herein form a part of a media processing system, including but not limited to: a handheld device, game machine, television, laptop computer, netbook computer, cellular radiotelephone, electronic book reader, point of sale terminal, desktop computer, computer workstation, computer kiosk, or various other kinds of terminals and media processing units.
  • Various modifications to the preferred embodiments and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features described herein.
  • 2. Framework for Feature Extraction
  • In some possible embodiments, a media processing system herein may contain four major components as shown in FIG. 1. A feature-extraction component may extract features of various types from media data such as a song. A repetition detection component may find time-wise sections of the media data that are repetitive, for example, based on certain characteristics of the media data such as the melody, harmonies, lyrics, timbre of the song in these sections as represented in the extracted features of the media data.
  • In some possible embodiments, the repetitive segments may be subjected to a refinement procedure performed by a scene change detection component, which finds the correct start and end time points that delineate segments encompassing selected repetitive sections. These correct start and end time points may comprise beginning and ending scene change points of one or more scenes possessing distinct characteristics in the media data. A pair of a beginning scene change point and an ending scene change point may delineate a candidate representative segment.
  • A ranking algorithm performed by a ranking component may be applied for the purpose of selecting a representative segment from all the candidate representative segments. In a particular embodiment, the representative segment selected may be the chorus of the song.
  • In some possible embodiments, a media processing system as described herein may be configured to perform a combination of fingerprint matching and chroma distance analyses.
  • Under the techniques as described herein, the system may operate with high performance at a relatively low complexity to process a large amount of media data. The fingerprint matching enables fast and low-complexity searches for the best matching segments that are repetitive in the media data. In these embodiments, a set of offset values at which repetitions occur is identified. Then, a more accurate chroma distance analysis is applied only at those offsets. Relative to a same time interval of the media data, the chroma distance analysis may be more reliable and accurate than the fingerprint matching analysis but at the expense of higher complexity than that of the fingerprint matching analysis. The advantage of the combined/hybrid approach is that since the chroma distance analysis is only applied to certain offsets in the media data, the computational complexity and memory usage decreases drastically as compared with applying the chroma distance analysis for all possible offsets on the whole time duration of the media data.
  • As mentioned, some repetition detection systems compute a full distance matrix, which contains the distance between each and every one of all combinations formed by any two of all N frames of media data. The computation of the full distance matrix may be computationally expensive and require high memory usage. FIG. 2 depicts example media data such as a song having an offset as shown between the first and second chorus sections. FIG. 3 shows an example distance matrix with two dimensions, time and offset, for distance computation. The offset denotes the time-lag between two frames from which a dissimilarity value (or a distance) relating to a features (or similarity) is computed. Repetitive sections are represented as horizontal dark lines, corresponding to a low distance of a section of successive frames to another section of successive frames that are a certain offset apart.
  • Under techniques as described herein, the computation of a full distance matrix may be avoided. Instead, fingerprint matching data may be analyzed to provide a set of significant offsets at which repetitions occur. Thus, distance computations between chroma features that are separated by an offset value that is not equal to one of the significant offsets can be avoided. In some possible embodiment, the feature comparison at the significant offset values may further be performed on a restricted time range comprising time positions of time points (tm and tq) from fingerprint analysis. As a result, even if a distance matrix is used under techniques as described herein, such a distance matrix may comprise only a few rows and columns for which distances are to be computed, relative to the full distance matrix under other techniques.
  • 3. Spectrum Based Fingerprints
  • The goal of fingerprint extraction is to create a compact bitstream representation that can serve as an identifier for an underlying section of the media data. In general, for the purpose of detecting malicious tempering of media data, fingerprints may be designed in such a way as to possess robustness against a variety of signal processing/manipulation operations including coding, Dynamic Range Compression (DRC), equalization, etc. However, for the purpose of finding repeating sections in media data as described herein, the robustness requirements of fingerprints may be relaxed, since the matching of the fingerprints occurs within the same song. Malicious attacks that must be dealt with by a typical fingerprinting system may be absent or relatively rare in the media data as described herein.
  • Furthermore, fingerprint extraction herein may be based on a coarse spectrogram representation. For example, in embodiments in which the media data is an audio signal, the audio signal may be down-mixed to a mono signal and may additionally and/or optionally be down sampled to 16 kHz. In some embodiments, the media data such as the audio signal may be processed into, but is not limited to, a mono signal, and may further be divided into overlapping chunks. A spectrogram may be created from each of the overlapping chunks. A coarse spectrogram may be created by averaging along both time and frequency. The foregoing operation may provide robustness against relatively small changes in the spectrogram along time and frequency. It should be noted that, in some possible embodiments, the coarse spectrogram herein may also be chosen in a way to emphasize certain parts of a spectrum more than other parts of the spectrum.
  • FIG. 4 illustrates example generation of a coarse spectrogram according to possible embodiments of the present invention. The (input) media data (e.g., a song) is first divided into chunks of duration Tch=2 seconds with a step size of To=16 ms. For each chunk of audio data (Xch), a spectrogram may be computed with a certain time resolution (e.g., 128 samples or 8 ms) and frequency resolution (256-sample FFT). The computed spectrogram S may be tiled with time-frequency blocks. The magnitude of the spectrum within each of the time-frequency blocks may be averaged to obtain a coarse representation Q of the spectrogram S. The coarse representation Q of S may be obtained by averaging the magnitude of frequency coefficients in time-frequency blocks of size Wf×Wt. Here, Wf is the size of block along frequency and Wt is the size of block along time. Let F be the number of blocks along frequency axis and T be the number of blocks along time axis and hence Q is of size (F*T). Q may be computed in expression (1) given below:
  • Q ( k , l ) = 1 W f * W t i = ( k - 1 ) W j k W f j = ( l - 1 ) W t lW t S ( i , j ) k = 1 , 2 F ; l = 1 , 2 T
  • Here, i and j represent the indices of frequency and time in the spectrogram and k and l represent the indices of the time-frequency blocks in which the averaging operation is performed. In some possible embodiments, F may be a positive integer (e.g., 5, 10, 15, 20, etc.), while T may be a positive integer (e.g., 5, 10, 15, 20, etc.).
  • In some possible embodiments, a low-dimensional representation of the coarse representation (Q) of spectrogram of the chunk may be created by projecting the spectrogram onto pseudo-random vectors. The pseudo-random vectors may be thought of as basis vectors. A number K of pseudo-random vectors may be generated, each of which may be with the same dimensions as the matrix Q (F×T). The matrix entries may be uniformly distributed random variables in [0, 1]. The state of the random number generator may be set based on a key. Let the pseudo-random vectors be denoted as P1, P2, . . . , PK, each of dimension (F×T). The mean of each matrix Pi may be computed. Each matrix element in Pi (i goes from 1 to K) may be subtracted with the mean of matrix Pi. Then, the matrix Q may be projected onto these K random vectors as shown below:
  • H k = i = 1 M j = 1 N Q ( i , j ) * P k ( i , j )
  • Here Hk is the projection of the matrix Q onto the random vector Pk. Using the median of these projections (Hk, k=1, 2, . . . K) as a threshold, a number K of hash bits for the matrix Q may be generated. For example, a hash bit ‘1’ may be generated for kth hash bit if the projection Hk is greater than the threshold. Otherwise, a hash bit of ‘0’ if not. In some possible embodiments, K may be a positive integer such as 8, 16, 24, 32, etc. In an example, a fingerprint of 24 hash bits as described herein may be created for every 16 ms of audio data. A sequence of fingerprints comprising these 24-bit codewords may be used as an identifier for that particular chunk of audio that the sequence of fingerprints represents. In a possible embodiment, the complexity of fingerprint extraction as described herein may be about 2.58 MIPS.
  • A coarse representation Q herein has been described as a matrix derived from FFT coefficients. It should be noted that this is for illustration purposes only. Other ways of obtaining a representation in various granularities may be used. For example, different representations derived from fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients, chroma features, or other approaches may be used to derive codewords, hash bits, fingerprints, and sequences of fingerprints for chunks of the media data.
  • 4. Chroma Features
  • A chromagram may be defined as an n-dimensional chroma vector. For example, for media data in a tuning system of 12 equal temperaments, a chromagram may be defined as a 12-dimensional chroma vector in which each dimension corresponds to the intensity (or alternatively magnitude) of a semitone class (chroma). Different dimensionalities of chroma vectors may be defined for other tuning systems. The chromagram may be obtained by mapping and folding an audio spectrum into a single octave. The chroma vector represents a magnitude distribution over chroman that may be discretized into 12 pitch classes within an octave. Chroma vectors capture melodic and harmonic content of an audio signal and may be less sensitive to changes in timbre than the spectrograms as discussed above in connection with fingerprints that were used for determining repetitive or similar sections.
  • Chroma features may be visualized by projecting or folding on a helix of pitches as illustrated in FIG. 5. The term “chroma” refers to the position of a musical pitch within a particular octave; the particular octave may correspond to a cycle of the helix of pitches, as viewed from sideways in FIG. 5. Essentially, a chroma refers to a position on the circumference of the helix as seen from directly above in FIG. 5, without regard to heights of octaves on the helix of FIG. 5. The term “height”, on the other hand, refers to a vertical position on the circumference of the helix as seen from the side in FIG. 5. The vertical position as indicated by a specific height corresponds to a position in a specific octave of the specific height.
  • The presence of a musical note may be associated with the presence of a comb-like pattern in the frequency domain. This pattern may be composed of lobes approximately at the positions corresponding to the multiples of the fundamental frequency of an analyzed tone. These lobes are precisely the information which may be contained in the chroma vectors.
  • In some possible embodiments, the content of the magnitude spectrum at a specific chroma may be filtered out using a band-pass filter (BPF). The magnitude spectrum may be multiplied with a BPF (e.g., with a Hann window function). The center frequencies of the BPF as well as the width may be determined by the specific chroma and a number of height values. The window of the BPF may be centered at a Shepard's frequency as a function of both chroma and height. An independent variable in the magnitude spectrum may be frequency in Hz, which may be converted to cents (e.g., 100 cents equals to a half-tone). The fact that the width of the BPF is chroma specific stems from the fact that musical notes (or chromas as projected onto a particular octave of the helix of FIG. 5) are not linearly spaced in frequency, but logarithmically. Higher pitched notes (or chromas) are further apart from each other in the spectrum than lower pitched notes, so the frequency intervals between notes at higher octaves are wider than those at lower octaves. While the human ear is able to perceive very small differences in pitch at low frequencies, the human ear is only able to perceive relatively significant changes in pitch at high frequencies. For these reasons related to human perception, the BPF may be selected to be of a relatively wide window and of a relatively large magnitude at relatively high frequencies. Thus, in some possible embodiments, these BPF filters may be perceptually motivated.
  • A chromagram may be computed by a short-time-fourier-transformation (STET) with a 4096-sample Hann window. In some possible embodiments, a fast-fourier-transform (FFT) may be used to perform the calculations; a FFT frame may be shifted by 1024 samples, while a discrete time step (e.g., 1 frame shift) may be 46.4 (or simply denoted as 46 herein) milliseconds (ms).
  • First, the frequency spectrum (as illustrated in FIG. 6) of a 46 ms frame may be computed. Second, the presence of a musical note may be associated with a comb pattern in the frequency spectrum, composed of lobes located at the positions of the various octaves of the given note. The comb pattern may be used to extract, e.g., a chroma D as shown in FIG. 7. The peaks of the comb pattern may be at 147, 294, 588, 1175, 2350, and 4699 Hz.
  • Third, to extract the chroma D from a given frame of a song, the frame's spectrum may be multiplied with the above comb pattern. The result of the multiplication is illustrated in FIG. 8, and represents all the spectral content needed for the calculation of the chroma D in the chroma vector of this frame. The magnitude of this element is then simply a summation of the spectrum along the frequency axis.
  • Fourth, to calculate the remaining 11 chromas the system herein may generate the appropriate comb patterns for each of the chromas, and the same process is repeated on the original spectrum.
  • In some possible embodiments, a chromagram may be computed using Gaussian weighting (on a log-frequency axis; which may, but is not limited to, be normalized). The Gaussian weighting may be centered at a log-frequency point, denoted as a center frequency “f_ctr”, on the log-frequency axis. The center frequency “f_ctr” may be set to a value of ctroct. (in units of octaves or cents/1200, with the referential origin at A0), which corresponds to a frequency of 27.5*(2̂ctroct) in units of Hz. The Gaussian weighting may be set with a Gaussian half-width of f_sd, which may be set to a value of octwidth in units of octaves. For example, the magnitude of the Gaussian weighting drops to exp(−0.5) at a factor of 2̂octwidth above and below the center frequency f_ctr. In other words, in some possible embodiments, instead of using individual perceptually motivated BPFs as previously described, a single Gaussian weighting filter may be used.
  • Thus, for ctroct=5.0 and octwidth=1.0, the peak of the Gaussian weighting is at 880 Hz, and the weighting falls to approximately 0.6 at 440 Hz and 1760 Hz. In various possible embodiments, the parameters of the Gaussian weighting may be preset, and additionally and/or optionally, configurable by a user manually and/or by a system automatically. In some possible embodiments, a default setting of ctroct=5.1844 (which gives f_ctr=1000 Hz) and octwidth=1 may be present or configured. Thus, the peak of the Gaussian weighting for this example default setting is at 1000 Hz, and the weighting falls to approximately 0.6 at 500 and 2000 Hz.
  • Thus, in these embodiments, the chromagram herein may be computed on a rather restricted frequency range. This can be seen from the plots of a corresponding weighting matrix as illustrated in FIG. 9. If the f_sd of the Gaussian weighting is increased to 2 in units of octaves, the spread of the weighting for the Gaussian weighting is also increased. The plot of a corresponding weighting matrix looks as shown in FIG. 10. As a comparison, the weighting matrix looks as shown in FIG. 11 when operating with an f_sd having a value of 3 to 8 octaves.
  • FIG. 12 illustrates an example chromagram plot associated with example media data in the form of a piano signal (with musical notes of gradually increasing octaves) using a perceptually motivated BPF. In comparison, FIG. 13 illustrates an example chromagram plot associates with the same piano signal using the Gaussian weighting. The framing and shift is chosen to be exactly same for the purposes of making comparison between the two chromagram plots.
  • The patterns in both chromagram plots look similar. A perceptually motivated band-pass filter may provide better energy concentration and separation. This is visible for the lower notes, where the notes in the chromagram plot generated by the Gaussian weighting look hazier. While the different BPFs may impact chord recognition applications differently, a perceptually motivated filter brings little added benefits for segment (e.g., chorus) extraction.
  • In some possible embodiments, the chromagram and fingerprint extraction as described herein may operate on media data in the form of a 16-kHz sampled audio signal. Chromagram may be computed with STFT with a 3200-sample Hann window using FFT. A FFT frame may be shifted by 800 samples with a discrete time step (e.g., 1 frame shift) of 50 ms. It should be noted that other sampled audio signals may be processed by techniques herein. Furthermore, for the purpose of the present invention, a chromagram computed with a different transform, a different filter, a different window function, a different number of samples, a different frame shift, etc. is also within the scope of the present invention.
  • 5. Other Features
  • Techniques herein may use various features that are extracted from the media data such as MFCC, rhythm features, and energy described in this section. As previously noted, some, or all, of extracted features as described herein may also be applied to scene change detection. Additionally and/or optionally, some, or all, of these features may also be used by the ranking component as described herein.
  • 5.1 Mel-Frequency Cepstral Coefficients (MFCC)
  • Mel-frequency Cepstral coefficients (MFCCs) aim at providing a compact representation of the spectral envelope of an audio signal. The MFCC features may provide a good description of the timbre and may also be used in musical applications of the techniques as described herein.
  • 5.2 Rhythm Features
  • Some algorithmic details of computing the rhythmic features may be found in Hollosi, D., Biswas, A., “Complexity Scalable Perceptual Tempo Estimation from HE-AAC Encoded Music,” in 128th AES Convention, London, UK, 22-25 May 2010, the entire contents of which is hereby incorporated by reference as if fully set forth herein. In some possible embodiments, perceptual tempo estimation from HE-AAC encoded music may be carried out based on modulation frequency. Techniques herein may include a perceptual tempo correction stage in which rhythmic features are used to correct octave errors. An example procedure for computing the rhythmic features may be described as follows.
  • In the first step, a power spectrum is calculated; a Mel-Scale transformation is then performed. This step accounts for the non-linear frequency perception of the human auditory system while reducing the number of spectral values to only a few Mel-Bands. Further reduction of the number of bands is achieved by applying a non-linear companding function, such that higher Mel-bands are mapped into single bands under the assumption that most of the rhythm information in the music signal is located in lower frequency regions. This step shares the Mel filter-bank used in the MFCC computation.
  • In the second step, a modulation spectrum is computed. This step extracts rhythm information from media data as described herein. The rhythm may be indicated by peaks at certain modulation frequencies in the modulation spectrum. In an example embodiment, to compute the modulation spectrum, the companded Mel power spectra may be segmented into time-wise chunks of 6 s length with certain overlap over the time axis. The length of the time-wise chunks may be chosen from a trade-off between costs and benefits involving computational complexity to capture the “long-time rhythmic characteristics” of an audio signal. Subsequently, an FFT may be applied along the time-axis to obtain a joint-frequency (modulation spectrum: x-axis—modulation frequency and y-axis—companded Mel-bands) representation for each 6 s chunk. By weighting the modulation spectrum along the modulation frequency axis with a perceptual weighting function obtained from analysis of large music datasets, very high and very low modulation frequencies may be suppressed (such that meaningful values for the perceptual tempo correction stage may be selected).
  • In the third step, the rhythmic features may then be extracted from the modulation spectrum. The rhythmic features that may be beneficial for scene-change detection are: rhythm strength, rhythm regularity, and bass-ness. Rhythm strength may be defined as the maximum of the modulation spectrum after summation over companded Mel-bands. Rhythm regularity may be defined as the mean of the modulation spectrum after normalization to one. Bass-ness may be defined as the sum of the values in the two lowest companded Mel-bands with a modulation frequency higher than one (1) Hz.
  • 6. Detection of Repetitive Parts
  • In some possible embodiments, repetition detection (or detection of repetitive parts) as described herein may be based on both fingerprints and chroma features. In some possible embodiments, initially, fingerprint queries using a tree-based search may be performed, identifying the best match for each segment of the audio signal thereby giving rise to one or more best matches. Subsequently, the data from the best matches may be used to determine offset values where repetitions occur and the corresponding rows of a chroma distance matrix are computed and further analyzed. FIG. 14 depicts an example detailed block diagram of the system, and illustrates how the extracted features are processed to detect the repetitive sections.
  • 6.1. Fingerprint Matching
  • In some possible embodiments, using techniques as described herein, the fingerprint matching block of FIG. 14 may quickly identify offset values or time lags at which repeating segments appear in media data such as an input song. In a possible embodiment, as illustrated in FIG. 15, for every 0.64 s time increment (which begins at a start time point=0 initially and thereafter increments by 0.64 s) of the song, a sequence of 488 24-bit fingerprint codewords corresponding to an 8 s time interval (beginning at the start time point of each 0.64 s increment) of the song may be used as a query sequence of fingerprints. A matching algorithm may be used to find the best match for this query sequence comprising a number of fingerprint bits (e.g., 488 24-bit fingerprint codewords) in the rest of fingerprint bits (corresponding to the remaining time duration excluding the query sequence of fingerprints) of the song.
  • More specifically, in some possible embodiments, at a start time point (e.g., t=0, 0.64 s, 1.28 s, . . . etc.), a query sequence of fingerprint codewords covering an 8 s interval (which starts from, e.g., t=0, 0.64 s, 1.28 s, . . . , etc.) of the song may be used to interrogate the rest of fingerprints in a dynamic database of fingerprints. The best matching sequence of bits may be found from this dynamic database of fingerprint bits that stores the remaining fingerprint bits of the song excluding certain portions of fingerprints of the song. An optimization may be made to increase the robustness in that the dynamic database of fingerprints may exclude a portion of fingerprints that corresponds to a certain time interval from the (current) start time point of the query sequence. This optimization can be applied when the assumption can be made that the segment to be detected is repeated after a certain minimum offset. The optimization avoids the detection of repetitions that occur with smaller offsets (e.g., musical patterns repeat with only a few seconds offset). For example, an optimization may be made so that the dynamic database of fingerprints may exclude a portion of fingerprints that corresponds to a (˜20 s) 19.2 s time interval from the (current) start time point of the query sequence. When the next start time point, t=0.64 s, is set to be the current start time point, the fingerprints corresponding to 0.64 s to 8.64 s of the song may be used as a query. The dynamic database of fingerprints may now exclude the time interval of the song corresponding to (0.64 s to 19.84 s). In some possible embodiments, the portion of fingerprints corresponding to the time interval between the previous start time point and the current start time point (e.g., 0 to 0.64 s) may be added to the dynamic database of fingerprints. At each current start time point, the dynamic database is thus updated and a search is performed to find the best matching sequence of bits for a query sequence of fingerprint bits starting from the current start time point. For each search, the following two results may be recorded:
      • the offset at which the best matching section is found; and
      • the hamming distance between the query sequence and the best matching section from the dynamic database.
  • In some possible embodiments, a search relating to a query sequence of fingerprints as described herein may be performed efficiently using a 256-ary tree data structure and may be able to find approximate nearest neighbors in high-dimensional binary spaces. The search may also be performed using other approximate nearest neighbor search algorithms such as LSH (Locality Sensitive Hashing), minHash, etc.
  • 6.2. Detect Significant (Candidate) Offsets
  • The fingerprint matching block of FIG. 14 returns the offset value of the best-matching segment in a song for every 0.64 s increment in the song. In some possible embodiments, the detect-significant-offsets block of FIG. 14 may be configured to determine a number of significant values by computing a histogram based on all offset values obtained in the fingerprint matching block of FIG. 14. FIG. 16 shows an example histogram of offset values. The significant offset values may be selected offset values for which there are a significant number of matches. The significant offset values may manifest as peaks in the histogram. In some possible embodiments, significant offset values are offset values with a significant number of matches. Peak detection may be based on adaptive threshold in the histogram; offset values comprising peaks above the threshold may be identified significant offset values. In some embodiments, neighboring (e.g., within a window of ˜1 s) significant offsets may be merged.
  • 6.3. Chroma Distance Analysis
  • Once a number of significant offset values at which repetitive elements or sections in the media data (such as a song occur) is determined, these selected offset values may be used to compute selective rows of a feature distance matrix (e.g., features relating to structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources of corresponding sections in the media data) as follows:

  • D(i,o k)=d(f(i),f(i+o k))
  • Here f(i) represents a feature vector for media data frame i and d( ) is a distance measure used to compare two feature vectors. Here ok is the kth significant offset value. The computation of D( ) may be made for all N media frames against each of the selected offset value ok. The number of selected offset values ok is associated with how frequent a representative segment repeats in the media data, and may not vary with how many (e.g., the number N) media frames one chooses to cover the media data. Thus, the complexity of computing D( ) for all the selected offset values ok against all the N media frames under the techniques herein is O(N). In comparison, the complexity of a full N×N distance matrix computation under other techniques would be O(N2). Additionally, the feature distance matrix under techniques described herein is much smaller than a full N×N distance matrix, requiring much less memory space to perform the computation.
  • In some embodiments, the features used to compute the feature distance matrix may be, but are not limited to, one or more of the following:
  • features that represent timbre (e.g., MFCC);
  • features that represent melody (e.g., chromagrams);
  • features that represent rhythm; or
  • fingerprints derived from the song during matching.
  • In some possible embodiments, techniques described herein use one or more suitable distance measures to compare the selected features for the feature distance matrix. In an example, if the system herein may use fingerprints to represent a selected media data frame i (which may be a frame at or near a significant offset time point), then a Hamming distance may be used as a distance measure to compute corresponding fingerprints in the selected media data frame i and a media data frame at an offset time point away.
  • In another example, in some possible embodiments, if a 12-dimensional chroma vector is used as a feature vector to compute the feature-distance matrix as described herein, then the feature distance may be determined as follows:
  • D ( i , o k ) = d ( c _ ( i ) , c _ ( i + o k ) ) = c _ ( i ) max ( c _ ( i ) ) - c _ ( i + o k ) max ( c _ ( i + o k ) ) 12
  • Where c(i) denotes the 12 dimensional chroma vector for frame i, and d( ) is a selected distance measure. The computed feature distance matrix (chroma distance matrix) is shown in FIG. 17.
  • 6.4. Compute Similarity Rows
  • In some possible embodiments, the resulting chroma distance (feature-distance) values may then be smoothed by the compute-similarity-row block of FIG. 14 with a filter such as a moving average filter of a certain time-wise length, e.g., 15 seconds. In some possible embodiments, the position of the minimum distance of the smoothed signal may be found as follows:
  • s ( o k ) = argmin over i ( D ( i , o k ) )
  • The finding of the position of the minimum distance of the smoothed signal corresponds in this example to the detection of the position of the media segment of length 15 seconds that is most similar to another media segment of 15 seconds. The two resulting best matching segments are spaced with a given offset ok. The position s may be used in the next stage of processing as a seed for the scene change detection. FIG. 18 shows example chroma distance values for a row of the similarity matrix, the smoothed distance and the resulting seed point for the scene change detection.
  • 7. Refinement Using Scene Change Detection
  • In some possible embodiments, a position in media data such as a song, after having been identified by a feature distance analysis such as a chroma distance analysis as the most likely inside a candidate representative segment with certain media characteristics may be used as a seed time point for scene change detection. Examples of media characteristics for the candidate representative segment may be repetition characteristics possessed by the candidate representative segment in order for the segment to be considered as a candidate for the chorus of the song; the repetition characteristics, for example, may be determined by the selective computations of the distance matrix as described above.
  • In some possible embodiments, the scene change detection block of FIG. 14 may be configured in a system herein to identify two scene changes (e.g., in audio) in the vicinity of the seed time point:
      • a beginning scene change point to the left of the seed time point corresponding to the beginning of the representative segment;
      • an ending scene change point to the right of the seed time point corresponding to the end of the representative segment.
    8. Ranking
  • The ranking component of FIG. 14 may be given several candidate representative segments for possessing certain media characteristics (e.g., the chorus) as input signals and may select one of the candidate representative segments as the output of the signal, regarded as the representative segment (e.g., a detected chorus section). All candidates representative segments may be defined or delimited by their beginning and ending scene change points (e.g., as a result from the scene change detection described herein).
  • 9. Other Applications
  • Techniques as described herein may be used to detect chorus segments from music files. However, in general the techniques as described herein are useful in detecting any repeating segment in any audio file.
  • 10. Example Process Flow
  • FIG. 19A and FIG. 19B illustrate example process flows according to possible embodiments of the present invention. In some possible embodiments, one or more computing devices or components in a media processing system may perform one or more of these process flows.
  • 10.1. Example Repetition Detection Process Flow—Fingerprint Matching and Searching
  • FIG. 19A illustrates an example repetition detection process flow using fingerprints. In block 1902, a media processing system extracts a set of fingerprints from media data (e.g., a song).
  • In block 1904, the media processing system selects, based on the set of fingerprints, a set of query sequences of fingerprints. Each individual query sequence of fingerprints in the set of query sequences may comprise a reduced representation of the media data for a time interval that begins at a query time.
  • In block 1906, the media processing system determines a set of matched sequences of fingerprints for the set of query sequences of fingerprints. As used herein, matched sequences include sequences of fingerprints that are similar to a query sequence of fingerprints based on distance-measure based values such as hamming distances. Each individual query sequence in the set of query sequences may correspond to zero or more matched sequences of fingerprints in the set of matched sequences of fingerprints.
  • In block 1908, the media processing system identifies a set of offset values based on the time position of the best matching sequence for each of the query sequences.
  • In some possible embodiments, the set of fingerprints as described herein may be generated by reducing a digital representation of the media data to a reduced dimension binary representation of the media data. The digital representation may relate to one or more of fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • In some possible embodiments, fingerprints herein may be simple to extract in relation to robust fingerprints required for detecting malicious attacks.
  • In some possible embodiments, to determine the set of matched sequences of fingerprints for the set of query sequences of fingerprints, the media processing system may search, in a dynamically constructed database of fingerprints, for matched sequences of fingerprints that match a query sequence of fingerprints.
  • In some possible embodiments, the query sequence of fingerprints begins at a specific query time, whereas the dynamically constructed database of fingerprints excludes one or more portions of fingerprints that are within one or more configurable time windows relative to the specific query time.
  • In some possible embodiments, to identify a set of offset values based on the set of query sequences and the set of matched sequences, the media processing system uses one or more of histograms constructed from the set of query sequences and the set of matched sequences to determine the set of significant offset values.
  • 10.2. Example Repetition Detection Process Flow—Hybrid Approach
  • FIG. 19B illustrates an example repetition detection process flow with a hybrid approach. In block 1912, a media processing system locates a subset of offset values in a set of offset values in media data using a first type of one or more types of features extractable from the media data (e.g., using fingerprint search and matching as described herein). The subset of offset values comprises time difference values selected from the set of offset values based on one or more selection criteria (e.g., using one or more dimensional histograms).
  • In block 1914, the media processing system identifies a set of candidate seed time points based on analysis at the subset of offset values using a second type (e.g., using selective row computation of a feature-distance matrix such as a chroma distance matrix) of the one or more types of features.
  • In some possible embodiments, one or more first features for the first feature type are extracted from the media data. First distance values for a first repetition detection measure (e.g., Hamming distances between bit values of sequences of fingerprints) based on the one or more first features may be computed (e.g., in a sub-process of fingerprint search and matching). The first distance values for the first repetition detection measure may be applied to locate the subset of offset values (e.g., in the sub-process of fingerprint search and matching).
  • In some possible embodiments, one or more second features for the second feature type are extracted from the media data. Second distance values for a second repetition detection measure (e.g., chroma distance values in selective rows of a chroma distance matrix) based on the one or more second features may be computed. The second distance values for the second repetition detection measure may be applied to identify the set of candidate seed time points.
  • In some possible embodiments, at least one of the first repetition detection measure and the second repetition detection measure relates to a measure of similarity or dissimilarity as one or more of: Euclidean distances of vectors, vector norms, mean squared errors, bit error rates, auto-correlation based measures, Hamming distances, similarity, or dissimilarity.
  • In some possible embodiments, the first values and the second values comprise one or more normalized values.
  • In some possible embodiments, at least one of the one or more types of features herein is used in part to form a digital representation of the media data. For example, the digital representation of the media data may comprise a fingerprint-based reduced dimension binary representation of the media data.
  • In some possible embodiments, at least one of the one or more types of features comprises a type of features that captures structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources as related to the media data.
  • In some possible embodiments, the features extractable from the media data are used to provide one or more digital representations of the media data based on one or more of: chroma, chroma difference, fingerprints, Mel-Frequency Cepstral Coefficient (MFCC), chroma-based fingerprints, rhythm pattern, energy, or other variants.
  • In some possible embodiments, the features extractable from the media data are used to provide one or more digital representations relates to one or more of: fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
  • In some possible embodiments, the one or more first features of the first feature type and the one or more second features of the second feature type relate to a same time interval of the media data.
  • In some possible embodiments, the one or more first features of the first feature type are used for feature comparison for all offsets of the media data, while the one or more second features of the second feature type are used for a comparison of features for a certain subset of offsets of the media data. In some possible embodiments, the one or more first features of the first feature type form a representation of the media data for a first time interval of the media data, while the one or more second features of the second feature type forms a representation of the media data for a second different time interval of the media data. In an example, the first time interval is larger than the second different time interval of the media data. In another example, the first time interval covers a complete time length of the media data, while the second time interval covers one or more time portions of the media data within the complete time length of the media data.
  • In some possible embodiments, extracting one or more first features (e.g., fingerprints) of the first feature type is simple in relation to extracting one or more second features (e.g., chroma features) of the second feature type, from a same portion of the media data.
  • As used herein, the media data may comprise one or more of: songs, music compositions, scores, recordings, poems, audiovisual works, movies, or multimedia presentations. The media data may be derived from one or more of: audio files, media database records, network streaming applications, media applets, media applications, media data bitstreams, media data containers, over-the-air broadcast media signals, storage media, cable signals, or satellite signals.
  • As used herein, the stereo mix may comprise one or more stereo parameters of the media data. In some possible embodiments, at least one of the one or more stereo parameters relates to: Coherence, Inter-channel Cross-Correlation (ICC), Inter-channel Level Difference (CLD), Inter-channel Phase Difference (IPD), or Channel Prediction Coefficients (CPC).
  • In some possible embodiments, the media processing system applies one or more filters to distance values calculated at a certain offset. The media processing system identifies, based on the filtered values, a set of seed time points for scene change detection.
  • The one or more filters herein may comprise a moving average filter. In some possible embodiments, at least one seed time point in the plurality of seed time points corresponds to a local minimum in the filtered values. In some possible embodiments, at least one seed time point in the plurality of seed time points corresponds to a local maximum in the filtered values. In some possible embodiments, at least one seed time point in the plurality of seed time points corresponds to a specific intermediate value in the statistical values. In some possible embodiments, at least one seed point in the plurality of seed time points may be chosen based on energy values. For instance, the temporal location of the loudest 15 s segment may serve as a seed time point for chorus segment detection.
  • In some embodiments in which chroma features are used in techniques herein, the chroma features may be extracted using one or more window functions. These window functions may be, but are not limited to, musically motivated, perceptually motivated, etc.
  • As used herein, the features extractable from the media data may or may not relate to a tuning system of 12 equal temperaments.
  • 11. Implementation Mechanisms—Hardware Overview
  • According to one embodiment, the techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, or FPGAs with custom programming to accomplish the techniques. The special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and/or program logic to implement the techniques.
  • For example, FIG. 20 is a block diagram that illustrates a computer system 2000 upon which an embodiment of the invention may be implemented. Computer system 2000 includes a bus 2002 or other communication mechanism for communicating information, and a hardware processor 2004 coupled with bus 2002 for processing information. Hardware processor 2004 may be, for example, a general purpose microprocessor.
  • Computer system 2000 also includes a main memory 2006, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 2002 for storing information and instructions to be executed by processor 2004. Main memory 2006 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 2004. Such instructions, when stored in storage media accessible to processor 2004, render computer system 2000 into a special-purpose machine that is customized to perform the operations specified in the instructions.
  • Computer system 2000 further includes a read only memory (ROM) 2008 or other static storage device coupled to bus 2002 for storing static information and instructions for processor 2004. A storage device 2010, such as a magnetic disk or optical disk, is provided and coupled to bus 2002 for storing information and instructions.
  • Computer system 2000 may be coupled via bus 2002 to a display 2012 for displaying information to a computer user. An input device 2014, including alphanumeric and other keys, is coupled to bus 2002 for communicating information and command selections to processor 2004. Another type of user input device is cursor control 2016, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 2004 and for controlling cursor movement on display 2012. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane. Computer system 2000 may be used to control the display system (e.g., 100 in FIG. 1).
  • Computer system 2000 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 2000 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 2000 in response to processor 2004 executing one or more sequences of one or more instructions contained in main memory 2006. Such instructions may be read into main memory 2006 from another storage medium, such as storage device 2010. Execution of the sequences of instructions contained in main memory 2006 causes processor 2004 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
  • The term “storage media” as used herein refers to any media that store data and/or instructions that cause a machine to operation in a specific fashion. Such storage media may comprise non-volatile media and/or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 2010. Volatile media includes dynamic memory, such as main memory 2006. Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge.
  • Storage media is distinct from but may be used in conjunction with transmission media. Transmission media participates in transferring information between storage media. For example, transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 2002. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
  • Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 2004 for execution. For example, the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 2000 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 2002. Bus 2002 carries the data to main memory 2006, from which processor 2004 retrieves and executes the instructions. The instructions received by main memory 2006 may optionally be stored on storage device 2010 either before or after execution by processor 2004.
  • Computer system 2000 also includes a communication interface 2018 coupled to bus 2002. Communication interface 2018 provides a two-way data communication coupling to a network link 2020 that is connected to a local network 2022. For example, communication interface 2018 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 2018 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 2018 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
  • Network link 2020 typically provides data communication through one or more networks to other data devices. For example, network link 2020 may provide a connection through local network 2022 to a host computer 2024 or to data equipment operated by an Internet Service Provider (ISP) 2026. ISP 2026 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 2028. Local network 2022 and Internet 2028 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 2020 and through communication interface 2018, which carry the digital data to and from computer system 2000, are example forms of transmission media.
  • Computer system 2000 can send messages and receive data, including program code, through the network(s), network link 2020 and communication interface 2018. In the Internet example, a server 2030 might transmit a requested code for an application program through Internet 2028, ISP 2026, local network 2022 and communication interface 2018. The received code may be executed by processor 2004 as it is received, and/or stored in storage device 2010, or other non-volatile storage for later execution.
  • 12. Equivalents, Extensions, Alternatives and Miscellaneous
  • In the foregoing specification, possible embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indicator of what is the invention, and is intended by the applicants to be the invention, is the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. Hence, no limitation, element, property, feature, advantage or attribute that is not expressly recited in a claim should limit the scope of such claim in any way. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (22)

1-38. (canceled)
39. A method for repetition detecting in media data, comprising:
extracting, from the media data, a set of fingerprints;
selecting, based on the set of fingerprints, a set of query sequences of fingerprints, each individual query sequence of fingerprints in the set of query sequences comprises a reduced representation of the media data for a time interval that begins at a query time;
determining a set of matched sequences of fingerprints for the set of query sequences of fingerprints, each individual query sequence in the set of query sequences corresponds to zero or more matched sequences of fingerprints in the set of matched sequences of fingerprints;
identifying a set of offset values based on the set of query sequences and the set of matched sequences;
wherein the method is performed by one or more computing devices.
40. The method of claim 39, further comprising generating the set of fingerprints by reducing a digital representation of the media data to a reduced dimension binary representation of the media data, wherein the digital representation relates to one or more of: fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), chroma features, or wavelet coefficients.
41. The method of claim 39, wherein a fingerprint in the set of fingerprints is simple to extract in relation to a fingerprint that is robust for detecting malicious attacks.
42. The method of claim 39, wherein determining a set of matched sequences of fingerprints for the set of query sequences of fingerprints comprises searching, in a dynamically constructed database of fingerprints, for matched sequences of fingerprints that match a query sequence of fingerprints.
43. The method of claim 39, wherein identifying a set of offset values based on the set of query sequences and the set of matched sequences comprises using one or more of histograms constructed from the set of query sequences and the set of matched sequences to determine the set of significant offset values.
44. A method for repetition detection in media data, comprising:
identifying a subset of offset values in a set of offset values in media data using a first type of one or more types of features extractable from the media data, the subset of offset values selected from the set of offset values based on one or more selection criteria;
identifying a set of candidate seed time points based on the subset of offset values using a second type of the one or more types of features;
wherein the method is performed by one or more computing devices.
45. The method of claim 44, further comprising:
extracting, from the media data, one or more first features for the first feature type;
computing first distance values for a first repetition detection measure based on the one or more first features;
applying the first distance values for the first repetition detection measure to identify the subset of offset values;
extracting, from the media data, one or more second features for the second feature type;
computing second distance values for a second repetition detection measure based on the one or more second features;
applying the second distance values for the second repetition detection measure to identify the set of candidate seed time points.
46. The method of claim 45, wherein the first values and the second values comprise one or more normalized values.
47. The method of claim 45, wherein at least one of the one or more types of features comprises a type of features that captures structural properties, tonality including harmony and melody, timbre, rhythm, loudness, stereo mix, or a quantity of sound sources as related to the media data.
48. The method of claim 45, wherein the features extractable from the media data are used to provide one or more digital representations of the media data based on one or more of: chroma, chroma difference, differential chroma features, fingerprints, Mel-Frequency Cepstral Coefficient (MFCC), chroma-based fingerprints, rhythm pattern, energy, or other variants.
49. The method of claim 45, wherein the features extractable from the media data are used to provide one or more digital representations relates to one or more of: fast Fourier transforms (FFTs), digital Fourier transforms (DFTs), short time Fourier transforms (STFTs), Modified Discrete Cosine Transforms (MDCTs), Modified Discrete Sine Transforms (MDSTs), Quadrature Mirror Filters (QMFs), Complex QMFs (CQMFs), discrete wavelet transforms (DWTs), or wavelet coefficients.
50. The method of claim 45, wherein the one or more first features of the first feature type and the one or more second features of the second feature type relate to a same time interval of the media data.
51. The method of claim 45, wherein the one or more first features of the first feature type form a representation of the media data for a first time interval of the media data, while the one or more second features of the second feature type forms a representation of the media data for a second different time interval of the media data.
52. The method of claim 45, wherein the set of offset values is identified by computing distance values for the one or more first features of the first type; and wherein the subset of offset values is identified from the set of offset values by computing a histogram of the offset values.
53. The method of claim 45, wherein extracting the one or more first features of the first feature type is simple in relation to extracting the one or more second features of the second feature type, from a same portion of the media data.
54. The method of claim 45, wherein computing distance values for the one or more first features of the first feature type is simple in relation to computing distance values for the one or more second features of the second feature type, from a same portion of the media data.
55. The method of claim 45, wherein the media data comprises one or more of: songs, music compositions, scores, recordings, poems, audiovisual works, movies, or multimedia presentations.
56. The method of claim 45, further comprising deriving the media data from one or more of: audio files, media database records, network streaming applications, media applets, media applications, media data bitstreams, media data containers, over-the-air broadcast media signals, storage media, cable signals, or satellite signals.
57. The method of claim 54, wherein the media data bitstreams comprise one or more of: Advanced Audio Coding (AAC) bitstreams, High-Efficiency AAC bitstreams, MPEG-1/2 Audio Layer 3 (MP3) bitstreams, Dolby Digital (AC3) bitstreams, Dolby Digital Plus bitstreams, Dolby Pulse bitstreams, or Dolby TrueHD bitstreams.
58. The method of claim 44, further comprising:
applying one or more filters to distance values at one or more offsets;
identifying, based on the filtered values, a set of seed time points for scene change detection.
59. The method of claim 44, further comprising:
applying one or more filters to distance values at one or more time intervals for one or more offsets;
identifying, based on the filtered values, a set of seed time points for scene change detection.
US13/997,847 2010-12-30 2011-12-15 Repetition Detection in Media Data Abandoned US20130275421A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/997,847 US20130275421A1 (en) 2010-12-30 2011-12-15 Repetition Detection in Media Data

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US201061428578P 2010-12-30 2010-12-30
US201061428588P 2010-12-30 2010-12-30
US201061428554P 2010-12-30 2010-12-30
US201161569591P 2011-12-12 2011-12-12
PCT/US2011/065080 WO2012091935A1 (en) 2010-12-30 2011-12-15 Repetition detection in media data
US13/997,847 US20130275421A1 (en) 2010-12-30 2011-12-15 Repetition Detection in Media Data

Publications (1)

Publication Number Publication Date
US20130275421A1 true US20130275421A1 (en) 2013-10-17

Family

ID=45446233

Family Applications (3)

Application Number Title Priority Date Filing Date
US13/997,866 Expired - Fee Related US9313593B2 (en) 2010-12-30 2011-12-15 Ranking representative segments in media data
US13/997,847 Abandoned US20130275421A1 (en) 2010-12-30 2011-12-15 Repetition Detection in Media Data
US13/997,860 Expired - Fee Related US9317561B2 (en) 2010-12-30 2011-12-15 Scene change detection around a set of seed points in media data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US13/997,866 Expired - Fee Related US9313593B2 (en) 2010-12-30 2011-12-15 Ranking representative segments in media data

Family Applications After (1)

Application Number Title Priority Date Filing Date
US13/997,860 Expired - Fee Related US9317561B2 (en) 2010-12-30 2011-12-15 Scene change detection around a set of seed points in media data

Country Status (3)

Country Link
US (3) US9313593B2 (en)
EP (4) EP2793223B1 (en)
WO (3) WO2012091936A1 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130192445A1 (en) * 2011-07-27 2013-08-01 Yamaha Corporation Music analysis apparatus
US20130318071A1 (en) * 2012-05-23 2013-11-28 Enswers Co., Ltd. Apparatus and Method for Recognizing Content Using Audio Signal
US8805865B2 (en) * 2012-10-15 2014-08-12 Juked, Inc. Efficient matching of data
US20140260913A1 (en) * 2013-03-15 2014-09-18 Exomens Ltd. System and method for analysis and creation of music
US20150128788A1 (en) * 2013-11-14 2015-05-14 tuneSplice LLC Method, device and system for automatically adjusting a duration of a song
US9263013B2 (en) * 2014-04-30 2016-02-16 Skiptune, LLC Systems and methods for analyzing melodies
CN105931634A (en) * 2016-06-15 2016-09-07 腾讯科技(深圳)有限公司 Audio screening method and device
US9672800B2 (en) * 2015-09-30 2017-06-06 Apple Inc. Automatic composer
US9804818B2 (en) 2015-09-30 2017-10-31 Apple Inc. Musical analysis platform
US9824719B2 (en) 2015-09-30 2017-11-21 Apple Inc. Automatic music recording and authoring tool
US9852721B2 (en) 2015-09-30 2017-12-26 Apple Inc. Musical analysis platform
US9990911B1 (en) * 2017-05-04 2018-06-05 Buzzmuisq Inc. Method for creating preview track and apparatus using the same
US10074350B2 (en) * 2015-11-23 2018-09-11 Adobe Systems Incorporated Intuitive music visualization using efficient structural segmentation
US10629173B2 (en) * 2016-03-30 2020-04-21 Pioneer DJ Coporation Musical piece development analysis device, musical piece development analysis method and musical piece development analysis program
US10936651B2 (en) * 2016-06-22 2021-03-02 Gracenote, Inc. Matching audio fingerprints
US11024274B1 (en) * 2020-01-28 2021-06-01 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments
US20210335333A1 (en) * 2019-09-24 2021-10-28 Secret Chord Laboratories, Inc. Computing orders of modeled expectation across features of media
US20220309116A1 (en) * 2019-06-27 2022-09-29 Serendipity AI Limited Determining Similarity Between Documents
US11954148B2 (en) 2016-06-22 2024-04-09 Gracenote, Inc. Matching audio fingerprints

Families Citing this family (78)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8805854B2 (en) * 2009-06-23 2014-08-12 Gracenote, Inc. Methods and apparatus for determining a mood profile associated with media data
JP5454317B2 (en) * 2010-04-07 2014-03-26 ヤマハ株式会社 Acoustic analyzer
EP2793223B1 (en) * 2010-12-30 2016-05-25 Dolby International AB Ranking representative segments in media data
EP2659483B1 (en) 2010-12-30 2015-11-25 Dolby International AB Song transition effects for browsing
US9557885B2 (en) 2011-08-09 2017-01-31 Gopro, Inc. Digital media editing
US9384272B2 (en) 2011-10-05 2016-07-05 The Trustees Of Columbia University In The City Of New York Methods, systems, and media for identifying similar songs using jumpcodes
CN103999150B (en) * 2011-12-12 2016-10-19 杜比实验室特许公司 Low complex degree duplicate detection in media data
US20130226957A1 (en) * 2012-02-27 2013-08-29 The Trustees Of Columbia University In The City Of New York Methods, Systems, and Media for Identifying Similar Songs Using Two-Dimensional Fourier Transform Magnitudes
WO2013157354A1 (en) * 2012-04-18 2013-10-24 オリンパス株式会社 Image processing device, program, and image processing method
KR101456926B1 (en) * 2013-06-14 2014-10-31 (주)엔써즈 System and method for detecting advertisement based on fingerprint
US20150161198A1 (en) * 2013-12-05 2015-06-11 Sony Corporation Computer ecosystem with automatically curated content using searchable hierarchical tags
US9141292B2 (en) 2014-01-03 2015-09-22 Smart High Reliability Solutions Llc Enhanced interface to firmware operating in a solid state drive
US8935463B1 (en) * 2014-01-03 2015-01-13 Fastor Systems, Inc. Compute engine in a smart SSD exploiting locality of data
GB2522644A (en) * 2014-01-31 2015-08-05 Nokia Technologies Oy Audio signal analysis
US9652667B2 (en) 2014-03-04 2017-05-16 Gopro, Inc. Automatic generation of video from spherical content using audio/visual analysis
NL2012567B1 (en) * 2014-04-04 2016-03-08 Teletrax B V Method and device for generating improved fingerprints.
US9685194B2 (en) 2014-07-23 2017-06-20 Gopro, Inc. Voice-based video tagging
US9792502B2 (en) 2014-07-23 2017-10-17 Gopro, Inc. Generating video summaries for a video using video summary templates
US9734870B2 (en) 2015-01-05 2017-08-15 Gopro, Inc. Media identifier generation for camera-captured media
US10460745B2 (en) * 2015-01-15 2019-10-29 Huawei Technologies Co., Ltd. Audio content segmentation method and apparatus
US9679605B2 (en) 2015-01-29 2017-06-13 Gopro, Inc. Variable playback speed template for video editing application
US11120816B2 (en) 2015-02-01 2021-09-14 Board Of Regents, The University Of Texas System Natural ear
US9773426B2 (en) * 2015-02-01 2017-09-26 Board Of Regents, The University Of Texas System Apparatus and method to facilitate singing intended notes
WO2016178686A1 (en) * 2015-05-07 2016-11-10 Hewlett Packard Enterprise Development Lp Information content of a data container
US10025786B2 (en) * 2015-05-19 2018-07-17 Spotify Ab Extracting an excerpt from a media object
US10186012B2 (en) 2015-05-20 2019-01-22 Gopro, Inc. Virtual lens simulation for video and photo cropping
US9894393B2 (en) 2015-08-31 2018-02-13 Gopro, Inc. Video encoding for reduced streaming latency
CN105208039B (en) * 2015-10-10 2018-06-08 广州华多网络科技有限公司 The method and system of online concert cantata
US9721611B2 (en) 2015-10-20 2017-08-01 Gopro, Inc. System and method of generating video from video clips based on moments of interest within the video clips
US10204273B2 (en) 2015-10-20 2019-02-12 Gopro, Inc. System and method of providing recommendations of moments of interest within video clips post capture
US10095696B1 (en) 2016-01-04 2018-10-09 Gopro, Inc. Systems and methods for generating recommendations of post-capture users to edit digital media content field
US10109319B2 (en) 2016-01-08 2018-10-23 Gopro, Inc. Digital media editing
US10083537B1 (en) 2016-02-04 2018-09-25 Gopro, Inc. Systems and methods for adding a moving visual element to a video
US10037750B2 (en) * 2016-02-17 2018-07-31 RMXHTZ, Inc. Systems and methods for analyzing components of audio tracks
US9911055B2 (en) * 2016-03-08 2018-03-06 Conduent Business Services, Llc Method and system for detection and classification of license plates
US9972066B1 (en) 2016-03-16 2018-05-15 Gopro, Inc. Systems and methods for providing variable image projection for spherical visual content
US10402938B1 (en) 2016-03-31 2019-09-03 Gopro, Inc. Systems and methods for modifying image distortion (curvature) for viewing distance in post capture
US9838731B1 (en) 2016-04-07 2017-12-05 Gopro, Inc. Systems and methods for audio track selection in video editing with audio mixing option
US9838730B1 (en) 2016-04-07 2017-12-05 Gopro, Inc. Systems and methods for audio track selection in video editing
US9794632B1 (en) 2016-04-07 2017-10-17 Gopro, Inc. Systems and methods for synchronization based on audio track changes in video editing
US9998769B1 (en) 2016-06-15 2018-06-12 Gopro, Inc. Systems and methods for transcoding media files
US10250894B1 (en) 2016-06-15 2019-04-02 Gopro, Inc. Systems and methods for providing transcoded portions of a video
US9922682B1 (en) 2016-06-15 2018-03-20 Gopro, Inc. Systems and methods for organizing video files
US10045120B2 (en) 2016-06-20 2018-08-07 Gopro, Inc. Associating audio with three-dimensional objects in videos
US10185891B1 (en) 2016-07-08 2019-01-22 Gopro, Inc. Systems and methods for compact convolutional neural networks
US10469909B1 (en) 2016-07-14 2019-11-05 Gopro, Inc. Systems and methods for providing access to still images derived from a video
US10395119B1 (en) 2016-08-10 2019-08-27 Gopro, Inc. Systems and methods for determining activities performed during video capture
US9836853B1 (en) 2016-09-06 2017-12-05 Gopro, Inc. Three-dimensional convolutional neural networks for video highlight detection
US10282632B1 (en) 2016-09-21 2019-05-07 Gopro, Inc. Systems and methods for determining a sample frame order for analyzing a video
US10268898B1 (en) 2016-09-21 2019-04-23 Gopro, Inc. Systems and methods for determining a sample frame order for analyzing a video via segments
US10002641B1 (en) 2016-10-17 2018-06-19 Gopro, Inc. Systems and methods for determining highlight segment sets
US10284809B1 (en) 2016-11-07 2019-05-07 Gopro, Inc. Systems and methods for intelligently synchronizing events in visual content with musical features in audio content
US10262639B1 (en) 2016-11-08 2019-04-16 Gopro, Inc. Systems and methods for detecting musical features in audio content
CN106782601B (en) * 2016-12-01 2019-12-13 腾讯音乐娱乐(深圳)有限公司 multimedia data processing method and device
US10534966B1 (en) 2017-02-02 2020-01-14 Gopro, Inc. Systems and methods for identifying activities and/or events represented in a video
US10339443B1 (en) 2017-02-24 2019-07-02 Gopro, Inc. Systems and methods for processing convolutional neural network operations using textures
US10127943B1 (en) 2017-03-02 2018-11-13 Gopro, Inc. Systems and methods for modifying videos based on music
US10185895B1 (en) 2017-03-23 2019-01-22 Gopro, Inc. Systems and methods for classifying activities captured within images
US10083718B1 (en) 2017-03-24 2018-09-25 Gopro, Inc. Systems and methods for editing videos based on motion
US10187690B1 (en) 2017-04-24 2019-01-22 Gopro, Inc. Systems and methods to detect and correlate user responses to media content
US10395122B1 (en) 2017-05-12 2019-08-27 Gopro, Inc. Systems and methods for identifying moments in videos
GB2562515A (en) * 2017-05-17 2018-11-21 Snell Advanced Media Ltd Generation of audio or video hash
US10402698B1 (en) 2017-07-10 2019-09-03 Gopro, Inc. Systems and methods for identifying interesting moments within videos
US10614114B1 (en) 2017-07-10 2020-04-07 Gopro, Inc. Systems and methods for creating compilations based on hierarchical clustering
US10402656B1 (en) 2017-07-13 2019-09-03 Gopro, Inc. Systems and methods for accelerating video analysis
CN108335703B (en) * 2018-03-28 2020-10-09 腾讯音乐娱乐科技(深圳)有限公司 Method and apparatus for determining accent position of audio data
ES2901638T3 (en) * 2018-05-17 2022-03-23 Fraunhofer Ges Forschung Device and method for detecting partial concordances between a first time-varying signal and a second time-varying signal
CN109063599B (en) * 2018-07-13 2020-11-03 北京大学 Method for measuring distance between pulse array signals
US10923111B1 (en) * 2019-03-28 2021-02-16 Amazon Technologies, Inc. Speech detection and speech recognition
CN110058694B (en) * 2019-04-24 2022-03-25 腾讯科技(深圳)有限公司 Sight tracking model training method, sight tracking method and sight tracking device
CN109979265B (en) * 2019-04-28 2020-11-13 广州世祥教育科技有限公司 Motion capture intelligent recognition method and teaching system
JP7176114B2 (en) * 2019-06-17 2022-11-21 AlphaTheta株式会社 MUSIC ANALYSIS DEVICE, PROGRAM AND MUSIC ANALYSIS METHOD
US10929677B1 (en) * 2019-08-07 2021-02-23 Zerofox, Inc. Methods and systems for detecting deepfakes
US20210081807A1 (en) * 2019-09-17 2021-03-18 Sap Se Non-Interactive Private Decision Tree Evaluation
US11727327B2 (en) * 2019-09-30 2023-08-15 Oracle International Corporation Method and system for multistage candidate ranking
CN110808065A (en) * 2019-10-28 2020-02-18 北京达佳互联信息技术有限公司 Method and device for detecting refrain, electronic equipment and storage medium
US11604622B1 (en) * 2020-06-01 2023-03-14 Meta Platforms, Inc. Selecting audio clips for inclusion in content items
GB2615321A (en) * 2022-02-02 2023-08-09 Altered States Tech Ltd Methods and systems for analysing an audio track

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739398A (en) * 1986-05-02 1988-04-19 Control Data Corporation Method, apparatus and system for recognizing broadcast segments
US6366296B1 (en) * 1998-09-11 2002-04-02 Xerox Corporation Media browser using multimodal analysis
US20020083060A1 (en) * 2000-07-31 2002-06-27 Wang Avery Li-Chun System and methods for recognizing sound and music signals in high noise and distortion
US20050044561A1 (en) * 2003-08-20 2005-02-24 Gotuit Audio, Inc. Methods and apparatus for identifying program segments by detecting duplicate signal patterns
US20050065976A1 (en) * 2003-09-23 2005-03-24 Frode Holm Audio fingerprinting system and method
US20050091062A1 (en) * 2003-10-24 2005-04-28 Burges Christopher J.C. Systems and methods for generating audio thumbnails
US20060212704A1 (en) * 2005-03-15 2006-09-21 Microsoft Corporation Forensic for fingerprint detection in multimedia
US20060251321A1 (en) * 2005-05-04 2006-11-09 Arben Kryeziu Compression and decompression of media data
US20060271947A1 (en) * 2005-05-23 2006-11-30 Lienhart Rainer W Creating fingerprints
US20070058949A1 (en) * 2005-09-15 2007-03-15 Hamzy Mark J Synching a recording time of a program to the actual program broadcast time for the program
US20080104246A1 (en) * 2006-10-31 2008-05-01 Hingi Ltd. Method and apparatus for tagging content data
US20090063277A1 (en) * 2007-08-31 2009-03-05 Dolby Laboratiories Licensing Corp. Associating information with a portion of media content
US20090277322A1 (en) * 2008-05-07 2009-11-12 Microsoft Corporation Scalable Music Recommendation by Search
US20120029670A1 (en) * 2010-07-29 2012-02-02 Soundhound, Inc. System and methods for continuous audio matching
US20120095958A1 (en) * 2008-06-18 2012-04-19 Zeitera, Llc Distributed and Tiered Architecture for Content Search and Content Monitoring

Family Cites Families (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185527B1 (en) * 1999-01-19 2001-02-06 International Business Machines Corporation System and method for automatic audio content analysis for word spotting, indexing, classification and retrieval
US6751354B2 (en) * 1999-03-11 2004-06-15 Fuji Xerox Co., Ltd Methods and apparatuses for video segmentation, classification, and retrieval using image class statistical models
US6829604B1 (en) 1999-10-19 2004-12-07 Eclipsys Corporation Rules analyzer system and method for evaluating and ranking exact and probabilistic search rules in an enterprise database
US7065544B2 (en) 2001-11-29 2006-06-20 Hewlett-Packard Development Company, L.P. System and method for detecting repetitions in a multimedia stream
US7024033B2 (en) * 2001-12-08 2006-04-04 Microsoft Corp. Method for boosting the performance of machine-learning classifiers
US6933432B2 (en) 2002-03-28 2005-08-23 Koninklijke Philips Electronics N.V. Media player with “DJ” mode
US7333864B1 (en) 2002-06-01 2008-02-19 Microsoft Corporation System and method for automatic segmentation and identification of repeating objects from an audio stream
US7251648B2 (en) * 2002-06-28 2007-07-31 Microsoft Corporation Automatically ranking answers to database queries
US7179982B2 (en) 2002-10-24 2007-02-20 National Institute Of Advanced Industrial Science And Technology Musical composition reproduction method and device, and method for detecting a representative motif section in musical composition data
EP1576491A4 (en) 2002-11-28 2009-03-18 Agency Science Tech & Res Summarizing digital audio data
US8688248B2 (en) * 2004-04-19 2014-04-01 Shazam Investments Limited Method and system for content sampling and identification
US7409407B2 (en) 2004-05-07 2008-08-05 Mitsubishi Electric Research Laboratories, Inc. Multimedia event detection and summarization
US20060080356A1 (en) 2004-10-13 2006-04-13 Microsoft Corporation System and method for inferring similarities between media objects
US20060276174A1 (en) 2005-04-29 2006-12-07 Eyal Katz Method and an apparatus for provisioning content data
JP4841553B2 (en) 2005-08-17 2011-12-21 パナソニック株式会社 Video scene classification apparatus, video scene classification method, program, recording medium, integrated circuit, and server-client system
JP2009510658A (en) 2005-09-30 2009-03-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and apparatus for processing audio for playback
JP4465626B2 (en) 2005-11-08 2010-05-19 ソニー株式会社 Information processing apparatus and method, and program
AU2006320693B2 (en) * 2005-11-29 2012-03-01 Google Inc. Social and interactive applications for mass media
KR100774585B1 (en) 2006-02-10 2007-11-09 삼성전자주식회사 Mehtod and apparatus for music retrieval using modulation spectrum
KR100766170B1 (en) 2006-03-17 2007-10-10 한국정보통신대학교 산학협력단 Music summarization apparatus and method using multi-level vector quantization
US8378964B2 (en) 2006-04-13 2013-02-19 Immersion Corporation System and method for automatically producing haptic events from a digital audio signal
US7921116B2 (en) 2006-06-16 2011-04-05 Microsoft Corporation Highly meaningful multimedia metadata creation and associations
US7831531B1 (en) 2006-06-22 2010-11-09 Google Inc. Approximate hashing functions for finding similar content
US8019593B2 (en) 2006-06-30 2011-09-13 Robert Bosch Corporation Method and apparatus for generating features through logical and functional operations
EP2126833A2 (en) 2006-11-30 2009-12-02 Dolby Laboratories Licensing Corporation Extracting features of video&audio signal content to provide reliable identification of the signals
US7888582B2 (en) 2007-02-08 2011-02-15 Kaleidescape, Inc. Sound sequences with transitions and playlists
US7659471B2 (en) 2007-03-28 2010-02-09 Nokia Corporation System and method for music data repetition functionality
JP5273042B2 (en) * 2007-05-25 2013-08-28 日本電気株式会社 Image sound section group association apparatus, method, and program
EP2168061A1 (en) * 2007-06-06 2010-03-31 Dolby Laboratories Licensing Corporation Improving audio/video fingerprint search accuracy using multiple search combining
US8208643B2 (en) * 2007-06-29 2012-06-26 Tong Zhang Generating music thumbnails and identifying related song structure
US8269093B2 (en) 2007-08-21 2012-09-18 Apple Inc. Method for creating a beat-synchronized media mix
CN101855635B (en) 2007-10-05 2013-02-27 杜比实验室特许公司 Media fingerprints that reliably correspond to media content
CN101159834B (en) 2007-10-25 2012-01-11 中国科学院计算技术研究所 Method and system for detecting repeatable video and audio program fragment
JP5115966B2 (en) 2007-11-16 2013-01-09 独立行政法人産業技術総合研究所 Music retrieval system and method and program thereof
US8579632B2 (en) * 2008-02-14 2013-11-12 Infomotion Sports Technologies, Inc. Electronic analysis of athletic performance
WO2009101703A1 (en) * 2008-02-15 2009-08-20 Pioneer Corporation Music composition data analyzing device, musical instrument type detection device, music composition data analyzing method, musical instrument type detection device, music composition data analyzing program, and musical instrument type detection program
JP4973537B2 (en) 2008-02-19 2012-07-11 ヤマハ株式会社 Sound processing apparatus and program
EP2096626A1 (en) * 2008-02-29 2009-09-02 Sony Corporation Method for visualizing audio data
TW201003421A (en) 2008-04-28 2010-01-16 Alexandria Invest Res And Technology Llc Adaptive knowledge platform
US8015132B2 (en) 2008-05-16 2011-09-06 Samsung Electronics Co., Ltd. System and method for object detection and classification with multiple threshold adaptive boosting
WO2010022303A1 (en) 2008-08-22 2010-02-25 Dolby Laboratories Licensing Corporation Content identification and quality monitoring
US8571255B2 (en) 2009-01-07 2013-10-29 Dolby Laboratories Licensing Corporation Scalable media fingerprint extraction
US8635211B2 (en) 2009-06-11 2014-01-21 Dolby Laboratories Licensing Corporation Trend analysis in content identification based on fingerprinting
JP2011071962A (en) * 2009-08-28 2011-04-07 Sanyo Electric Co Ltd Imaging apparatus and playback apparatus
US20110112672A1 (en) 2009-11-11 2011-05-12 Fried Green Apps Systems and Methods of Constructing a Library of Audio Segments of a Song and an Interface for Generating a User-Defined Rendition of the Song
US20110126103A1 (en) * 2009-11-24 2011-05-26 Tunewiki Ltd. Method and system for a "karaoke collage"
JP5454317B2 (en) 2010-04-07 2014-03-26 ヤマハ株式会社 Acoustic analyzer
EP2793223B1 (en) 2010-12-30 2016-05-25 Dolby International AB Ranking representative segments in media data
US9756353B2 (en) 2012-01-09 2017-09-05 Dolby Laboratories Licensing Corporation Hybrid reference picture reconstruction method for single and multiple layered video coding systems

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739398A (en) * 1986-05-02 1988-04-19 Control Data Corporation Method, apparatus and system for recognizing broadcast segments
US6366296B1 (en) * 1998-09-11 2002-04-02 Xerox Corporation Media browser using multimodal analysis
US20020083060A1 (en) * 2000-07-31 2002-06-27 Wang Avery Li-Chun System and methods for recognizing sound and music signals in high noise and distortion
US20050044561A1 (en) * 2003-08-20 2005-02-24 Gotuit Audio, Inc. Methods and apparatus for identifying program segments by detecting duplicate signal patterns
US20050065976A1 (en) * 2003-09-23 2005-03-24 Frode Holm Audio fingerprinting system and method
US20050091062A1 (en) * 2003-10-24 2005-04-28 Burges Christopher J.C. Systems and methods for generating audio thumbnails
US20060212704A1 (en) * 2005-03-15 2006-09-21 Microsoft Corporation Forensic for fingerprint detection in multimedia
US20060251321A1 (en) * 2005-05-04 2006-11-09 Arben Kryeziu Compression and decompression of media data
US20060271947A1 (en) * 2005-05-23 2006-11-30 Lienhart Rainer W Creating fingerprints
US20070058949A1 (en) * 2005-09-15 2007-03-15 Hamzy Mark J Synching a recording time of a program to the actual program broadcast time for the program
US20080104246A1 (en) * 2006-10-31 2008-05-01 Hingi Ltd. Method and apparatus for tagging content data
US20090063277A1 (en) * 2007-08-31 2009-03-05 Dolby Laboratiories Licensing Corp. Associating information with a portion of media content
US20090277322A1 (en) * 2008-05-07 2009-11-12 Microsoft Corporation Scalable Music Recommendation by Search
US20120095958A1 (en) * 2008-06-18 2012-04-19 Zeitera, Llc Distributed and Tiered Architecture for Content Search and Content Monitoring
US20120029670A1 (en) * 2010-07-29 2012-02-02 Soundhound, Inc. System and methods for continuous audio matching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Internet Archive; https://web.archive.org/web/20100213041408/http://en.wikipedia.org/wiki/Fingerprint_(computing); Fingerprint (Computing); February 2010; Pgs. 1-3 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9024169B2 (en) * 2011-07-27 2015-05-05 Yamaha Corporation Music analysis apparatus
US20130192445A1 (en) * 2011-07-27 2013-08-01 Yamaha Corporation Music analysis apparatus
US20130318071A1 (en) * 2012-05-23 2013-11-28 Enswers Co., Ltd. Apparatus and Method for Recognizing Content Using Audio Signal
US8886635B2 (en) * 2012-05-23 2014-11-11 Enswers Co., Ltd. Apparatus and method for recognizing content using audio signal
US8805865B2 (en) * 2012-10-15 2014-08-12 Juked, Inc. Efficient matching of data
US20140330854A1 (en) * 2012-10-15 2014-11-06 Juked, Inc. Efficient matching of data
US20140260913A1 (en) * 2013-03-15 2014-09-18 Exomens Ltd. System and method for analysis and creation of music
US9183821B2 (en) * 2013-03-15 2015-11-10 Exomens System and method for analysis and creation of music
US20150128788A1 (en) * 2013-11-14 2015-05-14 tuneSplice LLC Method, device and system for automatically adjusting a duration of a song
US9613605B2 (en) * 2013-11-14 2017-04-04 Tunesplice, Llc Method, device and system for automatically adjusting a duration of a song
US9263013B2 (en) * 2014-04-30 2016-02-16 Skiptune, LLC Systems and methods for analyzing melodies
US20160098978A1 (en) * 2014-04-30 2016-04-07 Skiptune, LLC Systems and methods for analyzing melodies
US9454948B2 (en) * 2014-04-30 2016-09-27 Skiptune, LLC Systems and methods for analyzing melodies
US9824719B2 (en) 2015-09-30 2017-11-21 Apple Inc. Automatic music recording and authoring tool
US9804818B2 (en) 2015-09-30 2017-10-31 Apple Inc. Musical analysis platform
US9852721B2 (en) 2015-09-30 2017-12-26 Apple Inc. Musical analysis platform
US9672800B2 (en) * 2015-09-30 2017-06-06 Apple Inc. Automatic composer
US10074350B2 (en) * 2015-11-23 2018-09-11 Adobe Systems Incorporated Intuitive music visualization using efficient structural segmentation
US10446123B2 (en) 2015-11-23 2019-10-15 Adobe Inc. Intuitive music visualization using efficient structural segmentation
US10629173B2 (en) * 2016-03-30 2020-04-21 Pioneer DJ Coporation Musical piece development analysis device, musical piece development analysis method and musical piece development analysis program
CN105931634A (en) * 2016-06-15 2016-09-07 腾讯科技(深圳)有限公司 Audio screening method and device
US11954148B2 (en) 2016-06-22 2024-04-09 Gracenote, Inc. Matching audio fingerprints
US10936651B2 (en) * 2016-06-22 2021-03-02 Gracenote, Inc. Matching audio fingerprints
US9990911B1 (en) * 2017-05-04 2018-06-05 Buzzmuisq Inc. Method for creating preview track and apparatus using the same
US20220309116A1 (en) * 2019-06-27 2022-09-29 Serendipity AI Limited Determining Similarity Between Documents
US11636167B2 (en) * 2019-06-27 2023-04-25 Serendipity AI Limited Determining similarity between documents
US20210335333A1 (en) * 2019-09-24 2021-10-28 Secret Chord Laboratories, Inc. Computing orders of modeled expectation across features of media
US20210287642A1 (en) * 2020-01-28 2021-09-16 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments
US11551651B2 (en) * 2020-01-28 2023-01-10 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments
US20230141326A1 (en) * 2020-01-28 2023-05-11 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments
US11869466B2 (en) * 2020-01-28 2024-01-09 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments
US11024274B1 (en) * 2020-01-28 2021-06-01 Obeebo Labs Ltd. Systems, devices, and methods for segmenting a musical composition into musical segments

Also Published As

Publication number Publication date
EP2793223A1 (en) 2014-10-22
US9317561B2 (en) 2016-04-19
WO2012091938A1 (en) 2012-07-05
US9313593B2 (en) 2016-04-12
EP2659481B1 (en) 2016-07-27
WO2012091935A9 (en) 2013-09-26
EP2793223B1 (en) 2016-05-25
EP2659482B1 (en) 2015-12-09
EP2659481A1 (en) 2013-11-06
EP2659480B1 (en) 2016-07-27
WO2012091936A1 (en) 2012-07-05
US20130289756A1 (en) 2013-10-31
EP2659482A1 (en) 2013-11-06
EP2659480A1 (en) 2013-11-06
US20130287214A1 (en) 2013-10-31
WO2012091935A1 (en) 2012-07-05

Similar Documents

Publication Publication Date Title
EP2659480B1 (en) Repetition detection in media data
EP2791935B1 (en) Low complexity repetition detection in media data
EP2494544B1 (en) Complexity scalable perceptual tempo estimation
Mitrović et al. Features for content-based audio retrieval
Salamon et al. Tonal representations for music retrieval: from version identification to query-by-humming
JP5362178B2 (en) Extracting and matching characteristic fingerprints from audio signals
US9384272B2 (en) Methods, systems, and media for identifying similar songs using jumpcodes
US20130226957A1 (en) Methods, Systems, and Media for Identifying Similar Songs Using Two-Dimensional Fourier Transform Magnitudes
JP5907511B2 (en) System and method for audio media recognition
US20080072741A1 (en) Methods and Systems for Identifying Similar Songs
WO2015114216A2 (en) Audio signal analysis
US20180173400A1 (en) Media Content Selection
Nam et al. Intelligent query by humming system based on score level fusion of multiple classifiers
Valero-Mas et al. Analyzing the influence of pitch quantization and note segmentation on singing voice alignment in the context of audio-based Query-by-Humming
Rho et al. M-MUSICS: an intelligent mobile music retrieval system
Kumar et al. Features for comparing tune similarity of songs across different languages
Ghouti et al. A fingerprinting system for musical content
CN117807564A (en) Infringement identification method, device, equipment and medium for audio data
Yu et al. Towards a Fast and Efficient Match Algorithm for Content-Based Music Retrieval on Acoustic Data.
Tsai Audio Hashprints: Theory & Application
Nagavi et al. Enhanced perceptual feature space with context drift information for query by humming system

Legal Events

Date Code Title Description
AS Assignment

Owner name: DOLBY LABORATORIES LICENSING CORPORATION, CALIFORN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:RESCH, BARBARA;RADHAKRISHNAN, REGUNATHAN;BISWAS, ARIJIT;AND OTHERS;SIGNING DATES FROM 20110901 TO 20110906;REEL/FRAME:030691/0326

Owner name: DOLBY INTERNATIONAL AB, NETHERLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:RESCH, BARBARA;RADHAKRISHNAN, REGUNATHAN;BISWAS, ARIJIT;AND OTHERS;SIGNING DATES FROM 20110901 TO 20110906;REEL/FRAME:030691/0326

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION