A voice overclocking method and system
By combining phoneme segmentation and Gaussian-hidden Markov models, the GAN model is used to reconstruct the missing high-frequency signals of low-frequency speech signals in underwater communications, solving the problems of information loss and recognition difficulties in low-resolution speech transmission, and improving It improves the accuracy of speech segmentation and recognition, and enhances the information security and quality of underwater communications.
Patent Information
- Application Number
- CN202210648887.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-09
AI Technical Summary
Low-resolution voice transmission in underwater communications leads to information loss and difficulty in voice recognition. There is little research on the security of covert underwater acoustic communications with existing technologies, which affects information security and communication quality.
Using a method that combines phoneme segmentation and Gaussian-hidden Markov model, the speech data is segmented through energy spectrum analysis, Mel cepstral coefficients and frame energy features, and the GAN model is used for speech overclocking to reconstruct the missing high frequencies of the low-frequency speech signal. signal to improve speech segmentation and recognition accuracy.
It improves the accuracy of speech segmentation and recognition, enhances the speech quality in underwater communication, enriches information details, and improves the effect of information security and covert communication.
Smart Images

Figure CN115050389B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of underwater communication, and in particular to a voice overclocking method and system. Background Art
[0002] The underwater communication environment is an open environment. Underwater information transmission involves a lot of sensitive information. Therefore, whether it is through public channels or military channels, it is very vulnerable to various attacks and threats. It is very important to ensure the security of underwater communication information. As the most important and effective way of underwater communication, underwater acoustic communication has always been widely used in underwater information exchange, communication and security due to its advantages of convenient application, flexible transformation and economic use, and plays a vital role.
[0003] At present, the research on high-speed communication, long-distance communication and low error rate communication in the field of underwater acoustic communication has become increasingly mature, but the research on underwater acoustic communication security, especially the research on covert underwater acoustic communication technology, is relatively small. The importance of underwater information security and covert information communication is also becoming increasingly prominent. The use of low-resolution voice communication can save underwater communication costs and increase the amount of information carried during underwater communication. However, there are problems such as information loss during low-resolution voice transmission and difficulty for the receiver to recognize the voice. Summary of the invention
[0004] The object of the present invention is to provide a speech overclocking method and system to improve the accuracy of speech segmentation and speech recognition.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] A voice overclocking method, comprising:
[0007] Get the original voice data;
[0008] Performing energy spectrum analysis on the original speech data to obtain a first segmentation mark;
[0009] The original speech data is identified by using a Gaussian Hidden Markov Model to obtain a second segmentation mark;
[0010] Segment the original speech data using Mel-frequency cepstral coefficients and frame energy features according to the first segmentation mark and the second segmentation mark to obtain a speech segmentation result;
[0011] The speech segmentation result is subjected to speech overclocking using a GAN model to obtain high-frequency underwater audio information.
[0012] Optionally, performing energy spectrum analysis on the original speech data to obtain a first segmentation mark specifically includes:
[0013] Acquire the speech energy of the original speech data and determine a first set threshold and a second set threshold according to a root mean square of the speech energy;
[0014] Determine whether the speech energy of each frame of the original speech data is greater than a first set threshold, and obtain a first determination result;
[0015] If the first judgment result is yes, determining that the frame corresponding to the speech energy is a suspected phoneme frame;
[0016] If the first judgment result is no, determining that the frame corresponding to the speech energy is a non-suspected phoneme frame;
[0017] Determine a reference phoneme according to the continuous suspected phoneme frames and the second set threshold;
[0018] A first segmentation mark is determined according to the suspected phoneme frame, the reference phoneme and a zero-crossing rate.
[0019] Optionally, the speech segmentation result is subjected to speech overclocking by using a GAN model to obtain high-frequency underwater audio information, specifically including:
[0020] According to the speech segmentation result, a discrete Fourier transform is used to construct an amplitude spectrum spectrogram of the low-frequency speech signal and a phase spectrum spectrogram of the low-frequency speech signal;
[0021] Generate a low-resolution multi-channel spectrogram according to the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal;
[0022] Generate a high-resolution spectrogram using the GAN model according to the low-resolution multi-channel spectrogram;
[0023] Determine high-resolution spectrogram amplitude value information and high-resolution spectrogram argument angle information according to the high-resolution spectrogram;
[0024] An inverse discrete Fourier transform is performed according to the high-resolution spectrogram amplitude value information and the high-resolution spectrogram amplitude angle information to obtain high-frequency underwater audio information.
[0025] Optionally, constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal by using discrete Fourier transform according to the speech segmentation result specifically includes:
[0026] Determine the spectrum energy density function of the speech segmentation result by discrete Fourier transform;
[0027] The amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal are determined according to the spectrum energy density function.
[0028] A voice overclocking system, comprising:
[0029] An acquisition module, used to acquire original voice data;
[0030] An energy spectrum analysis module, used for performing energy spectrum analysis on the original speech data to obtain a first segmentation mark;
[0031] A recognition module, used for recognizing the original speech data using a Gaussian Hidden Markov Model to obtain a second segmentation mark;
[0032] A segmentation module, configured to segment the original speech data using Mel cepstral coefficients and frame energy features according to the first segmentation mark and the second segmentation mark to obtain a speech segmentation result;
[0033] The voice overclocking module is used to perform voice overclocking on the voice segmentation result using a GAN model to obtain high-frequency underwater audio information.
[0034] Optionally, the energy spectrum analysis module specifically includes:
[0035] An acquisition unit, configured to acquire speech energy of the original speech data and determine a first set threshold and a second set threshold according to a root mean square of the speech energy;
[0036] A judgment unit, used to judge whether the speech energy of each frame of the original speech data is greater than a first set threshold, and obtain a first judgment result;
[0037] a suspected phoneme frame determining unit, configured to determine, if the first judgment result is yes, that the frame corresponding to the speech energy is a suspected phoneme frame;
[0038] a non-suspected phoneme frame determining unit, configured to determine, if the first judgment result is no, that the frame corresponding to the speech energy is a non-suspected phoneme frame;
[0039] a reference phoneme determination unit, configured to determine a reference phoneme according to the continuous suspected phoneme frames and the second set threshold;
[0040] The first segmentation mark determining unit is used to determine a first segmentation mark according to the suspected phoneme frame, the reference phoneme and the zero-crossing rate.
[0041] Optionally, the voice overclocking module specifically includes:
[0042] A construction unit, used for constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal by using discrete Fourier transform according to the speech segmentation result;
[0043] A low-resolution multi-channel spectrogram generating unit, used for generating a low-resolution multi-channel spectrogram according to the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal;
[0044] A high-resolution spectrogram generating unit, configured to generate a high-resolution spectrogram using the GAN model according to the low-resolution multi-channel spectrogram;
[0045] A high-resolution spectrogram amplitude value information and high-resolution spectrogram argument information determining unit, used to determine the high-resolution spectrogram amplitude value information and high-resolution spectrogram argument information according to the high-resolution spectrogram;
[0046] The inverse discrete Fourier transform unit is used to perform an inverse discrete Fourier transform according to the high-resolution spectrogram amplitude value information and the high-resolution spectrogram amplitude angle information to obtain high-frequency underwater audio information.
[0047] Optionally, the construction unit specifically includes:
[0048] A spectrum energy density function determination subunit, used for determining a spectrum energy density function of the speech segmentation result by using discrete Fourier transform;
[0049] The amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal determine the subunit, which is used to determine the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal according to the spectrum energy density function.
[0050] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0051] The present invention performs energy spectrum analysis on the original speech data to obtain a first segmentation mark; uses a Gaussian-Hidden Markov Model to identify the original speech data to obtain a second segmentation mark; uses the Mel-frequency cepstral coefficient and frame energy features to segment the original speech data according to the first segmentation mark and the second segmentation mark to obtain a speech segmentation result; uses a GAN model to perform speech overclocking on the speech segmentation result to obtain high-frequency underwater audio information. The method combines phoneme segmentation with a Gaussian Mixed Model-Hidden Markov Model (GMM-HMM) to segment speech based on phonemes and enrich speech detail information in units of phonemes. The GMM-HMM model recognition result and the result of the energy spectrum analysis are used as segmentation marks to reconstruct the high-frequency signal missing from the low-frequency speech signal through the GAN model, so as to achieve speech overclocking and enhancement, thereby improving the accuracy of speech segmentation and speech recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0053] Figure 1 The present invention provides a flow chart of the audio overclocking method. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] The purpose of the present invention is to provide a method and system for overclocking a sound, so as to improve the accuracy of speech segmentation and speech recognition.
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0057] like Figure 1 As shown, the present invention provides a voice overclocking method, comprising:
[0058] Step 101: Obtain original voice data.
[0059] Step 102: Performing energy spectrum analysis on the original speech data to obtain a first segmentation mark. Performing energy spectrum analysis on the original speech data to obtain a first segmentation mark specifically includes:
[0060] Acquire the speech energy of the original speech data and determine a first set threshold and a second set threshold according to the root mean square of the speech energy; determine whether the speech energy of each frame of the original speech data is greater than the first set threshold to obtain a first judgment result; if the first judgment result is yes, determine that the frame corresponding to the speech energy is a suspected phoneme frame; if the first judgment result is no, determine that the frame corresponding to the speech energy is a non-suspected phoneme frame; determine a reference phoneme according to the continuous suspected phoneme frames and the second set threshold; determine a first segmentation mark according to the suspected phoneme frame, the reference phoneme and the zero-crossing rate.
[0061] Energy spectrum analysis uses the root mean square of speech energy to determine two thresholds: the first threshold m1 and the second threshold mh. Frames with energy greater than m1 are recorded as suspected phoneme frames. If there are frames with energy greater than mh in consecutive suspected phoneme frames, the consecutive frames are considered to be a valid phoneme for reference during phoneme segmentation, that is, reference phonemes. Since the zero-crossing rate of phonemes is low, and the zero-crossing rate is high at the beginning of pronunciation, the reference value u is calculated from the zero-crossing rate of all speech frames. When the zero-crossing rate is lower than u, the frame is considered to be the start or end time of the phoneme frame. For each suspected phoneme and reference phoneme, the nearest frames with a zero-crossing rate lower than u are selected at the left and right ends of the time axis as the true start and end positions of the phoneme, that is, the position of the first segmentation mark.
[0062] Step 103: The original speech data is identified using a Gaussian Hidden Markov Model to obtain a second segmentation mark.
[0063] Step 104: Segment the original speech data according to the first segmentation mark and the second segmentation mark using Mel-frequency cepstral coefficients and frame energy features to obtain a speech segmentation result.
[0064] MFCC is a special kind of cepstral coefficient. Feature extraction is based on pitch characteristics. Before taking the logarithm and DCT operations, a set of Mel-scale triangular filters are added to filter the power spectrum. The number of filters is close to the number of critical bands, and the power spectrum is converted from linear to Mel frequency to simulate the perceptual characteristics of the human ear.
[0065] The transfer function of each triangular filter is:
[0066]
[0067] Where: center frequency f(m),
[0068] GMM-HMM is described by the state factor model λ = (O, S, π, A, B) generated by GMM-HMM, where O represents the set of L observation vectors {o1, o2, …, o L}, S is a set of K HMM states {s1,s2,…,s K}, the initial state distribution is π={π1,π2,…π k}, A is the matrix of all state transition probabilities (a ij ), B is the probability distribution of the state observation symbol {b i (o j )} k·l, A is the state transition probability matrix. Each element in the matrix, i, j, refers to the probability of the i-th category transferring to the j-th category. B is the observation probability matrix, that is, the emission probability matrix. Each element in the matrix, in formula (1), refers to the probability that the observation symbol oj exists in the i-th category when there is a set of 1 observation vector and k states. The probability of the observation vector sequence in the generative model λ of HMM is:
[0069] p(O|M)=a 12 b2(o1)a 22 b2(o2)a 23 b3(o3)… (2)
[0070] In GMM-HMM-based speech recognition, V is unknown hidden, then:
[0071]
[0072] Where P(O|M) is the probability of the observation sequence, which means the probability of the observation sequence O appearing under the calculated generative model λ. v(0) is the initial state of the model, and v(t+1) is the final state of the model. When the observation sequence is O = [o(1), o(2), ..., o(t)], the unknown state sequence V is the state sequence that makes the observation vector sequence O appear most likely, that is:
[0073]
[0074] Wherein, model N corresponds to one phoneme, that is, p(O|M)=p(M|O).
[0075] According to the reference phonemes and suspected phonemes, and combined with the results of GMM-HMM recognition, the recognition results of each frame in each phoneme are counted, wherein the result of GMM-HMM recognition is the recognition result of the original speech after the training model (GMH-HMM), i.e., the second segmentation mark. The recognition result with the largest weight is used as the recognition result of the entire segment. The non-continuous suspected phoneme frames, reference phonemes or continuous suspected phonemes and ordinary frames in the middle are merged into one frame, and the recognition result is still based on the recognition result of the reference phoneme or continuous suspected phoneme. Consider the adjacent reference phonemes, merge the reference phonemes with consistent GMM-HMM recognition results and close on the time axis, correspond the frame data with the original speech data, and obtain the marked speech data, that is, retain the valid speech data.
[0076] Steps 101 to 104 are to segment or divide the original speech data using large-granularity features and small-granularity features, and then extract Mel cepstral coefficients (in simulation: take 10-12 orders, with 10th order having the best effect) and frame energy features, extract features of speech signals containing underwater noise, and recognize them through hidden Markov models (in simulation: the number of states is 7, and the number of iterations is 300), thereby enhancing the anti-noise ability of noisy speech signals and improving the recognition rate. Through phoneme segmentation and Gaussian-hidden Markov models, the speech is reasonably segmented or merged to improve the accuracy of segmentation and speech feature recognition, while maximizing the recognition rate of underwater communication speech without losing the details of the speech.
[0077] Step 105: Use the GAN model to perform voice overclocking on the speech segmentation result to obtain high-frequency underwater audio information.
[0078] The method of using a GAN model to perform speech overclocking on the speech segmentation result to obtain high-frequency underwater audio information specifically includes: constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal according to the speech segmentation result using a discrete Fourier transform; the method of constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal according to the speech segmentation result using a discrete Fourier transform specifically includes: determining a spectral energy density function for the speech segmentation result using a discrete Fourier transform; and determining an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal according to the spectral energy density function. A low-resolution multi-channel spectrogram is generated based on the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal; a high-resolution spectrogram is generated using the GAN model based on the low-resolution multi-channel spectrogram; amplitude value information and amplitude angle information of the high-resolution spectrogram are determined based on the high-resolution spectrogram; an inverse discrete Fourier transform is performed based on the amplitude value information and the amplitude angle information of the high-resolution spectrogram to obtain high-frequency underwater audio information.
[0079] Since the high-frequency components in the low-frequency voice signal are missing, the voice quality in the underwater acoustic communication process is poor. How to reconstruct the missing high-frequency components from the low-frequency voice signal becomes the key to improving the quality of underwater acoustic communication and enriching the voice information. Therefore, based on the phoneme spectrogram, the present invention reconstructs the high-frequency signal missing from the low-frequency voice signal through the GAN model, further improves the voice quality, and realizes voice overclocking and enhancement.
[0080] The GAN model is used in the image super-resolution task to perform speech super-resolution. The secret speech after phoneme segmentation is converted into a monophone multi-channel spectrogram. Discrete Fourier Transform (DFT) is used to extract the amplitude and amplitude information of the low-frequency speech signal to establish an amplitude spectrum spectrogram and a phase spectrum spectrogram respectively. On this basis, the two single-channel spectrograms are merged into a low-resolution monophone multi-channel spectrogram, which is then input into the GAN model. The generator G and the discriminator D are used to generate a high-resolution spectrogram. The amplitude channel information and the amplitude channel information of the high-resolution spectrogram are extracted and the high-frequency speech signal is obtained by inverse discrete Fourier transform (IDFT).
[0081] Assume that the discrete time domain low-frequency speech signal is x(h), and the speech signal is framed to be x n (h), n = 0, 1, ... N-1, n is the frame number, h is the time number of frame synchronization, and N is the number of sampling points per frame. DFT is used on the framed speech signal, and we have:
[0082]
[0083] Where k is the serial number of the sampling point N, from 0 to N-1.
[0084] The generation process of the spectrogram is based on the spectrum energy density function P(n, k) at time h, which is:
[0085] P(n, k) = |X(n, k)| 2 =(X(n,k)×conj(X(n,k))) (6)
[0086] The gray level of P(n, k) constitutes a two-dimensional image as a spectrogram, and 10log 10 (Q(n, k)) converts the spectrogram unit into dB. Q(n, k) represents the grayscale information of P(n, k). It retains the amplitude information and loses the phase angle information of the low-frequency speech signal. To ensure the feasibility of DFT, the spectrogram is drawn with the values of A(n, k) and φ(n, k). The value of A(n, k) represents the grayscale amplitude spectrum spectrogram, and the value of φ(n, k) represents the grayscale phase spectrum spectrogram. There are:
[0087]
[0088]
[0089] The generation of low-resolution multi-channel spectrogram is based on RGB three-channel imaging, that is, the amplitude spectrum spectrogram is used as the B channel, the phase spectrum spectrogram is used as the G channel, and the R channel value is set to 0.
[0090] Since the spectrogram is similar to an image or video frame, the GAN model is used to achieve super resolution. The GAN model includes a generator G and a discriminator D, and the objective function is:
[0091] L GAN (G, D) = E x,y [log D(x,y)]+E x,z [log(1-D(x,G(x,z)))] (9)
[0092] In the formula, x is the input low-resolution monophone spectrogram, y is the actual resolution spectrogram, function D(x, y) represents the probability that the input monophone spectrogram comes from the real data set, and function D(x, G(x, z)) represents the probability that the input low-resolution monophone spectrogram comes from the generator G. G(x, z) is the generator G obtained by specific noise. E is the mathematical expectation, that is, the weighted average. Then, the optimization goal is to maximize the probability that the network discriminator D is correctly judged, and G(x, z) minimizes the probability that the samples generated by the generator G are judged, which is:
[0093]
[0094] When the parameters of the generator G and the discriminator D converge, the generator G can be used to reconstruct the low-resolution monophone multi-channel spectrogram into a high-resolution spectrogram.
[0095] Split the channels of the high-resolution spectrogram and obtain the amplitude value information A from the B channel of the high-resolution spectrogram h (n h , k h ), the R channel of the image obtains the angle information φ h (n h , k h ), in order to restore the Fourier representation of the original speech signal x, we have:
[0096]
[0097] X h (n h , k h ) performs IDFT to obtain the high-frequency underwater audio signal:
[0098]
[0099] Where n his the frame number, indicating the corresponding original speech frame used to restore the high-frequency signal, kh is the time number after the inverse Fourier transform, h is the time number of the frame synchronization, and N is the frame length.
[0100] During underwater communication, high-frequency speech signals may be damaged or missing. The present invention uses the collected speech signals, based on the phoneme spectrogram, to reconstruct the high-frequency signals missing from the original speech signals through the low-frequency speech signals in the speech and the GAN model, thus obtaining the high-frequency speech signals obtained by formula (12).
[0101] The present invention adopts a method combining phoneme segmentation and Gaussian Mixed Model-HiddenMarkoy Model (GMM-HMM) to segment speech based on phonemes, and enrich speech detail information with phonemes as units. Large-granularity features and small-granularity features are used to characterize the marking basis and segmentation basis required for speech segmentation, and the speech data is accurately segmented and marked. Mel-Frequency Cepstral Coefficient (MFCC) and frame energy features are extracted as speech features. The marking basis comes from the recognition result of the GMM-HMM model, and the segmentation basis comes from the recognition result of the GMM-HMM model and the result of energy spectrum analysis. When marking the original data, the two segmentation bases complement each other, and based on the phoneme spectrogram, the high-frequency signal missing from the low-frequency speech signal is reconstructed through the GAN model to achieve speech overclocking. Improve the accuracy of speech segmentation.
[0102] The present invention also provides a voice overclocking system, comprising:
[0103] The acquisition module is used to obtain original voice data.
[0104] The energy spectrum analysis module is used to perform energy spectrum analysis on the original speech data to obtain a first segmentation mark.
[0105] The recognition module is used to recognize the original speech data using a Gaussian Hidden Markov Model to obtain a second segmentation mark.
[0106] The segmentation module is used to segment the original speech data according to the first segmentation mark and the second segmentation mark using Mel cepstral coefficients and frame energy features to obtain a speech segmentation result.
[0107] The voice overclocking module is used to perform voice overclocking on the voice segmentation result using a GAN model to obtain high-frequency underwater audio information.
[0108] As an optional implementation manner, the energy spectrum analysis module specifically includes:
[0109] An acquisition unit is used to acquire the speech energy of the original speech data and determine a first set threshold and a second set threshold according to a root mean square of the speech energy.
[0110] The judgment unit is used to judge whether the speech energy of each frame of the original speech data is greater than a first set threshold value to obtain a first judgment result.
[0111] The suspected phoneme frame determining unit is used to determine that the frame corresponding to the speech energy is a suspected phoneme frame if the first judgment result is yes.
[0112] The non-suspected phoneme frame determining unit is configured to determine that the frame corresponding to the speech energy is a non-suspected phoneme frame if the first judgment result is no.
[0113] The reference phoneme determination unit is used to determine the reference phoneme according to the continuous suspected phoneme frames and the second set threshold.
[0114] The first segmentation mark determining unit is used to determine a first segmentation mark according to the suspected phoneme frame, the reference phoneme and the zero-crossing rate.
[0115] As an optional implementation manner, the voice overclocking module specifically includes:
[0116] A construction unit is used to construct an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal by using discrete Fourier transform according to the speech segmentation result.
[0117] A low-resolution multi-channel spectrogram generating unit is used to generate a low-resolution multi-channel spectrogram according to the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal.
[0118] A high-resolution spectrogram generation unit is used to generate a high-resolution spectrogram based on the low-resolution multi-channel spectrogram using the GAN model.
[0119] A high-resolution spectrogram amplitude value information and a high-resolution spectrogram angle information determination unit is used to determine the high-resolution spectrogram amplitude value information and the high-resolution spectrogram angle information according to the high-resolution spectrogram.
[0120] The inverse discrete Fourier transform unit is used to perform an inverse discrete Fourier transform according to the high-resolution spectrogram amplitude value information and the high-resolution spectrogram amplitude angle information to obtain high-frequency underwater audio information.
[0121] As an optional implementation mode, the construction unit specifically includes:
[0122] The spectrum energy density function determination subunit is used to determine the spectrum energy density function of the speech segmentation result by using discrete Fourier transform.
[0123] The amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal determine the subunit, which is used to determine the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal according to the spectrum energy density function.
[0124] The present invention uses a phoneme spectrogram combined with Mel-frequency cepstral coefficients and a Gaussian-Hidden Markov Model to maximize the speech recognition rate of underwater communications without losing the details of the speech. Based on the phoneme spectrogram, the high-frequency signal missing from the original speech signal is reconstructed through the low-frequency speech signal in the speech and the GAN model, thereby achieving speech enhancement.
[0125] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0126] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A voice overclocking method, characterized in that: include: Get the original voice data; Performing energy spectrum analysis on the original speech data to obtain a first segmentation mark; The original speech data is segmented or divided into words by using large-granularity features and small-granularity features, and then Mel-frequency cepstral coefficients and frame energy features are extracted, and the second segmentation mark is obtained by identifying the features through a Gaussian Hidden Markov Model; The first segmentation mark and the second segmentation mark complement each other to obtain a speech segmentation result; At the same time, based on the phoneme spectrogram, the speech segmentation result is subjected to speech overclocking using a GAN model to obtain high-frequency underwater audio information.
2. The voice overclocking method according to claim 1, characterized in that: The performing energy spectrum analysis on the original speech data to obtain a first segmentation mark specifically includes: Acquire the speech energy of the original speech data and determine a first set threshold and a second set threshold according to a root mean square of the speech energy; Determine whether the speech energy of each frame of the original speech data is greater than a first set threshold, and obtain a first determination result; If the first judgment result is yes, determining that the frame corresponding to the speech energy is a suspected phoneme frame; If the first judgment result is no, determining that the frame corresponding to the speech energy is a non-suspected phoneme frame; Determine a reference phoneme according to the continuous suspected phoneme frames and the second set threshold; A first segmentation mark is determined according to the suspected phoneme frame, the reference phoneme and a zero-crossing rate.
3. The voice overclocking method according to claim 1, characterized in that: The speech segmentation result is subjected to speech overclocking by using a GAN model to obtain high-frequency underwater audio information, specifically including: According to the speech segmentation result, a discrete Fourier transform is used to construct an amplitude spectrum spectrogram of the low-frequency speech signal and a phase spectrum spectrogram of the low-frequency speech signal; Generate a low-resolution multi-channel spectrogram according to the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal; Generate a high-resolution spectrogram using the GAN model according to the low-resolution multi-channel spectrogram; Determine high-resolution spectrogram amplitude value information and high-resolution spectrogram argument angle information according to the high-resolution spectrogram; The high-frequency underwater audio information is obtained by performing an inverse discrete Fourier transform according to the amplitude value information of the high-resolution spectrogram and the amplitude angle information of the high-resolution spectrogram.
4. The voice overclocking method according to claim 3, characterized in that: The step of constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal by using discrete Fourier transform according to the speech segmentation result specifically includes: Determine the spectrum energy density function of the speech segmentation result by discrete Fourier transform; The amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal are determined according to the spectrum energy density function.
5. A voice overclocking system, characterized in that: include: An acquisition module, used to acquire original voice data; An energy spectrum analysis module, used for performing energy spectrum analysis on the original speech data to obtain a first segmentation mark; A recognition module, used for segmenting or dividing the original speech data by using large-granularity features and small-granularity features, then extracting Mel-frequency cepstral coefficients and frame energy features, and performing recognition by using a Gaussian-Hidden Markov Model to obtain a second segmentation mark; A segmentation module, used for complementing the first segmentation mark and the second segmentation mark to obtain a speech segmentation result; The speech overclocking module is used to perform speech overclocking on the speech segmentation result by using a GAN model based on the phoneme spectrogram to obtain high-frequency underwater audio information.
6. The voice overclocking system according to claim 5, characterized in that: The energy spectrum analysis module specifically includes: An acquisition unit, configured to acquire speech energy of the original speech data and determine a first set threshold and a second set threshold according to a root mean square of the speech energy; A judgment unit, used to judge whether the speech energy of each frame of the original speech data is greater than a first set threshold, and obtain a first judgment result; a suspected phoneme frame determining unit, configured to determine, if the first judgment result is yes, that the frame corresponding to the speech energy is a suspected phoneme frame; a non-suspected phoneme frame determining unit, configured to determine, if the first judgment result is no, that the frame corresponding to the speech energy is a non-suspected phoneme frame; a reference phoneme determination unit, configured to determine a reference phoneme according to the continuous suspected phoneme frames and the second set threshold; The first segmentation mark determining unit is used to determine a first segmentation mark according to the suspected phoneme frame, the reference phoneme and the zero-crossing rate.
7. The voice overclocking system according to claim 5, characterized in that: The voice overclocking module specifically includes: A construction unit, used for constructing an amplitude spectrum spectrogram of a low-frequency speech signal and a phase spectrum spectrogram of a low-frequency speech signal by using discrete Fourier transform according to the speech segmentation result; A low-resolution multi-channel spectrogram generating unit, used for generating a low-resolution multi-channel spectrogram according to the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal; A high-resolution spectrogram generating unit, configured to generate a high-resolution spectrogram using the GAN model according to the low-resolution multi-channel spectrogram; A high-resolution spectrogram amplitude value information and high-resolution spectrogram argument information determining unit, used to determine the high-resolution spectrogram amplitude value information and high-resolution spectrogram argument information according to the high-resolution spectrogram; The inverse discrete Fourier transform unit is used to perform an inverse discrete Fourier transform according to the high-resolution spectrogram amplitude value information and the high-resolution spectrogram amplitude angle information to obtain high-frequency underwater audio information.
8. The voice overclocking system according to claim 7, characterized in that: The construction unit specifically includes: A spectrum energy density function determination subunit, used for determining a spectrum energy density function of the speech segmentation result by using discrete Fourier transform; The amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal determine the subunit, which is used to determine the amplitude spectrum spectrogram of the low-frequency speech signal and the phase spectrum spectrogram of the low-frequency speech signal according to the spectrum energy density function.
Citation Information
Patent Citations
Voice synthesis method and device, storage medium and electronic equipment
CN111402855A
Speech enhancement and detection method suitable for actual communication condition
CN114283835A
