This description relates to analysis and rating of audio recordings, including vocal recordings of musical compositions.
This patent application relates generally to audio recording analysis and rating. In some aspects, a method of processing an audio recording includes determining a sequence of identified notes corresponding to the audio recording by iteratively identifying potential notes within the audio recording. The audio recording includes a recording of at least a portion of a musical composition.
Implementations can include one or more of the following.
In the method, the sequence of identified notes corresponding to the audio recording may be determined substantially without using any pre-defined standardized version of the musical composition. In the method, determining the sequence of identified notes may include separating the audio recording into consecutive frames. Determining the sequence of identified notes may also include selecting a mapping of notes from one or more mappings of the potential notes corresponding to the consecutive frames to determine the sequence of identified notes, where each identified note may have a duration of one or more frames of the consecutive frames. In the method, selecting the mapping of notes may include evaluating a likelihood of a potential note of the potential notes being an actual note based on at least one of a duration of the potential note, a variance in fundamental frequency of the potential note, or a stability of the potential note. Selecting the mapping of notes may further include determining one or more likelihood functions for the one or more mappings of the potential notes, the one or more likelihood functions being based on the evaluated likelihood of potential notes in the one or more mappings of the potential notes. Selecting the mapping of notes may also include selecting the likelihood function having a highest value. The method may further include consolidating the selected mapping of notes to group consecutive equivalent notes together within the selected mapping. The method may also include determining a reference tuning frequency for the audio recording.
In some aspects, a method of evaluating an audio recording includes determining a tuning rating for the audio recording. The method also includes determining an expression rating for the audio recording. The method also includes determining a rating for the audio recording using the tuning rating and the expression rating. The audio recording includes a recording of at least a portion of a musical composition.
Implementations can include one or more of the following.
In the method, the rating may be determined substantially without using any pre-defined standardized version of the musical composition. In the method, determining the tuning rating may include receiving descriptive values corresponding to identified notes of the audio recording. The descriptive values for each identified note may include a nominal fundamental frequency value for the identified note and a duration of the identified note. Determining the tuning rating may also include, for each identified note, weighting, by a duration of the identified note, a fundamental frequency deviation between fundamental frequency contour values corresponding to the identified note and a nominal fundamental frequency value for the identified note. Determining the tuning rating may also include summing the weighted fundamental frequency deviations for the identified notes over the identified notes.
In the method, determining the expression rating may include determining a vibrato rating for the audio recording based on a vibrato probability value. Determining the expression rating may also include determining a scoop rating for the audio recording based on a scoop probability value. Determining the expression rating may also include combining the vibrato rating and the scoop rating to determine the expression rating.
In the method, determining the expression rating may include receiving descriptive values corresponding to identified notes of the audio recording. The descriptive values for each identified note may include a vibrato probability value and a scoop probability value. Determining the expression rating may also include determining a vibrato rating for the audio recording based on vibrato probability values for a first set of notes of the identified notes and a proportion of a second set of notes of the identified notes having vibrato probability values above a threshold. Determining the expression rating may also include determining a scoop rating for the audio recording based on an average of scoop probability values for a third set of notes of the identified notes. Determining the expression rating may also include combining the vibrato rating and the scoop rating to determine the expression rating.
The method may also include comparing a descriptive value for the audio recording to a threshold and generating an indication of whether the descriptive value exceeds the threshold. The method may further include multiplying a weighted sum of the tuning rating and the expression rating by the indication to determine the rating. The descriptive value may include at least one of a duration of the audio recording, a number of identified notes of the audio recording; or a range of identified notes of the audio recording.
In some aspects, a method of processing and evaluating an audio recording includes determining a sequence of identified notes corresponding to the audio recording by iteratively identifying potential notes within the audio recording. The method also includes determining a rating for the audio recording using a tuning rating and an expression rating. The audio recording includes a recording of at least a portion of a musical composition.
Implementations can include one or more of the following.
In the method, the sequence of identified notes corresponding to the audio recording may be determined substantially without using any pre-defined standardized version of the musical composition.
In the method, the rating may be determined substantially without using any pre- defined standardized version of the musical composition.
The foregoing methods may be implemented as a computer program product comprised of instructions that are stored on one or more machine-readable media, and that are executable on one or more processing devices. The foregoing methods may be implemented as an apparatus or system that includes one or more processing devices and memory to store executable instructions to implement the method. A graphical user interface may be generated that is configured to provide a user with access to and at least some control over stored executable instructions to implement the method.
The details of one or more examples are set forth in the accompanying drawings and the description below. Further features, aspects, and advantages are apparent in the description, the drawings, and the claims.
An audio recording of a musical composition may be analyzed and processed to identify notes within the recording. The audio recording may also by evaluated or rated according to a variety of criteria.
Generally, in analyzing, processing, and evaluating an audio recording, the systems described herein need not, and in numerous implementations does not, refer or make comparison to a static reference such as a previously known musical composition, score, song, or melody. Rating techniques used by the systems herein may also allow for proper rating of improvisations, which may be very useful for casting singers or musicians, for musical skill contests or for video games among others. Rating techniques may be used for educational purposes, such as support material for music students. Rating techniques may also have other uses, such as in music therapy for patients suffering from autism, Alzheimer's, or voice disorders, for example.
The note segmentation and description component 101 may include a low-level features extraction unit 110, which may extract a set of low-level features or descriptors such as features 106 from the audio recording 105, a segmentation unit 111, which may identify and determine a sequence of notes 108 in the audio recording 105, and a note descriptors unit 112, which may associate to each note in the sequence of notes 108 a set of note descriptors 114. The rating component 102 may include a tuning rating unit 120, which may determine a rating for the tuning of, e.g., singing or instrument playing in the audio recording 105, an expression rating unit 121, which may determine a rating for the expressivity of, e.g., singing or instrument playing in the audio recording 105, and a global rating unit 122, which may combine the tuning rating and the expression rating from the tuning rating unit 120 and the expression rating unit 121, respectively, to determine a global rating 125 for, e.g., the singing or instrument playing in the audio recording 105. The rating component 102 may also include a rating validity unit 123, which may be used to check whether the audio recording 105 fulfills a number of conditions that may be used to indicate the reliability of the global rating 125, such as, e.g., the duration of, or the number of notes in, the audio recording 105.
The audio recording 105 may be a recording of a musical composition, such as a musical piece, a musical score, a song, a melody, or a rhythm, or a combination of any of these. The audio recording 105 may be a recording of a human voice singing a musical composition, or a recording of one or more musical instruments (traditional or electronic, for example), or any combination of these. The audio recording 105 may be a monophonic voice (or musical instrument) signal, such that the signal does not include concurrent notes, i.e., more than one note at the same time. For example, the audio recording 105 may be of solo or “a capella” singing or flute playing without accompaniment. Polyphonic signals may be removed with preprocessing to produce a monophonic signal for use by the system 100. Preprocessing may include using a source separation technique for isolating the lead vocal or a soloist from a stereo mix.
The audio recording 105 may be an analog recording in continuous time or a discrete time sampled signal. The audio recording 105 may be uncompressed audio in the pulse-code modulation (PCM) format. The audio recording 105 may be available in a different format from PCM, such as the mp3 audio format or any compressed format for streaming. The audio recording 105 may be converted to PCM format for processing by the system 100. Some details and examples of audio recording and audio signal processing are described in co-pending U.S. patent application No. 11/900,902, titled “Audio Signal Transforming,” filed Sep. 13, 2007 and incorporated herein by reference.
The low-level features extraction unit 110 receives the audio recording 105 as an input and may extract a sequence of low-level features 106 from a portion of the audio recording 105 at time intervals (e.g., regular time intervals). These portions from which the features are extracted are referred to as frames. For example, the low-level features extraction unit 100 may select frames of 25 milliseconds at time intervals of 10 milliseconds, although other values may be used. Features may then be selected from the selected frames. The selected frames of the recording 105 may overlap with one another, in order to achieve a higher resolution in the time domain. The total number of frames selected may depend on the length of the audio recording 105 as well as on the time interval chosen.
The low-level features 106 extracted by the low-level features extraction unit 110 may include amplitude contour, fundamental frequency contour, and the Mel-Frequency Cepstral Coefficients. The amplitude contour may correspond to the instantaneous energy of the signal, and may be determined as the mean of the squared values of the samples included in one audio recording 105 frame. The fundamental frequency contour may be determined using time-domain techniques, such as auto-correlation, or frequency domain techniques based on Short-Time Fourier Transform. The fundamental frequency, also referred to as pitch, is the lowest frequency in a harmonic series of a signal. The fundamental frequency contour includes the evolution in time of the fundamental frequency. The Mel-Frequency Cepstral Coefficients (MFCC) characterize the timbre, or spectral characteristics, of a frame of the signal. The MFCC may be determined using any of a variety of methods known in the art. Other techniques for measuring the spectral characteristics of a frame of the signal, such as LPC (Linear Prediction Coding) coefficients, may be used in addition to, or instead of the MFCC.
Other low-level features, such as zero-crossing rate, may be extracted as well. Zero-crossing rate may be defined as the number of times that a signal crosses the zero value within a certain duration. A high zero-crossing rate may indicate noisy sounds, such as in unvoiced frames, that is, frames not having a fundamental frequency.
In this way, values for each of the low-level features 106 may be determined by the low level features extraction unit 110. The number of values may correspond to the number of frames of the audio recording 105 selected from the audio recording 105 as described above.
Thus, the segmentation unit 111 may be used to identify a sequence of notes and silences that, for example, may explain the low-level features 106 determined from the audio recording 105. In an implementation, the estimated sequence of notes may be determined to approximate as closely as possible a note transcription made by a human expert.
1. Initial Estimation of the Tuning Frequency cref (201)
The tuning frequency is the reference frequency used by the performer, e.g., a singer, to tune the musical composition of the audio recording 105. In analyzing singing voice performances “a capella”, i.e., without accompaniment, the tuning reference may generally be unknown and, for example, it may not be assumed that the singer is using, e.g., the Western music standard tuning frequency of 440 Hz, or any other specific frequency, as the tuning reference frequency.
In order to estimate the tuning reference frequency, the segmentation unit 111 may determine a histogram of pitch deviation from the temperate scale. The temperate scale is a scale in which the scale notes are separated by equally tempered tones or semi-tones, tuned to an arbitrary tuning reference of ƒinit Hz. In order to do so, a histogram representing the mapping of the values of the fundamental frequency contour of all frames into a single semitone interval may be determined. In such a histogram, the whole interval of a semitone corresponding to the x axis is divided in a finite number of intervals. Each interval may be called a bin. The number of bins in the histogram is determined by the resolution chosen, since a semitone is a fixed interval. In a mapping of the signal to a single semitone, where the bin number 0 is set at the arbitrary frequency of reference ƒinit, e.g. 440 Hz, and the resolution is set to 1 cent unit, i.e., a 100th of a semitone, the number of the bin represents the deviation from any note. For example, all frames that have a fundamental frequency that is exactly the reference frequency ƒinit or that have a fundamental frequency that corresponds to the reference frequency ƒinit plus or minus an integer number of semitones, would contribute to bin number 0. Thus, all fundamental frequencies that have a deviation of 1 cent from the exact frequency of reference (i.e., ƒinit) would contribute to bin number 1, all fundamental frequencies that have a deviation of 2 cents would contribute to bin number 2, and so on.
With ƒ used to refer to frequencies in Hz units, and C used to refer to frequencies specified in cents units relative to the 440 Hz reference, the relationship between ƒ and c is given in the following equation:
Therefore, cinit refers to the value of ƒinit expressed in cents relative to 440 Hz.
Referring to the example of an audio recording 105 of a human singing voice, voiced frames are frames having a pitch, or having a pitch greater than minus infinity (−∞), while unvoiced frames are frames not having a pitch, or having pitch equal to −∞. As shown in
As shown in
2. Note Segmentation (202)
Referring again to
In an implementation, possible paths for the dynamic programming algorithm may always start from the first frame selected from the audio recording 105, may always end at the last audio frame of the audio recording 105, and may always advance in time so that, when notes are segmented from the frames, the notes may not overlap. A path P may be defined by a sequence of m notes P={N0, N1, . . . , Nm−1}, where each note Ni begins at a certain frame ki, has a pitch deviation of ci in cents relative to the tuning reference cref, and a duration of ni frames or di seconds.
In an implementation, the most optimal path may be defined as the path with maximum likelihood among all possible paths. The likelihood LP of a certain path P may be determined by the segmentation unit 111 as the multiplication of likelihoods of each note LN
In an implementation, the segmentation unit 111 may determine an approximate most optimal path with approximately the maximum likelihood by advancing the matrix columns from left to right, and for each kth column (frames) 410 decide at each jth row (nominal pitch) 411 (see node (k,j) 414 in
where δ is the note duration in frames, and ρ the row index of the previous note using zero-based indexing. For the first column, the accumulated likelihood is 1 for all rows ({circumflex over (L)}0,j=1, ∀j [0, Cn−1]). The most optimal path of the matrix Pmax may be obtained by first finding the node of the last column with a maximum accumulated likelihood, and then by following its corresponding jump and note sequence.
The likelihood of a note connection (i.e., a jump 412a, 412b, 412c in the matrix 401 between notes) may depend on the type of musical motives or styles that the audio recording 105 or recordings might be expected to feature. If no particular characteristic is assumed a priori for the sung melody, then all possible note jumps would have the same likelihood, LN
LN
Otherwise, statistical analysis of melody lines in the expected styles may generally result into different jump likelihoods depending on the local melodic context, and the particular characteristic(s) assumed for the audio recording 105.
The likelihood LN
Ln
The segmentation unit 111 may determine each of these likelihood functions as follows:
The duration likelihood Ldur of a note Ni may be determined so that the likelihood is small, i.e., low, for short and long durations. Ldur may be determined using the following relationships, although other techniques may be used:
where h is the duration with maximum likelihood (i.e., 1), σdl the variance for shorter durations, and σdr the variance for longer durations. Example values would be h=0.11 seconds, σdl=0.03 and σdl=0.7, which may be given by experimentation, for example with the system 100, although these values may be parameters of the system 100 and may be tuned to the characteristics of the audio recording 105.
The pitch likelihood Lpitch of a note Ni may be determined so that the pitch likelihood is higher the closer that the estimated pitch contour values is to the note nominal pitch ci, and so that the pitch likelihood is lower the farther the estimated pitch contour values is from the note nominal pitch ci. With ĉ′k being the estimated pitch contour for the kth frame, the following equations may be used:
where Epitch is the pitch error for a particular note Ni having a duration of ni frames or di seconds, σpitch is a parameter given by experimentation with the system 100 and wk is a weight that may be determined out of the low-level descriptors 106. Different strategies may be used for weighting frames, i.e., for determining wk , such as giving more weight to frames with stable pitch, such as frames where the first derivative of the estimated pitch contour ĉ′k is near 0.
The voicing likelihood Lvoicing of a note Ni may be determined as a likelihood of whether the note is voiced (i.e., has a pitch) or unvoiced (i.e., has a pitch of negative infinity). The determination may be based on the fact that a note with a high percentage of unvoiced frames of the ni frames is unlikely to be a voiced note, while a note with a high percentage of voiced frames of the ni frames is unlikely to be an unvoiced note. The segmentation unit 111 may determine the voicing likelihood according to the following relationships, although other techniques may be used:
where σv, and σu are parameters of the algorithm which may be given by experimentation, for example with the system 100, although these values may be parameters of the system 100 and may be tuned to the characteristics of the audio recording 105, nunvoiced is the number of unvoiced frames in the note Ni, and ni the number of frames in the note.
The stability likelihood Lstability of a note Ni may be determined based on a consideration that a significant timbre or energy changes in the middle of a voiced note may be unlikely to happen, while significant timbre or energy changes may occur in unvoiced notes. This is because in traditional singing, notes are often considered to have a stable timbre, such as a single vowel. Furthermore, if a significant change in energy occurs in the middle of a note, this may generally be considered as two different notes.
where αk is one of the low-level descriptors 106 that may be determined by the low-level features extraction unit 110 and measures the energy variation in decibels (with αk having higher values when energy increases), sk is one of the low-level descriptors 106 and measures the timbre variation (with higher values of sk indicating more changes in the timbre), and wk is a weighting function with low values at boundaries of the note Ni and being approximately flat in the center, for instance having a trapezoidal shape. Also, L1(Ni) is a Gaussian function with a value of 1 if the energy variation αk is lower than a certain threshold, and gradually decreases when αk is above this threshold. The same applies for L2(Ni) with respect to the timbre variation sk.
Referring again to
Segmented notes that may be determined in the note segmentation (202) have a duration between dmin and dmax but longer notes may have been, e.g, sung or played in the audio recording 105. Therefore, it is logical for the segmentation unit 111 to consolidate consecutive voiced notes into longer notes if they have the same pitch. On the other hand, significant energy or timbre changes in the note connection boundary are indicative of phonetic changes unlikely to happen within a note, and thus may be indicative of consecutive notes being different notes. Therefore, in an implementation, the segmentation unit 111 may consolidate notes if the notes have the same pitch and the stability measure
where αk is one of the low-level descriptors 106 that may be determined by the low-level features extraction unit 110 and measures the energy variation in decibels (with αk having higher values when energy increases), sk is one of the low-level descriptors 106 and measures the timbre variation (with higher values of sk indicating more changes in the timbre), and wk is a weighting function with low values at ki−
As described above, the note segmentation unit 111 may initially estimate the tuning frequency cref (201) using the fundamental frequency contour. Once note segmentation (202) has occurred however, it may be advantageous to use the note segmentation to refine the tuning frequency estimation. In order to do so, the segmentation unit 111 may determine a pitch deviation measure for each voiced note, and may then obtain the new tuning frequency from a histogram of weighted note pitch deviations similar to that described above and as shown in
The note pitch deviation Ndev,i of the ith note is a value measuring the detuning of each note (i.e., the note pitch deviation from the note nominal pitch ci), which may be determined by comparing the pitch contour values and the note nominal pitch ci. Among other approaches, a similar equation as the one used for the pitch error Epitch in the pitch likelihood Lpitch determination for a note Ni above may be employed as shown in the following equation:
where ni is the number of frames of the note, ci is the nominal pitch of the note, ĉk is the estimated pitch value for the kth frame, and wk is a weight that may be determined from out of the low-level descriptors 106. Different strategies may be used for weighting frames, such as giving more weight to frames with stable pitch, for example. The resulting pitch deviation values may be expressed in semitone cents in the range [−50,50). Therefore, the value Ndev may be wrapped into that interval if necessary by adding an integer number of semitones
As previously noted, the segmentation unit 111 may determine a pitch deviation measure for each voiced note, and may then obtain the new tuning frequency from a histogram of weighted note pitch deviations similar to that described above and as shown in
where Hres is the histogram resolution in cents, and nbins=100/Hres. Note that bins are in the range
(compare with
crefu=crefu−1+bmaxu
where cref0=cref, and u=1 for the first iteration.
If the tuning reference has been refined, then the note segmentation unit 111 may also need to correspondingly update the nominal note pitch (i.e., the nominal note fundamental frequency) by adding the same amount of variation, so that the nominal note pitch at the uth iteration may be determined from the previous iteration nominal note pitch by the following relationship:
ciu=ciu−1bmaxu, ∀iε[0,m−1]
Conversely, the segmentation unit 111 may also need to correspondingly modify the note pitch deviation value by adding the inverse variation, as shown in the following relationship:
Ndev,iu=Ndev,iu−1−bmaxu, ∀iε[0m−1]
In the event that the updated note pitch deviation leaves the [−50,50) range of bin values, i.e., the updated note pitch is closer to a different note one or more semitones above or below, the note nominal pitch may need to be adjusted by one or more semitones so that the pitch deviation falls within the [−50,50) target range of bin values. This may be achieved by adding or subtracting one or more semitones to the note nominal pitch, while subtracting or adding respectively the same amount from the note pitch deviation. According to one example, if the note pitch deviation is +65 cents and the nominal pitch −800, the pitch value including both nominal and deviation values would be −800+65=−735 cents. Then 100 should be added to the note nominal pitch and 100 subtracted from the pitch deviation. This would result into a pitch deviation of −35 cents and a nominal pitch of −700 cents, resulting into the same absolute pitch value, i.e., −700+(−35)=−735 cents.
From the note segmentation unit 111, a sequence of notes 108 may be obtained (see
The input to the notes descriptor unit 112 may also include the low-level features 106 determined by the low-level features extraction unit 110, as shown in
In particular, low-level features 106, such as amplitude contour, the first derivative of the amplitude contour, fundamental frequency contour, and the MFCC, may be used in the notes descriptor unit 112.
As shown in
The descriptors may be determined as follows:
where σi and μi be found experimentally, L1 penalizes notes with a duration below 300 ms, L2 penalizes if the detected vibrato rate is outside of a typical range [2,5 . . 6,5], and L3 penalizes if the estimated vibrato depth is outside of a typical range [80 . . 400] in semitone cents.
Generally, in rating the audio recording 105, the system 100 need not, and in numerous implementations does not, refer or make comparison to a static reference such as a previously known musical composition, score, song, or melody.
The rating component 102 may receive the note descriptor values 114 output from the note descriptor unit 112 of the note segmentation and description component 101 as inputs and may pass them to the tuning rating unit 120, the expression rating unit 121, and the rating validity unit 123. Each note in the sequence of notes 108 identified and described by the note segmentation and description component 101 and output by the segmentation unit 111 may generally have a corresponding set of note descriptor values 114.
The tuning rating unit 120 may receive as inputs note descriptor values 114 corresponding to each note, such as the fundamental frequency deviation of the note and the duration of the note. The tuning rating unit 120 may determine a tuning error function across all of the notes of the audio recording 105. The tuning error function may be based on the note pitch deviation value as determined by the note descriptor unit 112, since the deviation of the fundamental frequency contour values for each note represents a measure of the deviation of the actual fundamental frequency contour with respect to the nominal fundamental frequency of the note. The tuning error function may be a weighted sum, where for each note the pitch deviation value for the note is weighted according to the duration of the note, as shown in the following equation:
where m is the number of notes, wi may be the square of the duration of the note di corresponding to each note and Ndev,i represents, for each identified note in the segmentation unit 111, the deviation of the fundamental frequency contour values for each note.
The tuning rating ratingtuning may be determined as the complement of the tuning error, as shown in the following equation:
The tuning rating unit 120 may be used to evaluate the consistency of the singing or playing in the audio recording 105. Consistency here is intended to refer not to, e.g., a previously known musical score or previous performance, but rather to consistency within the same audio recording 105. Consistency may include the degree to which notes being sung (or played) belong to an equal-tempered scale, i.e., a scale wherein the scale notes are separated by equally tempered tones or semi-tones. As previously noted, generally, in rating the audio recording 105, the system 100 need not, and in numerous implementations does not, refer or make comparison to a static reference such as a previously known musical composition, score, song, or melody.
The expression rating unit 121 may receive as inputs from the note segmentation and description component 101 note descriptor values 114 corresponding to each note, such as the nominal fundamental frequency of the note, the loudness of the note, the vibrato likelihood Lvibrato of the note, and the scoop likelihood Lscoop of the note. As shown in
The vibrato sub-unit 201 may be used to evaluate the presence of vibratos in the audio recording 105. The vibrato likelihood descriptor Lvibrato may be determined in the notes descriptors unit 112 and may represent a measure of both the presence and the regularity of a vibrato. From the vibrato likelihood descriptor Lvibrato that may be determined by the note descriptors unit 112, the vibrato sub-unit 201 may determine the mean of the vibrato likelihood of all the notes having a vibrato likelihood higher than a threshold T1. The vibrato sub-unit 201 may determine the number percentage of notes with a long duration D, e.g., more than 1 second in duration, that have a vibrato likelihood higher than a threshold T2. The vibrato likelihood thresholds T1 and T2, and the duration D, may be, for example, predetermined for the system 100 and may be based on experimentation with and usage history of the system 100. A vibrato rating vibrato may be given by the product of the described mean and of the described percentage, as shown in the following equation:
where Lvibrato is the vibrato likelihood descriptor for those notes having a vibrato likelihood higher than the threshold T1, N is the number of notes having a vibrato likelihood higher than the threshold T1, durLONG is the number of notes with a long duration D, and durVibrLONG is the number of notes having a vibrato likelihood higher than the threshold T2. As vibratos are an ornamental effect, a higher number of notes with a vibrato may be interpreted as a sign skilled singing by a singer or playing by a musician. For example, “good” opera singers have a tendency to use vibratos very often in their performances, and this practice is often considered as high quality singing. Moreover, skilled singers will often achieve a very regular vibrato.
The scoop sub-unit 202 may be used to evaluate the presence of scoops in the audio recording 105. From the scoop likelihood descriptor Lscoop determined by the note descriptors unit 112, the scoop sub-unit 202 may determine the mean of the scoop likelihood of all the notes having a scoop likelihood higher than a threshold T3. The threshold T3 may be, for example, predetermined for the system 100 and may be based on experimentation with and usage history of the system 100. A scoop rating scoop may be given by the square of the described mean, as shown in the following equation:
where Lscoop is the scoop likelihood descriptor for those notes having a scoop likelihood higher than the threshold T1, and N is the number of notes having a scoop likelihood higher than the threshold T1. Mastering the techniques of scoop, just as with the vibrato, is also often considered to be a sign of good singing abilities. For example, jazz singers often make use of this ornament.
The expression rating ratingexpression may be determined as a linear combination of the vibrato rating vibrato and the scoop rating scoop, as shown in the following equation:
ratingexpression=k1·vibrato+k2·scoop
The weighting values k1 and k2 may in general sum to 1, as shown in the following equation:
k1+k2=1
The weighting values k1 and k2 may be, for example, predetermined for the system 100 and may be based on experimentation with and usage history of the system 100. Other criteria may be used in determining the expression rating.
The global rating unit 122 of
where x is the ratingtuning in the equation for the weight w1, and ratingexpression in the equation for the weight w2, respectively. Using a weighting function for the tuning and expression rating may provide a more consistent global rating 125. The weighting function may give more weight to values that are closer to the bounds, so that very high or very low ratings in tuning or expression (i.e., extreme values) may be given a higher weight than just average ratings. In this way, the global rating 125 of the system 100 may become more realistic to human perception. For example, if there was no weighting, for an audio recording 105 having a very poor tuning rating and just an average expression rating, the system 100 might typically rate the performance as below average while a human listener would almost certainly perceive the audio recording as being of very low quality.
The global rating unit 122 may receive a factor Q (shown above in the equation for the global rating 125) from the validity rating unit 123. The factor Q may provide a measure of the validity of the audio recording 105. In an implementation, the factor Q may take into account three criteria: minimum duration in time (audio_durationMIN), minimum number of notes (NMIN), and a minimum note range (rangeMIN). Other criteria may be used. Taking into consideration the factor Q is a way that the system 100 may avoid inconsistent or unrealistic ratings due to an improper input audio recording 105. For example, if the audio recording 105 lasted only 2 seconds while including only two notes belonging to two consecutive semitones, the system, absent the factor Q or a similar factor, may generally give the audio recording 105 very high rating, even though the performance would be very poor. By taking into account the factor Q, the system may generally give a very poor rating the example audio recording 105.
The validity rating unit 123 may receive the duration audio_duration, the number of notes in the audio N, and the range range of the audio recording 105 from the note segmentation and description component 101, and may compare these values with the minimum thresholds audio_durMIN, NMIN, rangeMIN, as shown in the following equation:
Q=ƒ(audio_dur, audio_durMIN)·ƒ(N, NMIN)·ƒ(range, rangeMIN)
The factor Q may thus be determined as the product of three operators ƒ(x,μ), where ƒ(x,μ) is 1 for any value of x above a threshold μ, and gradually decreases to 0 when x is below the threshold μ. The function ƒ(x,μ) may be a Gaussian operator, or any suitable function that decreases from 1 to 0 when the distance between x and the threshold μ, below the threshold μ, increases. The factor Q may therefore range from 0 to 1, inclusive.
The segmentation unit 111 of
The segmentation unit 111 may select the mapping of notes by evaluating a likelihood (e.g., the likelihood LN
For example, in an implementation, the most optimal path may be defined as the path with maximum likelihood among all possible paths. For example, the likelihood LP, of a certain path P may be determined by the segmentation unit 111 as the multiplication of likelihoods of each note LN
The segmentation unit 111 may consolidate the selected mapping of notes to group consecutive equivalent notes together within the selected mapping. For example, as described above, the segmentation unit 111 may consolidate consecutive notes Ni−1 and Ni into a single one when the following criteria are met: ci−1=ci and
The tuning rating unit 120 of
The expression rating unit 121 of
In using the term “may,” it is understood to mean “could, but not necessarily must.”
In using the “set” as in “a set of elements,” it is understood that a set may include one or more elements.
The processes described herein are not limited to use with any particular hardware, software, or programming language; they may find applicability in any computing or processing environment and with any type of machine that is capable of running machine-readable instructions. All or part of the processes can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations thereof.
All or part of the processes can be implemented as a computer program product, e.g., a computer program tangibly embodied in one or more information carriers, e.g., in one or more machine-readable storage media or in a propagated signal, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
Actions associated with the processes can be performed by one or more programmable processors executing one or more computer programs to perform the functions of the processes. The actions can also be performed by, and the processes can be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). Modules can refer to portions of the computer program and/or the processor/special circuitry that implements that functionality.
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, one or more processors will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are one or more processors for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in special purpose logic circuitry.
An example of one such type of computer is shown in
The hard drive controller 523 is coupled to a hard disk 130 suitable for storing executable computer programs, including programs embodying the present methods, and data including storage. The I/O controller 524 is coupled by an I/O bus 526 to an I/O interface 527. The I/O interface 527 receives and transmits data in analog or digital form over communication links such as a serial link, local area network, wireless link, and parallel link.
To provide for interaction with a user, the techniques described herein can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer (e.g., interact with a user interface element, for example, by clicking a button on such a pointing device). Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
The techniques described herein can be implemented in a distributed computing system that includes a back-end component, e.g., as a data server, and/or a middleware component, e.g., an application server, and/or a front-end component, e.g., a client computer having a graphical user interface and/or a Web browser through which a user can interact with an implementation of the invention, or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet, and include both wired and wireless networks.
The computing system can include clients and servers. A client and server are generally remote from each other and typically interact over a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Actions associated with the processes can be rearranged and/or one or more such action can be omitted to achieve the same, or similar, results to those described herein.
Elements of different implementations may be combined to form implementations not specifically described herein.
Numerous uses of and departures from the specific system and processes disclosed herein may be made without departing from the inventive concepts. Consequently, the invention is to be construed as embracing each and every novel feature and novel combination of features disclosed herein and limited only by the spirit and scope of the appended claims.
This application is a continuation of U.S. patent application Ser. No. 12/026,977 filed Feb. 6, 2008 now abandoned which is currently pending.
Number | Name | Date | Kind |
---|---|---|---|
4365533 | Clark et al. | Dec 1982 | A |
6613971 | Carpenter | Sep 2003 | B1 |
7268286 | Carpenter | Sep 2007 | B2 |
7982119 | Taub et al. | Jul 2011 | B2 |
20040025672 | Carpenter | Feb 2004 | A1 |
20080190271 | Taub et al. | Aug 2008 | A1 |
20080190272 | Taub et al. | Aug 2008 | A1 |
20090193959 | Mestres et al. | Aug 2009 | A1 |
20100154619 | Taub et al. | Jun 2010 | A1 |
20100212478 | Taub et al. | Aug 2010 | A1 |
20110036231 | Nakadai et al. | Feb 2011 | A1 |
20110209596 | Mestres et al. | Sep 2011 | A1 |
20110214554 | Nakadai et al. | Sep 2011 | A1 |
20110232461 | Taub et al. | Sep 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20110209596 A1 | Sep 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12026977 | Feb 2008 | US |
Child | 13068019 | US |