[go: up one dir, main page]

WO2006039992A1 - Extraction d'une melodie sous-jacente a un signal audio - Google Patents

Extraction d'une melodie sous-jacente a un signal audio Download PDF

Info

Publication number
WO2006039992A1
WO2006039992A1 PCT/EP2005/010325 EP2005010325W WO2006039992A1 WO 2006039992 A1 WO2006039992 A1 WO 2006039992A1 EP 2005010325 W EP2005010325 W EP 2005010325W WO 2006039992 A1 WO2006039992 A1 WO 2006039992A1
Authority
WO
WIPO (PCT)
Prior art keywords
spectral
time
segment
melody
predetermined
Prior art date
Application number
PCT/EP2005/010325
Other languages
German (de)
English (en)
Inventor
Frank Streitenberger
Martin Weis
Claas Derboven
Markus Cremer
Original Assignee
Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
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 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. filed Critical Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
Priority to EP05793771A priority Critical patent/EP1787283A1/fr
Priority to JP2007536025A priority patent/JP2008516288A/ja
Publication of WO2006039992A1 publication Critical patent/WO2006039992A1/fr

Links

Classifications

    • 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
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K15/00Acoustics not otherwise provided for
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • 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/066Musical 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 pitch analysis as part of wider processing for musical purposes, e.g. transcription, musical performance evaluation; Pitch recognition, e.g. in polyphonic sounds; Estimation or use of missing fundamental
    • 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/086Musical 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 transcription of raw audio or music data to a displayed or printed staff representation or to displayable MIDI-like note-oriented data, e.g. in pianoroll format

Definitions

  • the present invention relates to the extraction of a melody underlying an audio signal.
  • Such extraction may be used, for example, to obtain a transcribed representation of a melody underlying a monophonic or polyphonic audio signal, which may also be in an analog form or in a digital sampled form.
  • melody extractions for example, enable the generation of ringtones for mobile phones from any audio signal, e.g. Singing, humming, whistling or the like.
  • characteristic features are extracted from the audio signal to compare the same with corresponding features of pre-stored tunes, and then select as the generated tune that among the pre-stored ones giving the best match.
  • this approach inherently limits melody recognition to the pre-stored set of tunes.
  • Klapuri AP: Signal Processing Methods for the Automatic Transcription of Music, Tampere University of Technology, Summary Diss., December 2003, and Klapuri, AP, Signal Processing Methods for the Automatic Transcription of Music, Tampere University of Technology, Diss.
  • Such a robust System could provide a high time and cost savings in "query by huming" systems, ie in systems where a user is able to find songs by pre-sums in a database, as an automatic transcription for the system database reference files
  • a robust transcription could, of course, also be used as a recording fron d and it would also be possible to use automatic transcription as a supplement to an audio ID system, that is, a system that recognizes audio files on a fingerprint contained in them because if not recognized by the audio ID system, such as due to a missing fingerprint, automatic transcription could alternatively be used to evaluate an incoming audio file.
  • Stably functioning automatic transcription would also allow for the production of similarity relationships associated with other musical features, e.g. Key, harmony and rhythm, such as for a "recomandation engine” or "suggestion engine”.
  • a stable automatic transcription could create new views and lead to a re-examination of judgments on older music.
  • automatic transcription that is stable in use could be used.
  • melody recognition or auto-transcription is not limited to the generation of ringtones for mobile phones mentioned above, but can generally serve as a support for musicians and those interested in music.
  • the object of the present invention is to provide a more stable melody recognition scheme which works correctly for a wider variety of audio signals.
  • a melody line extending through the time / spectral representation is first of all determined by virtue of the fact that each time segment or frame - in a clear manner - has exactly one spectral component or a frequency bin is assigned to the time / spectral representation, namely, according to a specific embodiment, that which leads to the sound result with the maximum intensity at that frame.
  • the above musicological statement that the main melody is that portion of a piece of music that the person perceives most loudly and succinctly is taken into account in two ways. Namely, according to this embodiment, the time / spectral representation or spectrogram of an audio signal of interest is scaled using the equal volume curves reflecting human volume perception to determine the melody of the audio signal based on the resulting perceptual time / spectral representation , More specifically, according to this embodiment, the spectrogram of the audio signal is first logarithmized, so that the logarithmized spectral values indicate the sound pressure level. Subsequently, the logarithmized spectral values of the logarithmic _ _
  • Spectrographs are mapped to perceptual spectral values, depending on their respective value and the spectral component to which they belong. Functions are used that represent the curves of equal volume as sound pressure as a function of spectral components or as a function of the frequency and are assigned to different volumes.
  • the perceptual spectrum is delogarithmized to produce a time / sound spectrum from the result by forming sums of delogarithmized perceptual spectral values per frame for predetermined spectral components. These sums comprise the delogarithmized perceptual spectral value at the respective spectral component as well as the delogarithmized perceptual spectral values at the spectral components which form an overtone to the respective spectral component.
  • the time / sound spectrum thus obtained represents a version of the time / spectral representation derived therefrom.
  • Fig. 1 is a block diagram of an apparatus for generating a polyphonic melody
  • FIG. 2 is a flow chart illustrating the operation of the extractor of the apparatus of FIG. 1;
  • Fig. 3 is a more detailed flow chart illustrating the operation of the extractor of the apparatus of Fig. 1 in the case of a polyphonic audio input signal;
  • FIG. 4 shows an exemplary example of a time / spectral representation or a spectrogram of a - -
  • Audio signal as might occur in the frequency analysis in Fig. 3;
  • Fig. 5 is a logarithmic spectrogram, as shown by the logarithm of Fig. 3;
  • Fig. 6 is a diagram with the curves of equal volume, as the evaluation of the spectrum in Fig. 3 to
  • Fig. 7 is a graph of an audio signal used before the actual logarithm in Fig. 3 to obtain a reference value for logarithmization;
  • FIG. 8 shows a perceptual spectrogram as obtained after the evaluation of the spectrogram of FIG. 5 in FIG.
  • FIG. 9 is the melody line resulting from the perceptual spectrum of FIG. 8 through the melody line determination of FIG. 3, plotted in the time / spectral domain;
  • FIG. 10 is a flow chart illustrating the general segmentation of FIG. 3; FIG.
  • Fig. 11 is a schematic representation of an exemplary
  • FIG. 12 is a schematic representation of a section of the melody line progression diagram of FIG. 11, for illustrating the mode of operation of the filtering in the general segmentation of FIG. 10;
  • FIG. 12 is a schematic representation of a section of the melody line progression diagram of FIG. 11, for illustrating the mode of operation of the filtering in the general segmentation of FIG. 10;
  • Fig. 13 is the melody line progression of Fig. 9 after the frequency domain confinement in the general segmentation of Fig. 10; - -
  • Fig. 14 is a schematic drawing, in which a section of a melody line is shown, for
  • Fig. 15 is a schematic drawing of a section of a melody line to illustrate the mode of operation of the segmentation in the general
  • FIG. 16 is a flowchart for illustrating the
  • Fig. 17 is a schematic drawing for illustrating the procedure for setting the variable
  • Fig. 18 is a schematic drawing for illustrating the gap closing of Fig. 16;
  • FIG. 19 is a flow chart illustrating the harmony mapping in FIG. 3; FIG.
  • FIG. 20 shows a schematic representation of a detail from the melody line progression for illustrating the mode of action of the harmoniemappings according to FIG. 19;
  • FIG. 21 is a flowchart illustrating the vibration detection and the vibrator compensation in FIG. 3;
  • FIG. 22 shows a schematic representation of a segment profile for illustrating the procedure according to FIG. 21;
  • FIG. 23 shows a schematic illustration of a detail from the melody line progression in order to illustrate the procedure for the statistical correction in FIG. 3;
  • FIG. 24 is a flow chart illustrating the procedure of onset detection and correction in FIG. 3; FIG.
  • Fig. 25 is a graph showing an exemplary filter transfer function for use in onset detection of Fig. 24;
  • FIG. 26 is a schematic diagram of a two-way rectified filtered audio signal and the envelope thereof as used for onset detection and correction in FIG. 24;
  • FIG. 26 is a schematic diagram of a two-way rectified filtered audio signal and the envelope thereof as used for onset detection and correction in FIG. 24;
  • FIG. 27 is a flow chart illustrating the operation of the extractor of FIG. 1 in the case of monophonic audio input signals
  • Fig. 28 is a flowchart illustrating sound separation in Fig. 27;
  • 29 is a schematic representation of a section of the amplitude curve of the spectrogram of a
  • FIGS. 30 a and b are schematic representations of a section of the amplitude profile of the spectrogram of an audio signal along a segment for the purpose of FIG
  • Fig. 31 is a flowchart illustrating the tone smoothing in Fig. 27;
  • Fig. 32 is a schematic representation of a segment of the melody line course to illustrate the
  • Fig. 34 is a schematic representation of a section of a two-way rectified filtered
  • FIG. 35 shows a detail of a two-way rectified filtered audio signal and its interpolation in the case of a potential segment extension.
  • FIG. 1 shows an embodiment of a device for generating a polyphonic melody from an audio signal containing a desired tune.
  • FIG. 1 v shows a device for the rhythmic and harmonic conditioning and re-instrumenting of a melody-representing audio signal and for supplementing the resulting melody with a suitable accompaniment.
  • the apparatus of FIG. 1, indicated generally at 300, includes an input 302 for receiving the audio signal.
  • the device 300 or the input 302 expects the audio signal in a time-sample representation, for example as a WAV file.
  • the audio signal could also be present in other form at input 302, such as in uncompressed or compressed form or in a frequency band representation.
  • an extraction device 304 Between the input 302 and the output 304, an extraction device 304, a rhythm device 306, a key device 308, a harmony device 310 and a synthesis device 312 are connected in series in this order.
  • the device 300 comprises a melody memory 314.
  • An output of the key device 308 is connected not only to an input of the subsequent harmony device 310, but also to an input of the melody memory 314.
  • the input of the harmony device 310 is not limited to the output of the processing direction but also with an output of the melody memory 314.
  • Another input of the melody memory 314 is provided to receive a provision identification number ID.
  • Another input of the synthesizer 312 is configured to receive style information.
  • Extractor 304 and rhythm means 306 together form a rhythm editor 316.
  • the extraction device 304 is designed to subject the audio signal received at the input 302 to note extraction or recognition in order to obtain a note sequence from the audio signal.
  • the note sequence 318 which forwards the extraction device 304 to the rhythm device 306, in the present exemplary embodiment is in a form in which, for each note n, a note start time t n indicating the beginning of the note, for example, in seconds, a tone or note duration ⁇ n , which indicates the note duration of the note, for example, in seconds, a quantized note or pitch, ie C, Fis or the like, for example as a MIDI note, a volume Ln of the note and an exact frequency f n of the tone or the note is contained in the note sequence, where n is to represent an index for the respective note in the note sequence, which increases with the order of the successive notes or indicates the position of the respective note in the note sequence.
  • the note sequence 318 still represents the melody as it was also represented by the audio signal 302.
  • the note sequence 318 is now fed to the rhythm device 306.
  • the rhythm device 306 is designed to - -
  • the note sequence that the rhythm device 306 outputs thus represents a rhythmically processed note sequence 324.
  • the key device 308 performs a key determination and possibly a key correction. More specifically, the means 308 determines, based on the note sequence 324, a major key of the user melody represented by the note sequence 324 and the audio signal 302, inclusive of the pitch gender, i. Major or minor, for example the sung piece. Thereafter, it also recognizes, at this point, non-sounding notes in the note sequence 114 and corrects them to arrive at a harmonic-sounding final result, a rhythmically edited and pitch-corrected note sequence 700 forwarded to the harmony 310 and a key ⁇ corrected form represents the desired by the user melody.
  • the mode of operation of the device 324 with regard to the key determination can be carried out in various ways.
  • the key determination may refer to those described in the article Krumhansl, Carol L.: Cognitive Foundations of Musical Pitch, Oxford University Press, 1990, or in the article Temperley, David: The Cognition of basic musical structures. The MIT Press, 2001, described manner.
  • the harmony device 310 is configured to receive the note sequence 700 from the device 308 and to the tune represented by this note sequence 700 - -
  • device 310 acts or acts in a cyclic manner. Specifically, the means 310 operates on each clock as determined by the clock raster set by the rhythm means 306, such that it provides statistics about the tones of the notes T n occurring in the respective clock. The statistics of the occurring tones are then compared with the possible chords of the major scale scale as determined by the key device 308. Means 310 then selects, among the possible chords, in particular, that chord whose tones best match the notes that are in the respective measure, as indicated by statistics. In this way, the means 310 determines, for each clock, the chord which best fits the notes or notes, for example, in the respective clock.
  • the means 310 allocates chord levels of the root key to the pitches found by the means 306 in dependence on the pitch, so that a chord progression forms over the course of the melody. Consequently, at the output of the device 310, in addition to the rhythmically processed and key-corrected note sequence including NL, it also outputs a chord step specification to the synthesis device 312 for each measure.
  • Synthesizer 312 uses style information that can be entered by a user as indicated by case 702 to perform the synthesis, ie, artificially generate the eventually resulting polyphonic melody.
  • style information allows a user to select from four different styles in which the polyphonic melody can be generated, namely Pop, Techno, Latin or Reggae.
  • either one or more companion patterns are stored in the synthesis device 312.
  • the synthesizer 312 now uses the accompaniment pattern (s) indicated by the style information 702. to - -
  • the synthesizer 312 appends the accompaniment patterns per clock. If the chord determined by the device 310 is a clock around the chord version in which an accompaniment pattern already exists, then the synthesizer 312 simply selects the corresponding accompaniment pattern for the current style for that accompaniment clock. If, however, the chord determined by means 310 is not the one in which an accompaniment pattern is stored in means 312 for a particular clock, synthesizer 312 shifts the notes of the accompaniment pattern by the corresponding semitone number and changes the third Sext and fifth a semitone in the case of another tone gender, namely by shifting one semitone up in the case of a major chord reversed in the case of a minor chord.
  • the synthesizer 312 orchestrates the melody represented by the note string 700 forwarded from the harmony 310 to the synthesizer 312 to obtain a main melody, and then combines accompaniment and main melody into a polyphonic melody, exemplified herein in the form of MIDI File at output 304 outputs.
  • the key device 308 is further configured to store the note string 700 in the melody memory 314 under a provision identification number. If the user is dissatisfied with the outcome of the polyphonic tune at exit 304, he may reenter the provisioning identification number along with a new style information in the apparatus of Figure 1, whereupon the melody store 314 forwards the sequence 700 stored under the staging identification number to the harmony facility 310, which then determines the chords as described above, whereupon the synthesizer 312 uses the new style information depending on the chords a new one Accompaniment and depending on the note sequence 700 creates a new main melody and joins together to form a new polyphonic melody at the output 304.
  • Fig. 2 shows first the rough procedure in the melody extraction or autotranscription.
  • Starting point is the reading or the input of the audio file in a step 750, which, as described above, can be present as a WAV file.
  • the device 304 then performs a frequency analysis on the audio file in a step 752 to thereby provide a time / frequency representation or spectrogram of the audio signal contained in the file.
  • step 752 includes decomposing the audio signal into frequency bands.
  • the audio signal is subdivided into preferably time-overlapping time segments which are then spectrally decomposed in each case in order to obtain a spectral value for each of a set of spectral components for each time interval or each frame.
  • the set of spectral components depends on the choice of the transformation underlying the frequency analysis 752, a particular embodiment of which will be explained below with reference to FIG. 4.
  • step 752 means 304 determines a weighted amplitude spectrum or perceptual spectrogram in step 754.
  • the detailed procedure for determining the perceptual spectrogram will now be described in greater detail with reference to FIGS. 3-8.
  • the result of step 754 is a rescale of the spectrogram obtained from the frequency analysis 752 below - -
  • the processing 756 subsequent to step 754 uses, among other things, the perceptual spectrogram obtained from step 754 to finally obtain the melody of the output signal in the form of a melody line articulated in note segments, i. in a form in which groups of consecutive frames are each assigned the same pitch with each other, these groups being spaced apart in time over one or more frames, thus not overlapping and thus corresponding to note segments of a monophonic melody.
  • the processing 756 is decomposed into three substeps 758, 760 and 762.
  • the perceptual spectrogram is used to obtain a time / fundamental frequency representation from the same, and in turn to use this time / fundamental frequency representation to determine a melody line such that each frame in a unique manner has exactly one spectral component Frequency bin is assigned.
  • the time / fundamental representation accounts for the division of sounds into partial tones by first delogarithmizing the perceptual spectrogram from step 754 to summate for each frame and for each frequency bin the delogarithmized perceptual spectral values at that frequency bin and the overtones to the respective frequency bin. The result is a sound spectrum per frame.
  • step 758 is thus virtually a melody line function that everyone Frame assigns exactly one frequency bin.
  • This melody line function in turn defines a melody line progression in the time / frequency domain or a two-dimensional melody matrix spanned by the possible speech components or bins on one side and the possible frames on the other side.
  • the following substeps 760 and 762 are provided to segment the continuous melody line, thus giving single notes.
  • the segmentation is divided into two substeps 760 and 762, depending on whether the segmentation is at input frequency resolution, i. in frequency bin resolution, or whether the segmentation is in halftone resolution, i. after quantizing the frequencies to semitone frequencies.
  • the result of processing 756 is processed in step 764 to generate a sequence of notes from the melody line segments, each note being assigned a note start time, a note duration, a quantized pitch, an exact pitch, and so on.
  • FIG. 3 agrees with FIG. 2, ie an audio signal is initially provided 750 and this then a frequency analysis 752 subjected.
  • the WAV file is in a format since the individual audio samples are sampled at a sampling frequency of 16 kHz.
  • the individual samples are present, for example, in a 16-bit format.
  • the audio signal is present as a mono-file.
  • the frequency analysis 752 can then be performed, for example, by means of a warped filter bank and an FFT (Fast Fourier
  • the sequence of audio values is first windowed with a window length of 512 samples, operating on a hopsize of 128 samples, i. the windowing is repeated every 128 samples.
  • the windowing is repeated every 128 samples.
  • these parameters represent a good compromise between time and frequency resolution.
  • a time frame corresponds to a duration of 8 milliseconds.
  • the warped filter bank is used according to a special embodiment for the frequency range up to about 1550 Hz. This is necessary to achieve a sufficiently good resolution for low frequencies. For a good halftone resolution enough frequency bands should be available. At a lambda value of -0.85 at 16 kHz sampling rate, approximately two to four frequency bands correspond to one semitone on a frequency of 100 Hz. For low frequencies, each frequency band can be assigned a semitone. For the frequency range up to 8 kHz the FFT is used. The frequency resolution of the FFT is sufficient from about 1,550 Hz for a good halftone representation. Here approx. Two to six frequency bands correspond to one semitone.
  • the transient response of the warped filter bank must be taken into account.
  • a temporal synchronization at the combination of the two transformations For example, the first 16 frames of the filterbank output are discarded, as well as the last 16 frames of the output spectrum FFT are disregarded.
  • the amplitude level of the filter bank and FFT is identical and requires no adaptation.
  • FIG. 4 shows by way of example an amplitude spectrum or a time / frequency representation or a spectrogram of an audio signal, as obtained by the preceding exemplary embodiment of a combination of a warped filter bank and an FFT.
  • the time t is plotted in seconds s, while along the vertical axis the frequency f is in Hz.
  • the height of the individual spectral values is gray scale.
  • the time / frequency representation of an audio signal is a two-dimensional field spanned by the possible frequency bins or spectral components on one side (vertical axis) and the time segments or frames on the other side (horizontal axis), each Position of this field is assigned to a specific tuple of frame and Frequenzbin a spectral value or an amplitude.
  • the amplitudes in the spectrum of Fig. 4 are still post-processed in the frequency analysis 752, since the amplitudes calculated by the warped filterbank may sometimes not be accurate enough for subsequent processing.
  • the frequencies that are not exactly at the center frequency of a frequency band have a lower amplitude value than frequencies that correspond exactly to the center frequency of a frequency band.
  • a crosstalk arises on adjacent frequency bands, which are also referred to as bins or frequency bins.
  • the effect of crosstalk can be exploited.
  • This error affects a maximum of two adjacent frequency bands in each direction.
  • the amplitudes of adjacent bins are added to the amplitude value of a middle bin, and this for all bins. Because there is a risk that incorrect amplitude values will be calculated when two audio frequencies are particularly close together in a music signal, and thus phantom frequencies are generated having greater values than the two original sine parts, according to a preferred embodiment only the amplitude values of the directly adjacent neighbor bins will be generated added to the amplitude of the original signal component.
  • the analysis result of frequency analysis 752 is a matrix of spectral values. These spectral values represent the volume by the amplitude. However, the human volume perception possesses a logarithmic division. It thus makes sense to adapt the amplitude spectrum to this classification. This is done in a logarithmization 770 following step 752. In logarithmization 770, all spectral values are logarithmized to the level of the sound pressure level, which corresponds to the logarithmic perception of loudness of humans. More specifically, in the logarithmization 770 to the spectral value p in the spectrogram obtained from the frequency analysis 752, p is mapped to a sound pressure level value and a logarithmic spectral value L, respectively
  • Po indicates the reference sound pressure, i. the volume level that has the smallest perceptible sound pressure at 1000 Hz.
  • this reference value must first be determined. While in the analog signal analysis as
  • FIG. 7 shows the sample audio signal 772 over the time t, the amplitude A being plotted in the Y direction in the smallest representable digital units.
  • the sample audio signal or reference signal 772 is present with an amplitude value of one LSB or with the smallest representable digital value.
  • the amplitude of the reference signal 772 only oscillates by one bit.
  • the frequency of the reference signal 772 corresponds to the frequency of the highest sensitivity of the human auditory threshold.
  • other determinations of the benchmark may be more beneficial on a case-by-case basis.
  • the result of the logarithmization 770 of the spectrogram from FIG. 4 is shown by way of example. If, due to the logarithmization, a part of the logarithmic spectrogram is in the negative value range, these negative spectral or amplitude values are set to 0 dB to avoid non-meaningful results in the further processing in order to obtain positive results over the entire frequency range ,
  • the logarithmic spectral values are shown in the same manner as in FIG. 4, i. arranged in a spanned by the time t and the frequency f matrix and grayscale depending on the value, namely the darker the greater the respective spectral value.
  • the curves of equal volume 774 are used.
  • the score 772 is therefore necessary to match the different amplitude scores of the musical sounds across the frequency scale of human perception since, according to human perception, the amplitude values of low frequencies experience a lower score than amplitudes of higher frequencies.
  • curves 774 of the same volume the curve characteristic from DIN 45630 Part 2, German Institute for Standardization e.V., Fundamentals of Sound Measurement, Normal Curves of the Same Volume, 1967, was used here by way of example.
  • the graph is shown in FIG. 6.
  • the equal volume curves 774 are respectively associated with different volume levels indicated in phon.
  • these curves 774 represent functions that assign each frequency a sound pressure level in dB such that all the sound pressure levels that are on the respective curve correspond to the same volume level of the respective curve.
  • the equal volume curves 774 are present in the device 204 in analytic form, it being of course also possible to provide a look-up table corresponding to each pair of frequency bins and
  • Sound level quantization value assigns a volume level value.
  • volume curve with the lowest volume level for example, the formula
  • the function parameters of the resting hearing threshold can be changed according to the above equation to correspond to the curve of the lowest loudness curve of the abovementioned DIN standard of FIG. 6. Thereafter, this curve is shifted vertically in the direction of higher volume levels at intervals of 10 dB, and the function parameters are adapted to the respective characteristic of the function graphs 774.
  • the intermediate values are determined in 1 dB increments by linear interpolation.
  • the function with the highest value range can evaluate a level of 100 dB. This is sufficient, since a word width of 16 bits corresponds to a dynamic range of 98 dB.
  • step 772 means 304 forms each logarithmic spectral value, i. 5, depending on the frequency f or the frequency bin to which it belongs, and its value, which represents the sound pressure level, on a perceptual spectral value representing the volume level.
  • steps 770-774 illustrate possible substeps of step 754 of FIG. 2.
  • the method of FIG. 3 proceeds to evaluation 772 of the spectrum in a step 776 with a fundamental frequency determination or with the calculation of the total intensity of each sound in the audio signal.
  • step 776 the intensities of each fundamental tone and the associated harmonics are added up.
  • a sound consists of a fundamental tone under the corresponding partial tones.
  • the partial tones are integer multiples of the fundamental frequency of a sound.
  • the partial or overtones are also called harmonics.
  • a harmonic grid 778 is used in step 776 in order to search for each possible fundamental tone, i. each frequency bin to search for overtones or overtones that are an integer multiple of the respective fundamental tone.
  • further frequency bins corresponding to an integer multiple of the frequency bin of the fundamental are assigned as harmonic frequencies.
  • step 776 the intensities in the spectrogram of the audio signal at the respective fundamental tone and its harmonics are then added up for all possible fundamental tone frequencies.
  • a weighting of the individual intensity values is carried out, because due to several sounds occurring simultaneously in a piece of music, there is the possibility that the fundamental tone of a sound from an upper tone of another sound with a - -
  • a tone model based on the principle of the Mosataka Goto model and adapted to the spectral resolution of the frequency analysis 752 is used in step 776, the tone model of Goto in Goto, M.: A Robust Predominant-FO Estimation Method for Real-time Detection of Melody and Bass Lines, in CD Recordings, Proc. IEEE International Conference on Acoustics, Speech and Signal Processing, Istanbul, Turkey, 2000.
  • harmonic grid 778 assigns the respective harmonic frequencies for each frequency band or frequency bin.
  • overtones are searched for fundamental frequencies in only one particular frequency bin range, such as from 80 Hz to 4,100 Hz, and harmonics are considered only up to the 15th order.
  • the overtones of different sounds can be assigned to the sound model of several fundamental frequencies.
  • the amplitude ratio of a sought sound can be changed considerably.
  • the amplitudes of the partial tones are evaluated with a halved Gaussian filter.
  • the keynote receives the highest value. All the following partial tones receive a lower weighting according to their order, the weighting decreasing in a Gauss-shaped manner, for example, with increasing order.
  • an overtone amplitude of another sound which obscures the actual overtone, has no particular JU
  • step 776 the perceptual spectrum of FIG. 8 is first delogarithmized with the aid of the reference value from step 770.
  • the result is a delogarithmized perceptual spectrum, ie an array of delogarithmized perceptual spectral values for each frequency bin and frame tuple.
  • step 776 is a sound spectrogram, step 776 itself being a sound spectrogram - -
  • step 776 is entered into a new matrix having one row for each frequency bin within the frequency range of possible fundamental frequencies and one column for each frame, with each matrix element, i. at each intersection of column and row, the result of the summation for the corresponding frequency bin is entered as the fundamental tone.
  • a preliminary determination of a potential melody line is made.
  • the melody line corresponds to a function over time, namely a function that uniquely assigns to each frame exactly one frequency band or frequency bin.
  • the melody line determined in step 780 defines a track along the domain of definition of the sound spectrogram or matrix of step 776, the track never being ambiguous along the frequency axis.
  • step 780 The determination is made in step 780 such that the maximum amplitude is determined for each frame over the entire frequency range of the sound spectrogram, i. the largest summation value.
  • the result, i. the melody line largely corresponds to the basic course of the melody of the audio track underlying the audio signal 302.
  • the main melody is the part of a song that man perceives loudest and most concisely.
  • steps 776-780 represent possible substeps of step 758 of FIG. 2.
  • step 780 In the potential melody line from step 780 are segments that do not belong to the melody. In melody pauses or between melody notes, dominant segments, e.g. found from the bass or other accompanying instruments. These melody pauses must be eliminated by the later steps in FIG. In addition, short, individual elements that can not be assigned to any area of the title arise. They are removed, for example, by means of a 3x3 average filter, as will be described below.
  • a general segmentation 782 is first performed in a step 782 which ensures that parts of the potential melody line are eliminated which prima facie can not belong to the actual melody line.
  • the result of the melody line determination of step 780 is shown by way of example for the case of the perceptual spectrum of FIG. 8. 9 shows the melody line plotted over the time t or over the sequence of frames along the x-axis, the frequency f and the frequency bins being indicated along the y-axis.
  • the melody line of step 780 is represented in the form of a binary image array, which is also sometimes referred to as a melody matrix and has one row for each frequency bin and one column for each frame.
  • All points of the array, on where the melody line is not located have a value of 0 or are white, while the points of the array where the melody line is located have a value of 1 or are black. These points are thus located on frequency bin and frame tuples, which are associated with each other by the melody line function of step 780.
  • the general segmentation 782 begins in a step 786 with the filtering of the melody line 784 in the frequency / time domain in a representation in which the melody line 784 as shown in Fig. 9 is shown as a binary track in an array represented by the frequency bins on the one and the frames are spanned on the other side.
  • the pixel array of Fig. 9 be an x by y pixel array, where x is the number of frames and y is the number of frequency bins.
  • Step 786 is now intended to remove smaller outliers or artifacts in the melody line.
  • 11 shows by way of example in schematic form a possible course of a melody line 784 in a representation according to FIG. 9.
  • the pixel array shows regions 788 in which there are isolated black pixel elements, the sections of the potential melody line 784 determined by their temporal brevity not part of the actual tune and should therefore be removed.
  • a second pixel array is first generated from the pixel array of FIG. 9 or FIG. 11, in which the melody line is represented in binary form, by entering a value for each pixel, that of the summation of the binary values at the corresponding pixel as well as the pixel adjacent to that pixel.
  • FIG. 12a There is shown an exemplary section of the course of a melody line in the binary image of Fig. 9 or Fig. 11.
  • the exemplary portion of Figure 12a includes five rows corresponding to different frequency bins 1-5 and five columns A-E corresponding to different adjacent frames.
  • the course of the melody line is symbolized in FIG. 12a by the hatching of the corresponding pixel elements representing parts of the melody line.
  • the frequency bin 4 is assigned to the frame B by the melody line, the frequency bin 3, etc., to the frame C.
  • the frame A is also assigned a frequency bin by the melody line, but this is not among the five frequency bins from the section of FIG. 12a.
  • the binary value of the same as well as the binary value of the neighboring pixels is first summed up for each pixel 790, as already mentioned.
  • This is exemplified, for example, in FIG. 12a for the pixel 792, in which figure at 794 a square is drawn, which surrounds the pixel adjacent to the pixel 792 and the pixel 792 itself.
  • the pixel 792 there would be a sum of 2, because in the area 794 around the pixel 792 there are only 2 pixels, the belong to the melody line, namely the pixel 792 itself and the pixel C3, ie at the frame C and the bin 3.
  • This summation is repeated by shifting the area 794 for all other pixels, resulting in a second pixel image, sometimes also referred to as Intermediate matrix called.
  • This second pixel image is then subjected to a pixel-by-pixel mapping, wherein in the pixel image all summation values from 0 or 1 to zero and all summation values greater than or equal to 2 are mapped to one.
  • the result of this mapping is shown for the exemplary case of FIG. 12a in FIG. 12a with numbers of "0" and "1" in the individual pixels 790.
  • the combination of 3x3 summation and subsequent mapping to "0" and "1” causes the melody line to "smear" by means of the threshold value 2.
  • the combination acts as a low-pass filter, which would be undesirable in the context of step 786, the first pixel image, ie that of FIG. 9 or FIG. 11, or in FIG.
  • FIG. 12b therefore shows a further exemplary section from the melody matrix of FIG. 9 or FIG. 11.
  • the combination of summation and threshold value mapping results in an intermediate matrix in which two individual pixels P4 and R2 have a binary value of 0, although at these pixel positions the melody matrix has a binary value of 1, as can be seen by the hatching in Fig. 12b, which is intended to illustrate that the melody line is at these pixel positions ,
  • These isolated "outliers" of the melody line are therefore removed by the filtering in step 786 after multiplication.
  • step 796 in which portions of melody line 784 are removed by neglecting those portions of the melody line that are not within a predetermined frequency range.
  • the value range of the melody line function is restricted to the predetermined frequency range from step 780.
  • all the pixels of the melody matrix of Fig. 9 and Fig. 11, respectively, are set to zero which are outside the predetermined frequency range.
  • a frequency range is, for example, 100-200-2001-10000 Hz, and preferably 150-1050 Hz.
  • monophonic analysis as described with reference to FIGS.
  • 27 ff is accepted Frequency range for example from 50-150 to 1,000-1,100 Hz and preferably from 80 to 1,050 Hz.
  • the limitation of the frequency range on this bandwidth contributes to the observation that melodies in popular music are usually represented by singing, which is in this frequency range as well the human language.
  • FIG. 13 shows the melody line filtered by step 786 and clipped by step 796, denoted by reference numeral 802 for discrimination in FIG.
  • step 804 removal of sections of the melody line 802 with too small an amplitude takes place, wherein the extraction device 304 uses the logarithmic spectrum of FIG. 5 from step 770. More specifically, for each tuber of frequency bin and frame through which melody line 802 passes, extractor 304, in the logarithmic spectrum of FIG. 5, looks up the corresponding logarithmic spectral value and determines whether the corresponding logarithmic spectral value is less than a predetermined percentage is the maximum amplitude or the maximum logarithmic spectral value in the logarithmic spectrum of FIG. 5.
  • this percentage is preferably between 50 and 70% and preferably 60%, while in monophonic analysis this percentage is preferably between 20 and 40% and preferably 30%.
  • Parts of the melody line 802 for which this is the case is neglected. This approach takes into account the fact that a melody usually always has approximately the same volume, or that sudden extreme volume fluctuations are unlikely to be expected.
  • step 804 all the pixels of the melody matrix of Figures 9 and 17, respectively, are set to zero at which the logarithmic spectral values are less than the predetermined percentage of the maximum logarithmic value.
  • Step 804 is followed, in a step 806, by a separation of those sections of the remaining melody line at which the course of the melody line in the frequency direction changes abruptly so as to have only a short halfway uniform melody curve.
  • FIG. 14 shows a portion of the melody matrix across A-M consecutive frames, with the frames arranged in columns as the frequency increases from bottom to top along the column direction.
  • the frequency bin resolution is not shown in FIG. 14 for the sake of clarity.
  • the melody line is indicated by the reference numeral 808 in FIG. 14 by way of example.
  • the melody line 808 in the frames AD remains constant on a frequency bin, to then show a frequency hopping between the frames D and E that is greater than a semitone distance HT.
  • the melody line 808 then remains constant again on a frequency bin, in order then to fall back from frame H to frame I by more than one semitone interval HT.
  • Such a frequency hopping, which is greater than a semitone distance HT also occurs between the frames J and K. Thenceforth - -
  • the device 304 now scans the melody line in a frame-wise manner, for example from the front to the back. In this case, the device 304 checks for each frame whether a frequency jump greater than the semitone distance HT takes place between this frame and the subsequent frame. If so, means 304 marks these frames. In FIG. 14, the result of this marking is exemplarily illustrated by the fact that the corresponding frames are surrounded by a circle, here the frames D, H and J. In a second step, the means 304 checks between which of the marked frames less than one predetermined number of frames are arranged, wherein in the present case, the predetermined number is preferably three.
  • this extracts portions of the melody line 808 where the same jumps between immediately consecutive frames less than a semitone but is less than four frame elements long. Between frames D and H there are three frames in the present exemplary case. This means nothing else than that the melody line 808 does not jump over the frames E - H by more than a semitone. However, there is only one frame between the marked frames H and J. This means nothing else than that in the area of the frames I and J, the melody line 808 jumps more than one semitone both forward and backward in the time direction. This section of the melody line 808, namely in the area of the frames I and J, is therefore neglected in the subsequent processing of the melody line.
  • the corresponding melody line element is set to zero at frames I and J, ie it is getting white.
  • This exclusion can therefore comprise at most three consecutive frames, which corresponds to 24 ms.
  • tones shorter than 30 ms rarely occur in today's music, so that the exclusion after step 806 does not lead to a deterioration of the transcription result.
  • step 806 processing within general segmentation 782 proceeds to step 810, where device 304 divides the remaining remnants of the former potential melody line from step 780 into a sequence of segments.
  • the division into segments all elements in the melody matrix are combined into a segment or a trajectory, which are directly adjacent.
  • FIG. 15 shows a portion of the melody line 812 as it appears after step 806. Only the individual matrix elements 814 from the melody matrix along which the melody line 812 extends are shown in FIG.
  • the device 304 scans them in the following manner. The device 304 first of all checks whether the melody matrix at all has a marked matrix element 814 for a first frame.
  • means 304 proceeds to the next matrix element and again checks the next frame for the presence of a corresponding matrix element. Otherwise, that is, if a matrix element that is part of the melody line 812 is present, the device 304 checks the next frame for the presence of a matrix element that is part of the melody line 812. If so, means 304 further checks if that matrix element is directly adjacent to the matrix element of the previous frame. Immediately adjacent is a matrix element to a _
  • means 304 performs the check for the presence of a neighborhood relationship also for the next frame. Otherwise, i. in the absence of a neighborhood relationship, a currently recognized segment ends at the previous frame, and a new segment begins at the current frame.
  • the section of the melody line 812 shown in FIG. 15 represents an incomplete segment, in which all the matrix elements 814 that are part of the melody line or along which it runs are immediately adjacent to one another.
  • the segments found in this way are numbered consecutively, resulting in a sequence of segments.
  • the result of the general segmentation 782 is thus a sequence of melody segments, each melody segment covering a sequence of immediately adjacent frames.
  • the melody line jumps from frame to frame by at most a predetermined number of frequency bins, in the preceding exemplary embodiment by at most one frequency bin.
  • Step 816 is to close the gap between adjacent segments to address the case that, due to, for example, percussive events in the melody line determination in step 780, others accidentally Sound components have been detected and filtered out in the general segmentation 782.
  • Gap closure 816 will be explained in greater detail with reference to FIG. 16, wherein gap closure 816 relies on a halftone vector, which is determined in a step 818, the determination of the halftone vector will be explained in more detail with reference to FIG.
  • FIG. 17 shows the patchy melody line 812 resulting from the general segmentation 782 in a shape plotted in the melody matrix.
  • means 304 now determines which frequency bins the melody line 812 traverses and how many frames.
  • the result of this approach illustrated with the case 820, is a histogram 822 indicating, for each frequency bin f, the frequency with which it is traversed by the melody line 812 and how many matrix elements of the melody matrix that are part of the melody line 812 , are arranged at the respective Frequenzbin.
  • device 304 determines in a step 824 the frequency bin with the maximum frequency. This is indicated by an arrow 826 in FIG. Starting from this frequency bin 826 of the frequency fo, the device 304 then determines a vector of frequencies fi which have a frequency spacing to one another and above all to the frequency fo, which corresponds to an integer multiple of a half-tone length HT.
  • the frequencies in the halftone vector will be referred to as halftone frequencies hereinafter.
  • Halftone cutoff frequencies referenced. These are located exactly between adjacent halftone frequencies, ie exactly centered on this.
  • a halftone interval as is customary in music, is defined as 2 1/12 of the frequency of use fo.
  • gap closure 816 attempts to close gaps between adjacent segments of melody line 812 that unintentionally resulted in melody line recognition 780 and general segmentation 782, respectively, as described above.
  • the gap closure is carried out segment by segment.
  • FIG. 18 shows a section of the melody matrix with a section of the melody line 812.
  • the melody line 812 has a gap 832 between two segments 812a and 812b, of which the segment 812a is the aforementioned reference segment.
  • the gap in the exemplary case of FIG. 18 is six frames.
  • p is preferably 4.
  • the gap is 832 - -
  • step 834 to check if the gap 832 is less than or equal to q frames, where q is preferably 15.
  • step 836 it is checked whether the facing segment ends of the reference segment 812a and the successor segment 812b, i. the end of the segment 812a and the beginning of the successor segment 812b lie in a same or adjacent halftone areas.
  • the frequency axis f is divided into halftone areas as determined in step 818. As can be seen, in the case of FIG. 18, the facing segment ends of the segments 812a and 812b lie in one and the same halftone area 838.
  • step 840 in the perceptual spectrum of step 772, means 304 looks up the respective perceptual spectral values at the positions of the end of segment 812a and the beginning of segment 812b and determines the absolute value of the difference of the two spectral values.
  • means 304 determines in step 840 whether the difference is greater than a predetermined threshold r, preferably being 20-40% and preferably 30% of the perceptual spectral value at the end of the reference segment 812a. If the determination in step 840 gives a positive result, the gap closure proceeds to step 842. There, means 304 determines a gap closure line 844 in the melody matrix which directly connects the end of the reference segment 812a and the beginning of the successor segment 812b.
  • the gap closure line is preferably rectilinear, as also shown in FIG. More specifically, the connecting line 844 is a function across the frames over which the gap 832 extends, the function assigning a frequency bin to each of these frames so that a desired connecting line 844 results in the melody matrix.
  • means 304 determines the corresponding perceptual spectral values from the perceptual spectrum from step 772 by looking up the respective frequency bin and frame tuples of gap closure line 844 in the perceptual spectrum. 3 'ber this perception-related spectral along the closing line Lücken ⁇ 304 determines the device the mean value and compares it as part of step 842 with the corresponding mean values of the perception-related spectral values along the reference segment 812a and the follower segment 812b.
  • step 846 the gap 832 is closed in a step 846 by entering or closing the gap closure line 844 in the melody matrix the corresponding matrix elements thereof are set to 1.
  • step 846 the list of segments to merge the segments 812a and 812b into a common segment, whereupon the gap closure for the reference segment and the successor segment is completed.
  • a gap closure along the gap closure line 844 also occurs if, at step 830, the gap 832 is less than 4 frames long.
  • the gap 832 is closed, as in the case of step 846 along a direct and preferably straight gap closure line 844 connecting the facing ends of the segments 812a-812b, whereupon the gap closure for the two segments is finished and continues with the subsequent segment, as far as such exists.
  • the gap closure in step 848 will still be made conditional on that of step 836, i. that the two mutually facing segment ends lie in the same or adjacent halftone areas.
  • the result of the gap closure 816 is thus a possibly shortened list of segments or a melody line, which may have gap closure lines in the melody matrix in some places.
  • the gap closure 816 is followed by a harmony map 850, which is intended to eliminate errors in the melody line that have arisen by incorrectly determining the wrong root note of a sound in determining the potential melody line 780.
  • the harmony mapping 850 operates segment by segment to shift individual segments of the melody line resulting from gap closure 816 by an octave, fifth, or major third, as will be described in more detail below. As the following description will show, the conditions for this are strict in order not to erroneously shift a segment wrong in frequency.
  • the harmony mapping 850 will be described in more detail below with reference to FIGS. 19 and 20.
  • FIG. 20 shows by way of example a section of the melody line as it has appeared after the gap closure 816.
  • This melody line is provided with the reference numeral 852 in FIG. 20, wherein in the section of FIG. 20 three segments can be seen from the melody line 852, namely the segments 852a-c.
  • the representation of the melody line again takes place as a track in the melody matrix, it being recalled, however, that the melody line 852 is a function which uniquely assigns a single frequency bin to the individual frames - meanwhile not all of them - so that those shown in FIG Make tracks.
  • the segment 852b located between the segments 852a and 852c appears from the melody line progression as it would result from the segments 852a and 852c. to be cut out.
  • the segment 852b without frame gap follows the reference segment 852a by way of example, as indicated by a dashed line 854.
  • the time range covered by the segment 852b is intended to be directly adjacent to the time range covered by the segment 852c, as indicated by a dashed line 856.
  • dash-and-dot line 858 is four halftones, i. by a major third, shifted to segment 852b toward higher frequencies.
  • Dashed line 858b is shifted down twelve halftones from frequency direction f, i. by an octave.
  • a third line 858c is dot-dashed to this line and a fifth line 858d is a dot-and-dash line, i. a line shifted by seven semitones towards higher frequencies relative to line 858b.
  • the segment 852b appears to have been erroneously detected in the context of the melody line determination 780, since the same would be less abruptly inserted between the adjacent segments 852a and 852c when shifted one octave lower.
  • the task of the Harmoniemappings 850 is therefore to check whether a shift to such "outliers" should take place or not, since such frequency jumps occur less frequently in a melody.
  • the harmony mapping 850 begins with the determination of a melody centroid line by means of a mean value filter in a step 860.
  • step 860 comprises calculating a moving average of the melody curve 852 with a certain number of frames over the segments in the time direction t, the window length being 80 - 120, for example and preferably 100 frames at the above-mentioned frame length of 8 ms, ie correspondingly different number of frames at a different frame length. More precisely, to determine the melody centroid line, a window of length 100 frames is frame-shifted along the time axis t. In this case, all frequency bins associated with frames within the filter window by the melody line 852 are averaged and this mean value for the frame is entered in the middle of the filter window, which results in a melody center line 862 after repetition for successive frames in the case of FIG. a function that uniquely assigns a frequency to each frame.
  • the melody centroid line 862 may extend over the entire time range of the audio signal, in which case the filter window at the beginning and end of the piece must be “compressed” accordingly, or only over a range from the beginning and end of the audio piece around the audio signal Half of the filter window width is spaced.
  • a subsequent step 864 the device 304 checks whether the reference segment 852a is adjacent to the successor segment 852b along the time axis t. If this is not the case, the processing with the subsequent segment as the reference segment is performed again (866).
  • step 868 the successor segment 852b is virtually shifted to the octave, fifth, and / or third lines 858a-d to obtain.
  • the selection of major thirds, fifths and octaves is advantageous in pop music, as there is usually used a major chord, in which the highest and the lowest tone of a chord have a spacing of a major third plus a minor third of a fifth.
  • the above procedure is of course also applicable to minor keys, in which chords of minor third and then major third occur.
  • a step 870 means 304 in the spectrum evaluated with equal loudness curves or the perceptual spectrum from step 772, respectively, look up the minimum perceptual spectral value along reference segment 852a and the octave, quintet, and / or third line, respectively 858a-d.
  • These minimum values are used in the subsequent step 872 to select one or none among the octave, fifth, and / or third shift lines 858a-d, depending on whether the octave, fifth, and / or octave shift lines or third-line minimum value has a predetermined reference to the minimum value of the reference segment.
  • an octave line 858b is selected below the lines 858a-858d if the minimum value is at most 30% less than the minimum value for the reference segment 852a.
  • a quint-line 858d is selected if the minimum value determined for it is at most 2.5% smaller than the minimum value of the reference segment 852a.
  • One of the triplets 858c is used if the corresponding minimum value for that line is at least 10% greater than the minimum value for the reference segment 852a.
  • step 874 the device 304 shifts the segment 852b to the selected line 858a-858d, if such was selected in step 872, provided that the shift points in the direction of the melody centerline 862 as viewed from the follower segment 852b , In the exemplary case of Fig. 20, the latter condition would be satisfied unless the third line 858a were selected in step 872.
  • a vibrato detection and a vibrato compensation take place in a step 876, the mode of operation of which is explained in more detail with reference to FIGS. 21 and 27.
  • Step 876 is performed segment by segment for each segment 878 in the melody line as it results after harmony mapping 850.
  • an exemplary segment 878 is shown enlarged, in a representation in which the horizontal axis corresponds to the time axis and the vertical axis corresponds to the frequency axis, as was the case in the previous figures.
  • the reference segment 878 is first examined in the context of the vibrato detection 876 for local extrema.
  • the melody line function and thus also the part of the segment corresponding to the interest clearly maps the frames over this segment unambiguously on frequency bins in order to form the segment 888.
  • This segment function is examined for local extrema.
  • step 880 examines the reference segment 878 for those points where it has local extremal parts along the time axis with respect to the frequency direction, ie, points where the slope of the melody line function is zero. These points are indicated in FIG. 22 by way of example with vertical lines 882.
  • a subsequent step 884 it is checked whether the extrema sites 882 are arranged such that temporally adjacent local extreme parts 882 are arranged at frequency bins having a frequency spacing greater than or equal to a predetermined number of bins, for example 15 to 25 preferably but 22 bins with respect to implementation of the frequency analysis described in reference to FIG. 4, or a number of bins per semitone range of about 2 to 6, respectively.
  • a predetermined number of bins for example 15 to 25 preferably but 22 bins with respect to implementation of the frequency analysis described in reference to FIG. 4, or a number of bins per semitone range of about 2 to 6, respectively.
  • the length of 22 frequency bins is shown by way of example with a double arrow 886.
  • the extremity parts 882 satisfy criterion 884.
  • the device 304 checks whether, between the adjacent extremum parts 882, the time interval is always less than or equal to a predetermined number of time frames, the predetermined number being 21, for example.
  • step 888 If the 3 'REVIEW in step 888 is positive, as in the example of FIG. 22 is the case, which is recognizable by the double arrow 890, which should correspond to the length of 21 frames, it is checked in a step 892, whether the The number of extremes 882 is greater than or equal to a predetermined number, which is preferably 5 in the present case. In the example of Fig. 22, this is given. Thus, even if the check in step 892 is positive, in a subsequent step 894 the reference segment 878 or the detected vibrato is replaced by its mean value. The result of step 894 is indicated at 896 in FIG.
  • the reference segment 878 becomes is removed on the current melody line and replaced by a reference segment 896 which extends over the same frames as the reference segment 878 but runs along a constant frequency bin corresponding to the average of the frequency bins through which the replaced reference segment 878 passed. If the result of one of the fiber tests 884, 888 and 892 is negative, the vibrato detection or compensation ends for the relevant reference segment.
  • the vibrato detection and the vibrato balancing of Fig. 21 perform vibrato detection by stepwise feature extraction, which searches for local extrema, namely local minima and maxima, with a limitation on the number of allowed frequency bins of the modulation and a limitation in the modulation temporal distance of the extrema, where as a vibrato only a group of at least 5 extrema is considered.
  • a recognized vibrato is then replaced in the melody matrix by its mean value.
  • step 898 After the vibrato detection in step 876, a statistical correction is performed in step 898, which also accounts for the observation that in a tune short and extreme pitch variations are not to be expected.
  • the statistical correction of FIG. 898 will be further explained with reference to FIG. FIG. 23 shows, by way of example, a detail of a melody line 900, as may arise after the vibrato recognition 876. Again, the course of the melody line 900 is shown registered in the melody matrix, which is spanned by the frequency axis f and the time axis t.
  • a melody centerline for the melody line 900 is first determined similar to the step 860 in the harmony mapping.
  • a window 902 of predetermined time length is frame-shifted along the time axis t to calculate, frame by frame, an average of the frequency bins that comprise the melody line 900 within the window 902, the average being assigned to the frame in the middle of the window 902 as a frequency bin, resulting in a point 904 of the melody centerline to be determined.
  • the resulting melody centerline line is indicated by reference numeral 906 in FIG.
  • a second window is frame-shifted along the time axis t, which has, for example, a window length of 170 frames.
  • the standard deviation of the melody line 900 to the melody center line 906 is determined.
  • the resulting standard deviation for each frame is multiplied by 2 and added by 1 bin.
  • This value is then added to and subtracted from each frame for each frequency bin passing through the melody centerline 906 at that frame to obtain upper and lower standard deviation lines 908a and 908b.
  • the two standard deviation lines 908a and 908b define an allowed area 910 between them.
  • all segments of the melody line 900 that are completely outside of the approval area 910 are now removed. The result of the statistical correction 898 is thus a reduction in the number of segments.
  • the step 898 is followed by a halftone mapping 912.
  • the halftone mapping is performed frame-wise by resorting to the halftone vector, step 818, which defines the halftone frequencies.
  • the halftone mapping 912 functions such that, for each frame on which the melody line resulting from step 898 is present, it is checked in which of the halftone areas the frequency bin lies in which the melody line passes through the respective frame Frequency bin the melody line function the respective frame maps.
  • the melody line is then changed so that in the respective frame the melody line to the frequency value is changed corresponding to the semitone frequency of the semitone area in which the frequency bin was, through which the melody line was passed.
  • Steps 782, 816, 818, 850, 876, 898 and 912 thus correspond to step 760 in FIG. 2.
  • step 914 Upon halftone mapping 912, an onset detection and correction per segment is performed in step 914. This will be explained in more detail with reference to FIGS. 24-26.
  • the goal of the onset detection and correction 914 is to correct the individual segments of the melody line resulting from the halftone mapping 912, which correspond more and more to the individual notes of the searched tune, with respect to their starting times.
  • the incoming or in step 750 provided audio signal 302 is used again, as will be described in more detail below.
  • a step 916 first the audio signal 302 is filtered with a bandpass filter corresponding to the halftone frequency to which the respective reference segment has been quantized in step 912, or with a bandpass filter having cutoff frequencies between which the quantized halftone frequency of the respective segment lies ,
  • the bandpass filter is used as one having cutoff frequencies corresponding to the halftone cutoff frequencies f u and f o correspond to the semitone area in which the considered segment is located.
  • an IIR band-pass filter having the cut-off frequencies f u and f 0 associated with the respective halftone region is filtered as filter cutoff frequencies or with a Butterworth bandpass filter whose transfer function is shown in FIG.
  • step 918 two-way rectification of the one filtered in step 916 is performed
  • Time signal is folded with a Hammingrap, whereby an envelope of the two-way rectified and the filtered audio signal is determined.
  • Steps 916-920 are illustrated once again with reference to FIG.
  • Fig. 26 shows by reference numeral 922 the two-way rectified audio signal, as it does after step 918, in a graph plotting horizontally the time t in virtual units and vertically the amplitude of the audio signal A in virtual units. Further, in the graph, the envelope 924 resulting in step 920 is shown.
  • Steps 916-920 are only one way of generating the envelope 924 and of course can be varied.
  • envelopes 924 are generated for the audio signal for all those semitone frequencies or halftone areas in which segments or note segments of the current melody line are arranged. For each such envelope 924, the following steps of Fig. 24 are then performed.
  • step 926 potential start times are determined as the locations of locally maximum rise of the envelope 924.
  • inflection points in the envelope 924 are determined in step 926 certainly.
  • the timings of the inflection points in the case of FIG. 26 are illustrated with vertical bars 928.
  • step 926 For the following evaluation of the determined potential starting times or potential increases, a downsampling to the time resolution of the preprocessing is carried out, possibly in the context of step 926, which is not shown in FIG. 24. It should be noted that in step 926 not all potential start times or all inflection points have to be determined. It is also not necessary that all determined or determined potential starting times must be supplied to the subsequent processing. Rather, it is possible to determine or further process only those inflection points as potential starting times, which are arranged in temporal proximity before or in a time range which corresponds to one of the segments of the melody line arranged in the semitone area, which determines the determination of the melody line Envelope 924 was used.
  • step 928 it is now checked whether, for a potential start time, it lies before the segment start of the same corresponding segment. If so, processing continues at step 930. Otherwise, however, i. if the potential start time is past the existing start of the segment, step 928 is repeated for a next potential start time, or step 926 for a next envelope determined for another half-tone range, or segmented onset detection and correction is performed for a next segment ,
  • step 930 it is checked whether the potential start time is more than x frames before the start of the corresponding segment, where x is between 8 and 12, inclusive, and preferably 10 with a frame length of 8 ms, the values for other frame lengths would be changed accordingly. If this is not the case, ie if the potential start time or the determined start time is 10 frames before the segment of interest, the gap between the potential start time and the previous segment start is closed or the previous start of the segment is corrected to the potential start time in a step 932 , If necessary, the predecessor segment is correspondingly shortened or its segment end is changed to the frame before the potential start time.
  • step 932 includes extending the reference segment forward to the potential start time and possibly shortening the length of the precursor segment at the end thereof to avoid overlapping the two segments.
  • step 934 it is checked in step 934 whether step 934 is being traversed the first time for that potential start time. If this is not the case here, the processing for this potential start time and the relevant segment ends here, and the processing of the onset detection continues in step 928 for another potential start time or in step 926 for a further envelope.
  • a step 936 the previous segment start of the segment of interest is virtually moved forward. In doing so, the perceptual spectral values in the perception-related spectrum are looked up, which are located at the virtually shifted segment start times. If the decrease of these perceptual spectral values in the perceptual spectrum exceeds a certain value, then the frame on which this transgression has taken place is provisionally used as segment start of the reference segment and step 930 is repeated again. Is then the potential start time not more than x frames before the beginning of the corresponding segment determined in step 936, the gap is also closed in step 932, as described above.
  • the effect of the onset detection and correction 914 is consequently that individual segments in the current melody line are changed in their time extent, namely extended forward or shortened at the back.
  • the step 914 is then followed by a length segmentation 938.
  • length segmentation 938 all segments of the melody line, which now appear as horizontal lines due to halftone mapping 912 in the melody matrix, which are at half tone frequencies, and those segments smaller than a predetermined length are removed from the melody line. For example, segments are removed that are less than 10-14 frames long, and preferably 12 frames and less long, again assuming a frame length of 8ms above or adjusting the numbers of frames accordingly. 12 frames at 8 milliseconds correspond to 96 milliseconds time resolution, which is less than about 1/64 note.
  • Steps 914 and 938 thus correspond to step 762 of FIG. 2.
  • the melody line held in step 938 then consists of a somewhat reduced number of segments having one and the same semitone frequency over a certain number of consecutive frames. These segments are clearly attributable to musical segments.
  • This melody line is then converted to a note representation in a step 940 corresponding to the above-described step 764 of FIG. 2, or into a midi file.
  • each segment still in the melody line after the length segmentation 938 is examined to include the first frame in FIG to find the respective segment. This frame then determines the note start time of the note corresponding to that segment. For the note, the note length is then determined from the number of frames over which the corresponding segment extends.
  • the quantized pitch of the note results from the halftone frequency, which is constant in each segment due to step 912.
  • the MIDI output 914 by means 304 then provides the note sequence, based on which the rhythm means 306 performs the operations described above.
  • the audio signals 302 are of monophonic type, as in the case of the pre-hum and Whistle for generating ring tones, as has been described above, is the case, one may be compared to
  • Fig. 27 shows the alternative operation of the device
  • FIG. 29 is a section of the frequency / time space of the spectrogram of the audio signal , ⁇ , illustrating texture of the spectrogram, as it results after the frequency analysis 752 for a predetermined segment of the melody line 952, as it results after the general segmentation 782 as the root and for their harmonics.
  • the exemplary segment 952 has been shifted along the frequency direction f by integer multiples of the respective frequency to determine harmonic lines.
  • FIG. 29 now shows only those parts of the reference segment 952 and corresponding overtone lines 954a-g at which the spectrogram from step 752 has spectral values that exceed an exemplary value.
  • the amplitude of the fundamental of the reference segment 952 obtained in the general segmentation 782 is consistently above the exemplary value. Only the overtones arranged above indicate an interruption approximately in the middle of the segment. The patency of the root has caused the segment in general segmentation 782 not to split into two notes, although there is likely to be a note boundary at about the middle of segment 952. Errors of this kind occur mainly only in monophonic music, for which reason the sound separation is performed only in the case of Fig. 27.
  • the tone separation 950 begins at step 958, starting from the melody line obtained in step 782, with the search for that overtone or tone lines 954a-954g along which the spectrogram obtained by frequency analysis 752 has the most dynamic amplitude response.
  • FIG. 30a shows in a graph in which the x- The axis of a time axis t and the y-axis of the amplitude or the value of the spectrogram corresponds, by way of example, to such an amplitude curve 960 for one of the overtone lines 954a-954g.
  • the dynamics for the amplitude curve 960 is determined from the difference between the maximum spectral value of the curve 960 and the minimum value within the curve 960.
  • Fig. 30a will exemplify the amplitude curve of the spectrogram along that overtone line 450a - 450g, which has the greatest dynamics among all these amplitude curves.
  • step 958 preferably only the 4th through 15th order overtones are considered.
  • a following step 962 in the amplitude progression with the greatest dynamics, those points at which a local amplitude minimum falls below a predetermined threshold are then identified as potential separation points.
  • Fig. 30b In the exemplary case of FIGS. 30a and b respectively, only the absolute minimum 964, which of course also represents a local minimum, falls below the threshold value, which is illustrated in FIG. 30b by way of example with the dashed line 966.
  • the threshold value which is illustrated in FIG. 30b by way of example with the dashed line 966.
  • step 968 those which are located in a boundary area 970 around the segment start 972 or in a boundary area 974 around the segment end 976 are then sorted out among the possibly multiple separation sites.
  • step 978 the difference between the amplitude minimum at the minimum 964 and the mean of the amplitudes of the local maxima 980 and 982 adjacent to the minimum 964 is formed in the amplitude curve 960.
  • the difference is illustrated in Fig. 30b with a double arrow 984.
  • step 986 it is checked whether the difference 984 is greater than a predetermined threshold value.
  • the reference segment at the potential separation point or minimum 964 is separated into two segments, which is one of the segment start 972 extends to the frame of the minimum 964, and the other between the frame of the minimum 964 and the subsequent frame and the segment end 976.
  • the list of segments is extended accordingly.
  • Another way of separating 988 is to provide a gap between the two emerging segments. For example, in the area in which the amplitude curve 960 is below the threshold value-in FIG. 30b, for example, over the time area 990.
  • step 992 Another problem that occurs primarily in monophonic music is that the individual notes are subject to frequency fluctuations that complicate subsequent segmentation. Therefore, subsequent to the sound separation 950, sound smoothing is performed in step 992, which is explained in more detail with reference to FIGS. 31 and 32.
  • Fig. 32 shows, in high magnification, schematically a segment 994, as it is in the melody line, which results in the sound separation 950 out.
  • the illustration in FIG. 32 is such that in FIG. 32, a digit is provided to the corresponding tuple for each frequency bin and frame tuple traversed by the segment 994. The assignment of the digit will be explained in more detail below with reference to FIG. 31.
  • segment 994 in the exemplary case of FIG. 32, varies across 4 frequency bins and spans 27 frames.
  • tone smoothing is now to place below the frequency bins, between which the segment 994 back and forth varies to select the one that is to be consistently assigned to segment 994 for all frames.
  • the tone smoothing begins in step 996 with the initialization of a counter variable i to 1.
  • a counter value z is initialized to 1.
  • the counter variable i has the meaning of the numbering of the frames of the segment 994 from left to right in Fig. 32.
  • the counter variable z has the meaning of a counter that counts over how many consecutive frames the segment 994 is in one and the same frequency bin.
  • the value for z for the individual frames is shown in the form of the numbers representing the course of the segment 994 in FIG.
  • the counter value z is then accumulated to a sum for the frequency bin of the ith frame of the segment.
  • the counter value could be weighted according to a varying exemplary embodiment, such as a factor f (i), where f (i) is a function that increases steadily with i, thus the shares to be totalized at the end of a segment, ie the voice, for example better tuned to the tone, to weight more strongly compared to the transient at the beginning of a note.
  • f (i) is a function that increases steadily with i, thus the shares to be totalized at the end of a segment, ie the voice, for example better tuned to the tone, to weight more strongly compared to the transient at the beginning of a note.
  • 32 i increases along the time and indicates how many positions a particular frame occupies among the frames of the considered segment , and successive values, which assumes the function shown by way of example for successive sections, which in turn are indicated by small vertical bars along the time axis, are shown with numbers in these square brackets.
  • the exemplary weighting function increases with i from 1 to 2.2.
  • a step 1002 it is checked if the i-th frame is the last frame of the segment 994. If this is not the case, the counter variable i is incremented in a step 1004, ie it is moved to the next frame.
  • a subsequent step 1006 it is checked whether the segment 994 in the current frame, ie the i-th frame, is in the same frequency bin as it was in the (i-1) th frame. If so, in a step 1008 the counter variable z is incremented, whereupon processing continues again at step 1000. However, if the segment 994 is not in the same frequency bin in the ith frame and the (il) th frame, processing continues with the initialization of the counter variable z to 1 in step 998.
  • step 1002 determines whether i-th frame is the last frame of segment 994, then for each frequency bin in which segment 994 resides, a sum is shown at 1010 in FIG.
  • step 1012 upon determination of the last frame in step 1002, the frequency bin for which the accumulated sum 1010 is greatest is selected. In the exemplary case of FIG. 32, this is the second lowest frequency bin among the four frequency bins in which segment 994 resides.
  • the reference segment 994 is then smoothed by swapping it to a segment in which each of the frames where the segment 994 was located is assigned the selected frequency bin. The tone smoothing of FIG. 31 is repeated in segments for all segments.
  • tone smoothing serves to equalize the singing and singing of sounds from lower or higher frequencies, and accomplishes this by finding a value over time a tone corresponding to the frequency of the settled sound.
  • tone smoothing serves to equalize the singing and singing of sounds from lower or higher frequencies, and accomplishes this by finding a value over time a tone corresponding to the frequency of the settled sound.
  • all elements of a frequency band are counted up, after which all the incremented elements of a frequency band, which are located on the note segment, are added up. Then the tone is entered over the time of the note segment in the frequency band with the largest sum.
  • a statistical correction 916 is then carried out, wherein the implementation of the statistical correction corresponds to that of FIG. 3, namely in particular to step 898.
  • the statistical correction 1016 is followed by a halftone mapping 1018, which corresponds to the halftone mapping 912 of FIG. 3 and also uses a halftone vector, which is determined at a halftone vector detection 1020, which corresponds to that of FIG. 818.
  • Steps 950, 992, 1016, 1018 and 1020 thus correspond to step 760 of FIG. 2.
  • the halftone mapping 1018 is followed by an onset identifier 1022, which essentially corresponds to that of FIG. 3, namely step 914. Only in step 932 is it preferably prevented that gaps are closed again, or segments imposed by the tone separation 950 are closed again.
  • the onset identifier 1022 is followed by offset detection and correction 1024, which is explained in more detail below with reference to FIGS. 33-35.
  • the offset detection and correction is used to correct the end of the note.
  • the offset detection 1024 serves to prevent the reverberation of monophonic pieces of music.
  • a step 1026 similar to step 916, first the audio signal is filtered with a bandpass filter corresponding to the halftone frequency of the reference segment, whereupon, in a step 1028 corresponding to step 918, the filtered audio signal is two-way rectified. Furthermore, an interpretation of the rectified time signal is performed in step 1028. This approach is sufficient in the case of offset detection and correction to determine approximately an envelope, thereby eliminating the more complicated step 920 of onset detection.
  • the interpolated time signal for example with a reference numeral 1030 and for comparison the envelope, as determined in the onset recognition in step 920, with a reference numeral 1032.
  • a maximum 1040 of the interpolated time signal 1030 is determined, in particular the value of the interpolated time signal 1030 at the maximum 1040.
  • a potential note end time is then determined as the time wherein the rectified audio signal has dropped in time to the maximum 1040 to a predetermined percentage of the value at the maximum 1040, the percentage in step 1042 being preferably 15%.
  • the potential note end is illustrated in FIG. 34 with a dashed line 1044.
  • a subsequent step 1046 it is then checked whether the potential note end 1044 is behind the segment end 1048 in time. If this is not the case, as shown by way of example in FIG. 34, then the reference segment is shortened by the time range 1036 in order to be able to potential end of note 1044 to end. However, if the note end is timed before the end of the segment, as shown by way of example in FIG. 35, it is checked in step 1050 if the time interval between potential note end 1044 and segment end 1048 is less than a predetermined percentage of the current segment length a, where the predetermined percentage in step 1050 is preferably 25%. Falls the result of the review
  • step 1050 determines whether the check in step 1050 is negative, no offset correction is performed and step 1034 and the following steps are repeated for another reference segment of equal semitone frequency or step 1026 for other semitone frequencies is continued.
  • step 1052 After offset detection 1024, in step 1052, a length segmentation corresponding to step 938 of FIG. 3 is performed
  • Step 762 of FIG. 2 corresponds to steps 1022, 1024, and 1052.
  • steps 770-774 could also be combined with each other by the spectral values of the spectrogram from the frequency analysis 752 be transformed into the perceptual spectral values in a lookup table by only a single lookup.
  • tone model from Goto was used.
  • other tone models or other weighting of the overtone components would also be possible and could be adapted, for example, to the origin or the origin of the audio signal, as far as the latter is known, such as e.g. In the embodiment of the ringtone generation, the user is set to a pre-buzz.
  • the determination of the potential melody line 780 could include assigning multiple frequency bins to the same frame. Subsequently, a finding of multiple trajectories could be performed. This means allowing a selection of multiple fundamental frequencies or multiple sounds for each frame. Of course, the subsequent segmentation would then have to be carried out differently and, in particular, the subsequent segmentation would be somewhat more complicated since several trajectories or segments would have to be considered and found.
  • Step 806 could be for the case where the melody line. from temporally overlapping trajectories, would be transmitted if this step took place after the trajectories were identified.
  • the identification of trajectories could be similar to step 810, but modifications would have to be made such that multiple trajectories overlapping in time can also be tracked.
  • the gap closure could also be carried out in a similar way for those trajectories between which there is no gap in time.
  • Harmoniemapping could also be performed between two trajectories that follow one another directly in time. Vibrato detection and / or vibrato compensation could be readily applied to a single trajectory as well as to the previously mentioned non-overlapping melody line segments. Onset detection and correction could also be applied to trajectories. The same applies to tone separation and tone smoothing as well as offset detection and correction as well as statistical correction and length segmentation. Allowing the temporal overlap of trajectories of the melody line in the determination in step 780, making it at least requires, however, that prior to the actual note sequence output the temporal 8 'Overlap has to be once removed from trajectories at some point.
  • the advantage of determining the potential melody line in the manner described above with reference to FIGS. 3 and 27 is that the number of segments to be examined after the general segmentation is limited in advance to the most essential, and that the melody line determination even in step 780 extremely is simple and yet leads to a good melody extraction or note generation or transcription.
  • the general segmentation implementation described above does not have to have all substeps 786, 796, 804, and 806, but may also include a selection thereof.
  • the perceptual spectrum was used in steps 840 and 842. In principle, however, it is possible in these steps, the logarithmic spectrum or directly from the
  • step 874 it is noted that uniqueness among the selection of the various octave, fifth, and / or third lines could be achieved by including one of them
  • Priority list is generated, such as Octave line in front
  • onset detection and the offset detection it is pointed out that the determination of the envelope or of the interpolated time signal used instead in the case of offset detection could also be carried out differently. All that is essential is that the onset and offset detection is based on the audio signal - -
  • FIGS. 8-41 illustrate the operation of the melody extractor 304 and that each of the steps represented by a block in these flowcharts may be implemented in a corresponding subset of the device 304.
  • the implementation of the individual steps can be realized in hardware, as an ASIC circuit part, or in software, as a subroutine.
  • the explanations inscribed in the blocks roughly indicate which operation the respective step corresponds to that of the respective block, while the arrows between the blocks illustrate the order of steps in the operation of the device 304.
  • the inventive scheme can also be implemented in software.
  • the implementation may be on a digital storage medium, in particular a floppy disk or a CD with electronically readable control signals, which may cooperate with a programmable computer system such that the corresponding method is executed.
  • the invention thus also consists in a computer program product with program code stored on a machine-readable carrier for carrying out the method according to the invention when the computer program product runs on a computer.
  • the invention can thus be realized as a computer program with a program code for carrying out the method when the computer program runs on a computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Auxiliary Devices For Music (AREA)

Abstract

L'extraction d'une mélodie ou une transcription automatique peuvent être considérablement plus stables et éventuellement même moins onéreuses si l'on part de l'hypothèse que la mélodie principale est la partie d'un morceau de musique que l'être humain perçoit comme étant la plus sonore et la plus significative. Partant de cette hypothèse, pour déterminer la mélodie du signal audio, une ligne mélodique qui s'étend à travers la représentation temporelle / spectrale est déterminée (780), et ce du fait qu'une composante spectrale ou une bande de fréquence de la représentation temporelle / spectrale est attribuée précisément de manière univoque à chaque segment temporel ou trame, à savoir selon un exemple de réalisation spécial, celle qui conduit au résultat sonore d'intensité maximale pour cette trame.
PCT/EP2005/010325 2004-10-11 2005-09-23 Extraction d'une melodie sous-jacente a un signal audio WO2006039992A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP05793771A EP1787283A1 (fr) 2004-10-11 2005-09-23 Extraction d'une melodie sous-jacente a un signal audio
JP2007536025A JP2008516288A (ja) 2004-10-11 2005-09-23 音声信号の基礎となるメロディの抽出

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102004049517A DE102004049517B4 (de) 2004-10-11 2004-10-11 Extraktion einer einem Audiosignal zu Grunde liegenden Melodie
DE102004049517.3 2004-10-11

Publications (1)

Publication Number Publication Date
WO2006039992A1 true WO2006039992A1 (fr) 2006-04-20

Family

ID=35466126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2005/010325 WO2006039992A1 (fr) 2004-10-11 2005-09-23 Extraction d'une melodie sous-jacente a un signal audio

Country Status (6)

Country Link
EP (1) EP1787283A1 (fr)
JP (1) JP2008516288A (fr)
KR (1) KR20070062551A (fr)
CN (1) CN101076849A (fr)
DE (1) DE102004049517B4 (fr)
WO (1) WO2006039992A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009032794A1 (fr) * 2007-09-07 2009-03-12 Microsoft Corporation Accompagnement automatique pour des mélodies vocales
JP2009244567A (ja) * 2008-03-31 2009-10-22 Brother Ind Ltd メロディライン特定システムおよびプログラム
CN106919583A (zh) * 2015-12-25 2017-07-04 广州酷狗计算机科技有限公司 音频文件的推送方法及装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5593608B2 (ja) * 2008-12-05 2014-09-24 ソニー株式会社 情報処理装置、メロディーライン抽出方法、ベースライン抽出方法、及びプログラム
CN102063904B (zh) * 2010-11-30 2012-06-27 广州酷狗计算机科技有限公司 一种音频文件的旋律提取方法及旋律识别系统
JP5732910B2 (ja) * 2011-03-01 2015-06-10 大日本印刷株式会社 音響信号の符号化方法および装置
CN103226197A (zh) * 2013-04-16 2013-07-31 哈尔滨工程大学 一种基于音色参数模型的水下目标回波分类方法
JP2014219607A (ja) * 2013-05-09 2014-11-20 ソニー株式会社 音楽信号処理装置および方法、並びに、プログラム
EP3220386A1 (fr) * 2016-03-18 2017-09-20 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Appareil et procédé de séparation de sons harmoniques, percussifs et résiduels utilisant un tenseur de structure sur spectrogrammes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5808225A (en) * 1996-12-31 1998-09-15 Intel Corporation Compressing music into a digital format
JP2001265330A (ja) * 2000-03-21 2001-09-28 Alpine Electronics Inc 旋律抽出装置および旋律抽出方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04220880A (ja) * 1990-12-21 1992-08-11 Casio Comput Co Ltd 量子化装置
JP2558997B2 (ja) * 1991-12-03 1996-11-27 松下電器産業株式会社 ディジタルオーディオ信号の符号化方法
JP3795201B2 (ja) * 1997-09-19 2006-07-12 大日本印刷株式会社 音響信号の符号化方法およびコンピュータ読み取り可能な記録媒体
JPH1195780A (ja) * 1997-09-24 1999-04-09 Sony Corp 伴奏演奏装置およびその演奏方法
JP4037542B2 (ja) * 1998-09-18 2008-01-23 大日本印刷株式会社 音響信号の符号化方法
AU2001252900A1 (en) * 2000-03-13 2001-09-24 Perception Digital Technology (Bvi) Limited Melody retrieval system
JP4055336B2 (ja) * 2000-07-05 2008-03-05 日本電気株式会社 音声符号化装置及びそれに用いる音声符号化方法
DE10117870B4 (de) * 2001-04-10 2005-06-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Verfahren und Vorrichtung zum Überführen eines Musiksignals in eine Noten-basierte Beschreibung und Verfahren und Vorrichtung zum Referenzieren eines Musiksignals in einer Datenbank
JP4695781B2 (ja) * 2001-07-10 2011-06-08 大日本印刷株式会社 音響信号の符号化方法
JP3841705B2 (ja) * 2001-09-28 2006-11-01 日本電信電話株式会社 占有度抽出装置および基本周波数抽出装置、それらの方法、それらのプログラム並びにそれらのプログラムを記録した記録媒体

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5808225A (en) * 1996-12-31 1998-09-15 Intel Corporation Compressing music into a digital format
JP2001265330A (ja) * 2000-03-21 2001-09-28 Alpine Electronics Inc 旋律抽出装置および旋律抽出方法

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BROWN J C: "CALCULATION OF A CONSTANT Q SPECTRAL TRANSFORM", JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, AIP / ACOUSTICAL SOCIETY OF AMERICA, MELVILLE, NY, US, vol. 89, no. 1, January 1991 (1991-01-01), pages 425 - 434, XP000178912, ISSN: 0001-4966 *
PATENT ABSTRACTS OF JAPAN vol. 2000, no. 26 1 July 2002 (2002-07-01) *
SEIFERT F: "Semantic music recognition - audio identification beyond fingerprinting", WEB DELIVERING OF MUSIC, 2004. WEDELMUSIC 2004. PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON BARCELONA, SPAIN 13-14 SEPT. 2004, PISCATAWAY, NJ, USA,IEEE, 13 September 2004 (2004-09-13), pages 118 - 125, XP010741626, ISBN: 0-7695-2157-6 *
WEILUN LAO ET AL: "Computationally Inexpensive and Effective Scheme for Automatic Transcription of Polyphonic Music", MULTIMEDIA AND EXPO, 2004. ICME '04. 2004 IEEE INTERNATIONAL CONFERENCE ON TAIPEI, TAIWAN JUNE 27-30, 2004, PISCATAWAY, NJ, USA,IEEE, 30 June 2004 (2004-06-30), XP002343723, ISBN: 0-7803-8603-5 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009032794A1 (fr) * 2007-09-07 2009-03-12 Microsoft Corporation Accompagnement automatique pour des mélodies vocales
US7705231B2 (en) 2007-09-07 2010-04-27 Microsoft Corporation Automatic accompaniment for vocal melodies
US7985917B2 (en) 2007-09-07 2011-07-26 Microsoft Corporation Automatic accompaniment for vocal melodies
JP2009244567A (ja) * 2008-03-31 2009-10-22 Brother Ind Ltd メロディライン特定システムおよびプログラム
CN106919583A (zh) * 2015-12-25 2017-07-04 广州酷狗计算机科技有限公司 音频文件的推送方法及装置
CN106919583B (zh) * 2015-12-25 2020-11-10 广州酷狗计算机科技有限公司 音频文件的推送方法及装置

Also Published As

Publication number Publication date
JP2008516288A (ja) 2008-05-15
EP1787283A1 (fr) 2007-05-23
CN101076849A (zh) 2007-11-21
KR20070062551A (ko) 2007-06-15
DE102004049517A1 (de) 2006-04-20
DE102004049517B4 (de) 2009-07-16

Similar Documents

Publication Publication Date Title
EP1797552B1 (fr) Procede et dispositif pour extraire une melodie servant de base a un signal audio
WO2006039995A1 (fr) Procede et dispositif pour le traitement harmonique d'une ligne melodique
DE69907498T2 (de) Verfahren zur schnellen erfassung der tonhöhe
EP2099024B1 (fr) Procédé d'analyse orienté objet sonore et destiné au traitement orienté objet sonore de notes d'enregistrements de sons polyphoniques
DE69417445T2 (de) Verfahren und system zur detektion und erzeugung von übergangsbedingungen in tonsignalen
EP2351017B1 (fr) Procédé permettant de détecter des motifs de notes dans des pièces musicales
WO2002073592A2 (fr) Procede et dispositif de caracterisation d'un signal et procede et dispositif de production d'un signal indexe
WO2004010327A2 (fr) Systeme et procede pour caracteriser un signal d'information
WO2006039993A1 (fr) Procede et dispositif pour lisser un segment de ligne melodique
DE102004049517B4 (de) Extraktion einer einem Audiosignal zu Grunde liegenden Melodie
DE102004028693B4 (de) Vorrichtung und Verfahren zum Bestimmen eines Akkordtyps, der einem Testsignal zugrunde liegt
DE102004028694B3 (de) Vorrichtung und Verfahren zum Umsetzen eines Informationssignals in eine Spektraldarstellung mit variabler Auflösung
DE102012025016B3 (de) Verfahren zur Ermittlung wenigstens zweier Einzelsignale aus wenigstens zwei Ausgangssignalen
DE102004033829B4 (de) Verfahren und Vorrichtung zur Erzeugung einer Polyphonen Melodie
DE102004033867B4 (de) Verfahren und Vorrichtung zur rhythmischen Aufbereitung von Audiosignalen
DE10117871C1 (de) Verfahren und Vorrichtung zum Extrahieren einer Signalkennung, Verfahren und Vorrichtung zum Erzeugen einer Datenbank aus Signalkennungen und Verfahren und Vorrichtung zum Referenzieren eines Such-Zeitsignals
EP1758096A1 (fr) Méthode et appareil pour la reconnaissance de motifs dans des enregistrements accoustiques
DE102004022659B3 (de) Vorrichtung zum Charakterisieren eines Tonsignals
EP1743324B1 (fr) Dispositif et procede pour analyser un signal d'information
DD141356A1 (de) Verfahren zur akustischen guetebewertung von musikinstrumenten
WO2005122137A1 (fr) Dispositif et procede permettant de determiner une disposition des canaux radioelectriques a la base d'un signal audio

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2005793771

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2007536025

Country of ref document: JP

Ref document number: 1020077008256

Country of ref document: KR

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 2005793771

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 200580042417.3

Country of ref document: CN