Audio speed control device and method for determining playback speed rate on cluster basis

The audio speed control method addresses distortion in double-speed playback by clustering audio frames based on pronunciation characteristics and applying varying speed rates, effectively minimizing distortion and ensuring smooth audio output.

WO2024177215A1PCT designated stage expired Publication Date: 2024-08-29INDUSTRY UNIVERSITY COOPERATION FOUNDATION HANYANG UNIVERSITY +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/012687
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2023-08-25
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing audio speed control methods apply a fixed double speed ratio to all voice signals, leading to distortion due to the failure to account for pronunciation characteristics.

Method used

An audio speed control device and method that classify audio frames into clusters based on pronunciation characteristics, applying different double speed rates to minimize distortion, with silent sections and phoneme types like nasals, fricatives, and plosives being assigned distinct clusters and speed rates.

Benefits of technology

The method reduces audio signal distortion during double speed playback by applying adaptive speed rates based on phonetic characteristics, ensuring smooth and natural audio output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023012687_29082024_PF_FP_ABST
    Figure KR2023012687_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an audio speed control device and method for determining the playback speed rate on a cluster basis to minimize distortion at the time of increasing / decreasing playback speed. The audio speed control device comprises: a silence section unit for detecting a silence section in audio; a cluster unit for classifying at least one frame, among frames excluding the detected silence section in the audio, into multiple clusters; and a script unit for generating a playback speed script for configuring a playback speed rate in the clusters and including information about clusters having the configured playback speed rate. Here, the playback speed rate of at least one of the clusters is different from that of the other clusters.
Need to check novelty before this filing date? Find Prior Art

Description

Audio speed control device and method for determining speed ratio based on cluster

[0001] The present invention relates to an audio speed control device and method for determining a speed ratio based on a cluster.

[0002] Audio time stretching refers to a method of controlling only the tempo of an audio signal while preserving all other characteristics. Conventional techniques perform time stretching within a fixed window, applying the same speed ratio to all audio signals regardless of pronunciation characteristics. Consequently, time stretching can result in distortion of the audio signal.

[0003] The present invention provides an audio speed control device and method for determining a speed ratio based on a cluster so as to minimize distortion during speeding.

[0004] In order to achieve the above-described object, an audio speed control device according to an embodiment of the present invention includes: a silent section unit for detecting a silent section in audio; a cluster unit for classifying at least one frame among frames excluding the detected silent section in the audio into a plurality of clusters; and a script unit for setting a speed ratio for the clusters and generating a speed script including information on clusters having the set speed ratio. Here, the speed ratio of at least one of the clusters is different from the speed ratios of other clusters.

[0005] According to another embodiment of the present invention, an audio speed control device includes: a silent section unit for detecting a silent section in audio; a cluster unit for classifying phonemes of frames excluding the detected silent section in the audio into a plurality of clusters; and a script unit for setting a speed ratio for the clusters and generating a speed script including information on clusters having the set speed ratio. Here, the speed ratio of at least one of the clusters is different from that of other clusters, and nasal sounds or fricative sounds and plosive sounds are assigned to different clusters.

[0006] An audio speed control method according to one embodiment of the present invention comprises the steps of: detecting a silent section in input audio; classifying frames of the audio excluding the detected silent section into a plurality of clusters; setting a speed ratio for each of the clusters; generating a speed script including information about clusters having the set speed ratio; and playing the audio according to the generated speed script. Here, the speed ratio of at least one of the clusters is different from the speed ratios of other clusters.

[0007]

[0008] The audio speed reproduction device and method according to the present invention classifies audio into a plurality of clusters in units of frames and applies different speed rates to each cluster, so that distortion of the voice signal during speed reproduction can be minimized.

[0009] FIG. 1 is a diagram illustrating an audio speed control process according to one embodiment of the present invention.

[0010] FIG. 2 is a diagram illustrating an example of a clustering result according to one embodiment of the present invention.

[0011] FIG. 3 is a diagram illustrating an example of a speed script according to one embodiment of the present invention.

[0012] FIG. 4 is a diagram illustrating an audio speed control process according to another embodiment of the present invention.

[0013] FIG. 5 is a block diagram illustrating the configuration of an audio speed control device according to one embodiment of the present invention.

[0014] As used herein, singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, terms such as "consist of" or "include" should not be construed to necessarily include all components or steps described in the specification, and should be construed to mean that some of the components or steps may not be included, or that additional components or steps may be included. In addition, terms such as "part" and "module" described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software, or by a combination of hardware and software.

[0015]

[0016] The present invention relates to an audio speed control device and method, which can output a voice of a desired length while reducing distortion by applying different speeds according to pronunciation characteristics during time stretching.

[0017] According to one embodiment, the audio speed control device and method can classify sounds, for example, voices, within a frame into a plurality of clusters and apply different speeds to each cluster to output voices with less distortion.

[0018] For example, when the above audio is played at double speed, pronunciations belonging to the first cluster of the voices can be played at 2.2 times the speed, pronunciations belonging to the second cluster can be played at 1.8 times the speed, and pronunciations belonging to the third cluster can be played at double the speed.

[0019] Since nasal sounds such as 'ㄴ' and 'ㅁ' are slurred in pronunciation and fricative sounds such as 'ㅅ' and 'ㅎ' are severely distorted in pronunciation, clusters corresponding to nasal sounds and fricative sounds are not subjected to speeding up or have a low speeding up, and since plosive sounds such as 'ㄱ' and 'ㄷ' are less distorted even when speeding up, clusters corresponding to plosive sounds can have a high speeding up. As a result, smooth voice output can be possible. Here, the pronunciation belonging to a cluster can correspond to a phoneme or a part of a phoneme. Of course, this audio speed control method can be equally applied to other languages ​​such as English in addition to Korean.

[0020] In another embodiment, silent intervals between voices can be played at a faster speed, so that the entire audio is played at a slower speed. In this case, the overall playback time can be adjusted by adjusting the speed for the silent intervals.

[0021]

[0022] Hereinafter, various embodiments of the present invention will be described in detail with reference to the attached drawings.

[0023] FIG. 1 is a diagram illustrating an audio speed control process according to one embodiment of the present invention, FIG. 2 is a diagram illustrating an example of a clustering result according to one embodiment of the present invention, and FIG. 3 is a diagram illustrating an example of a speed script according to one embodiment of the present invention.

[0024] Referring to Fig. 1, the audio speed control method of the present embodiment can output voice naturally without distortion when audio is time-stretched. To this end, a silent section in which no speech is spoken can be detected among the input audio (S100). Here, the silent section refers to a section between voices (texts). This silent section is a section to which a fast speed is applied, and since the length of the entire audio is constant, applying a fast speed to the silent section can relatively reduce the voice speed. As a result, voice distortion can be reduced.

[0025] In one embodiment, the silent period can be detected by utilizing information of the input audio. For example, the silent period can be detected through speech features within the input audio.

[0026] Speech features may include energy, pitch, delta-pitch, mel spectrogram, and MFCC (Mel-Frequency Cepstral Coefficient). These speech features can be extracted using the parameters in Table 1 below.

[0027] Parameter valueframe length0.01sechop size0.005secpitch min65Hzpitch max400Hz

[0028] According to one embodiment, the silent period can be detected by utilizing energy among speech features. For example, for silent period detection, the first or last 10 frames of the input audio are assumed to be silent periods, and a threshold can be set based on the total energy value (SNR, Signal-to-Noise Ratio) for the silent period as shown in Equations 1 and 2 below.

[0029]

[0030] Here, S represents the overall average energy of the audio, and N represents the average energy for the assumed silent interval.

[0031]

[0032] Silent sections can be detected based on the threshold set in this way. For example, sections with an SNR below the threshold can be determined as silent sections.

[0033] Of course, the method for detecting the silent section is not limited to the above method and can be modified in various ways. For example, the silent section may be recorded in the input audio itself.

[0034] Next, the audio rate control method can perform clustering classification on all frames of the audio except for the silent section (S102). For example, the audio rate control method can classify each frame into nine clusters using K-means clustering.

[0035] For example, if a frame contains "school" as illustrated in Fig. 1, "school" can be classified into nine clusters. In this case, clustering can be performed in units smaller than phonemes. For example, "ㅎ" can be divided into three clusters, "ㅏ" can be classified into one cluster, the final consonant "ㄱ" can be classified into one cluster, the "ㄱ" of the second word can be classified into two clusters, and "ㅛ" can be classified into two clusters. Consequently, the speed ratio can be determined in units smaller than phonemes.

[0036] Of course, if the number of phonemes is greater than the number of clusters, the rate can be determined in units larger than the phonemes.

[0037] In one embodiment, all frames except silent sections can be classified into the same number of clusters, and each cluster can be filled with sound and not empty space.

[0038] In one embodiment, energy, pitch, delta-pitch, mel-spectrogram, and variance of MFCC can be used as inputs of K-means clustering for clustering classification. That is, a 5-dimension vector can be used for clustering classification.

[0039] Meanwhile, if the frame previously estimated as a silent interval is designated as the 10th cluster, a final 10 clusters can be obtained. The clustering results are shown in Figure 2.

[0040] Continuing, the audio rate control method may determine the rate of clusters for each frame (S104) and generate a rate script containing information about clusters having the determined rate (S106). For example, a rate script containing the final 10 clusters may be generated to apply adaptive time stretching. Such a rate script may include cluster information for each frame, as well as the onset time, the end time (offset), and the rate (adaptive compression rate) for the corresponding cluster, as illustrated in FIG. 3.

[0041] In one embodiment, the speedup can be calculated based on Dynamic Time Warping (DTW) of the cluster.

[0042] DTW, shown in Equation 3 below, is an algorithm that calculates the similarity between two different dynamic signals. The smaller the value, the more similar the two signals are judged to be. In other words, if the pronunciation of the cluster before and after the speed-up is similar, the DTW is small. In other words, a smaller DTW means less distortion. Therefore, a smaller DTW can be applied with a higher speed-up rate, and a larger DTW can be applied with a lower speed-up rate to minimize distortion.

[0043]

[0044] Here, Q is the original wave data, P can be wave data with a specific speed applied to Q, for example, PICOLA 2x speed, and dist(a, b) can represent the Euclidean square distance.

[0045] The similarity through DTW can be defined as Table 2 below.

[0046] Normalized-DTW0 ~ 0.250.25 ~ 0.50.5 ~ 0.750.75 ~ 1Distortion degreeNot at allAlmost noneSomewhatVery much

[0047] According to one embodiment, the audio rate control method applies Min-max normalizing to the DTW obtained for 10 clusters to convert all values ​​into values ​​between 0 and 1, and determines the rate' for each cluster as shown in Equation 4 based on the normalized DTW thus converted.

[0048]

[0049] Here, 'rate' stands for adaptive compression rate, and 'rate' stands for compression rate, both values ​​being between 0 and 1. α is the compression rate, which can be, for example, 0.8.

[0050] In this way, the speed ratio for each cluster is determined, and the audio speed control method can play audio based on a speed script having the determined speed ratio (S108). Consequently, high speed can be performed smoothly without distortion.

[0051] Overall, the silent segments will have the highest rate of multiplication, and the clusters with the largest DTW will have the lowest rate of multiplication.

[0052] In summary, the audio speed control method of the present embodiment detects silent sections in the input audio, clusters frames excluding the silent sections into a preset number of clusters, and determines a speed ratio for each cluster for playback. In particular, since the speed ratio is determined based on DTW, which reflects pronunciation characteristics, distortion during speeding can be minimized. In this case, the speed ratio of the silent section may be the highest, and the speed ratio of the cluster with the largest DTW may be the lowest.

[0053] While all frames above have the same number of clusters, the number of clusters may vary across frames. For example, the frame with the most phonemes may have a larger number of clusters than the frame with the fewest phonemes. Alternatively, the frame with the most nasal or fricative sounds may have a larger number of clusters than the frame with the fewest.

[0054] In another embodiment, while clustering is performed on a single frame basis as described above, clustering can also be performed on multiple frames. For example, two frames can be classified into nine clusters. However, the number of clusters may vary depending on the positions of the two frames, etc.

[0055] In another embodiment, while the speedup is determined for each cluster as described above, the speedup can also be determined for multiple clusters. For example, the speedup can be determined for two neighboring clusters as a single unit.

[0056] In another embodiment, frames can be clustered so that all clusters contain the same number of phonemes, and the rate can be determined for each cluster. This method will only be applicable when the number of phonemes exceeds the number of clusters.

[0057] FIG. 4 is a diagram illustrating an audio speed control process according to another embodiment of the present invention.

[0058] Referring to FIG. 4, the audio speed control method of the present embodiment can detect a silent section in input audio (S400) and cluster phonemes of all frames excluding the detected silent section (S402).

[0059] In one embodiment, phonemes with high distortion and phonemes with less distortion can be classified into different clusters. For example, nasals or fricatives and plosives can be classified into different clusters. In another example, nasals and fricatives can also be classified into different clusters.

[0060] At this time, identical phonemes can always belong to the same cluster, and the same cluster can have the same rate applied. Of course, even within the same cluster, different rate applied to each frame can be applied. The rate can be determined based on DTW, which reflects pronunciation characteristics. This has been described in detail above, so further explanation is omitted.

[0061] In another embodiment, identical phonemes can be assigned to different clusters depending on their arrangement. That is, identical phonemes can be arranged into different clusters depending on their position in a word. For example, a phoneme positioned at the beginning of a word and a phoneme positioned after the second consonant can be assigned to different clusters, even if they are identical phonemes. In another example, a phoneme positioned as a final consonant and a phoneme that is not a final consonant can be assigned to different clusters, even if they are identical phonemes.

[0062] Next, the audio speed control method determines a speed ratio for each cluster to generate a speed script (S404), and can play audio according to the speed script (S406).

[0063] In summary, the audio speed control method of the present embodiment can cluster based on phonemes, determine a speed ratio according to the cluster, and play audio at the determined speed ratio.

[0064] FIG. 5 is a block diagram illustrating the configuration of an audio speed control device according to one embodiment of the present invention.

[0065] Referring to FIG. 5, the audio speed control device of the present embodiment may include a control unit (500), a communication unit (502), a silent section unit (504), a cluster unit (506), a script unit (508), a playback unit (510), and a storage unit (512).

[0066] The communication unit (502) is a communication connection channel with an external device and can receive audio input.

[0067] The silent section (504) detects silent sections in the input audio.

[0068] The cluster unit (506) can cluster all frames of the input audio except for silent sections. At this time, silent sections may also be classified as one cluster.

[0069] The script section (508) can determine a speed ratio for each cluster based on, for example, DTW and generate a speed script having the determined speed ratio.

[0070] The playback unit (510) can play audio according to the generated speed script.

[0071] The storage unit (512) can store various information such as a speed script.

[0072] The control unit (500) can control the overall operation of the components of the audio speed control device.

[0073]

[0074] Meanwhile, the components of the aforementioned embodiments can be easily understood from a process perspective. That is, each component can be understood as a separate process. Furthermore, the processes of the aforementioned embodiments can be easily understood from the perspective of the device components.

[0075] In addition, the technical contents described above may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. The computer-readable medium may include program commands, data files, data structures, etc., alone or in combination. The program commands recorded on the medium may be those specially designed and configured for the embodiments or may be known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands, such as ROMs, RAMs, and flash memories. Examples of program commands include not only machine language codes generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc. The hardware devices may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

[0076] The above-described embodiments of the present invention are disclosed for the purpose of illustration, and those skilled in the art with common knowledge of the present invention will be able to make various modifications, changes, and additions within the spirit and scope of the present invention, and such modifications, changes, and additions should be considered to fall within the scope of the following patent claims.

Claims

1. Silent section that detects silent sections in audio; A cluster unit that classifies at least one frame among the frames excluding the detected silent section from the audio into a plurality of clusters; and Including a script section that sets a speed ratio for the above clusters and generates a speed script that includes information about clusters having the set speed ratio, An audio speed control device characterized in that at least one of the above clusters has a speed rate different from that of the other clusters.

2. In paragraph 1, Further comprising a playback unit that plays audio according to the generated speed script, An audio speed control device characterized in that all frames excluding the silent section are classified into clusters, a speed rate is set for each cluster, the number of clusters in all frames is the same, and all clusters are filled with sound.

3. An audio speed control device according to claim 1, characterized in that one phoneme is divided and included in a plurality of clusters.

4. An audio speed control device according to claim 1, characterized in that the speed rate of the silent section is greater than the speed rate of the cluster of the frame.

5. An audio speed control device according to claim 1, characterized in that the silent section is detected based on energy among the speech characteristics of the audio.

6. In the first paragraph, the speed ratio is determined by using the following DTW (Dynamic Time Warping) that calculates the similarity between the pronunciation of the cluster before speeding up and the pronunciation of the cluster after speeding up. An audio speed control device characterized in that the larger the DTW, the smaller the speed ratio. [ DTW mathematical formula ] Here, Q is the original wave data, P is the wave data with a preset speed applied to Q, and dist(a, b) represents the Euclidean square distance.

7. An audio speed control device characterized in that, in the first paragraph, the same sound is arranged in different clusters according to the frame and different speed rates are applied to the same sound.

8. Silent section that detects silent sections in audio; A cluster unit that classifies phonemes of frames excluding the detected silent sections among the above audio into multiple clusters; and Including a script section that sets a speed ratio for the above clusters and generates a speed script that includes information about clusters having the set speed ratio, An audio rate control device characterized in that the rate of at least one of the clusters is different from the rate of the other clusters, and nasal sounds or fricative sounds and plosive sounds are assigned to different clusters.

9. In paragraph 8, clustering is performed by frame unit, An audio speed control device characterized in that the speed ratio of the cluster to which the nasal sound or the fricative sound belongs is smaller than the speed ratio of the cluster to which the plosive sound belongs.

10. An audio rate control device according to claim 8, characterized in that the same phoneme belongs to the same cluster regardless of the frame.

11. An audio speed control device characterized in that, in accordance with the position of the phoneme in paragraph 8, even if the phoneme is the same, it belongs to a different cluster.

12. Step of detecting silent sections in input audio; A step of classifying frames excluding the detected silent sections from the above audio into a plurality of clusters; A step of setting a speed ratio for each of the above clusters; A step of generating a speed script including information on clusters having the above set speed ratio; and Including a step of playing audio according to the generated speed script, An audio speed control method, characterized in that the speed ratio of at least one of the above clusters is different from the speed ratio of the other clusters.

13. An audio speed control method according to claim 12, characterized in that the sound belonging to at least one of the clusters is a pronunciation unit smaller than a phoneme.

Citation Information

Patent Citations

  • Discrimination method for english pronounciation of l from r, and device for practicing english hearing

    JP1998171342A

  • Video playback device, reproduced script generating device, video distributing device, video cutting-out device, and video storage device

    JP2005236527A

  • Voice reproducing device, voice recording / rereproducing device, methods therefor, recording medium, and integrated circuit

    JP2007025039A

  • Reproducer, reproduction method and computer program

    JP2012155822A

  • Audio playback device

    JP4965371B2