An intelligent voice interaction method for a digital memory intervention system

Through the combination of speech acquisition and enhancement modules, the spectrogram, fundamental frequency and formant algorithms are used to process the speech of the elderly, which solves the problem of inaccurate speech recognition for the elderly, improves the recognition accuracy and sound quality, and is suitable for the elderly and Voice interaction with electronic devices.

CN118430542BActive Publication Date: 2024-08-30JILIN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410888291.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-08-30
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

In the existing voice interaction technology, the inaccurate speech recognition of the elderly is mainly due to the large difference between the speech characteristics and the young people, resulting in blurred speech and poor audio quality. It is difficult for the existing speech recognition model to accurately recognize the speech of the elderly.

Method used

The audio vectors of the elderly and young are collected through the speech acquisition module. The speech enhancement module uses spectrogram analysis, fundamental frequency extraction and formant enhancement algorithms to calculate speech ambiguity and fundamental frequency shift distance, build a vowel spectrogram collection, and perform signal filtering and Synthesize and obtain enhanced aged spectrogram for speech recognition and interaction.

Benefits of technology

It improves the accuracy of speech recognition for the elderly, eliminates the problem of weakened resonance ability caused by the aging of the elderly's vocal tract, makes the timbre and sound quality closer to that of young people, and solves the problem of inaccurate speech recognition for the elderly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430542B
    Figure CN118430542B
Patent Text Reader

Abstract

The present application relates to the field of speech processing technology, and specifically to an intelligent speech interaction method of a digital memory intervention system, the method comprising: speech collection of elderly audio vectors and young audio vectors; speech enhancement of the elderly audio vectors, calculation of speech ambiguity; calculation of the fundamental frequency shift distance, and obtaining the elderly spectrogram after frequency shift; calculation of the formant enhancement envelope; calculation of the enhanced envelope to obtain the formant enhancement spectrum; obtaining the enhanced elderly spectrogram; speech recognition of the enhanced elderly spectrogram to obtain text data; and comparison with the text data in the corpus to find matching answer text data; speech synthesis of the answer text data to complete speech interaction and memory intervention for the elderly. The present application can reduce the difference in speech characteristics between the elderly and young people, and improve the accuracy of speech recognition for the elderly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of speech processing technology, and in particular to an intelligent speech interaction method for a digital memory intervention system. Background Art

[0002] Voice interaction technology is a technology that uses voice as the main information carrier. The voice interaction process includes four parts: voice acquisition, voice recognition (ASR), natural language processing (NLP) and text-to-speech synthesis (TTS). The advantage of voice interaction is that it is direct and convenient. There is no need to operate complex electronic terminals, which is suitable as a way for the elderly to interact with electronic devices. As the elderly age, their memory gradually declines, which leads to frequent forgetting of matters. Therefore, electronic memos can be used to remind the elderly regularly. Since electronic devices are complicated to operate, voice interaction technology can be used as the main way for the elderly to interact with electronic memos, so as to intervene in the elderly's memories at predetermined times and assist the elderly in their lives.

[0003] Existing voice interaction technologies are relatively mature, but most of them are built based on corpora of young people. Most of the existing public corpora are from young people, and there are very few corpora of the elderly, which are rarely used. As the physiological characteristics of the vocal part of the elderly change with age, the vocal characteristics of the elderly are quite different from those of young people, resulting in fuzzy speech and poor audio quality, which in turn makes it easy for existing speech recognition models to make speech recognition errors when performing speech recognition on the elderly. Therefore, in voice interaction technology, there is a problem of inaccurate speech recognition of the elderly caused by the difference in speech characteristics between the elderly and young people. Summary of the invention

[0004] In order to solve the above technical problems, an intelligent voice interaction method of a digital memory intervention system is provided to solve the existing problems.

[0005] The solution to the technical problem of this application is to provide an intelligent voice interaction method for a digital memory intervention system, which is implemented through the following modules, including:

[0006] Voice collection module: responsible for collecting user voices and obtaining elderly audio vectors and young audio vectors;

[0007] Voice enhancement module: responsible for processing the voice data collected by the voice collection module, including:

[0008] (1) Using the spectrogram analysis algorithm, we obtain the vector spectrogram of the elderly audio and the vector spectrogram of the young audio. Based on the difference in data points between the vector spectrogram of the elderly audio and the vector spectrogram of the young audio, we calculate the speech ambiguity.

[0009] (2) Using the fundamental frequency extraction algorithm, the fundamental frequency vector of the elderly and the fundamental frequency vector of the young are obtained. According to the difference between the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is calculated to obtain the spectrogram of the elderly after frequency shift.

[0010] (3) Based on the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, a set of elderly meta-audio spectrograms and a set of young meta-audio spectrograms are constructed. Based on the similarity of the resonance peak distribution of the envelopes of each spectrum graph in the elderly meta-audio spectrogram set and the youth meta-audio spectrogram set, the resonance peak enhancement envelope of each spectrum graph in the elderly meta-audio spectrogram set is calculated;

[0011] (4) calculating the enhanced envelope of each spectrum graph in the set of elderly voice-tone spectrum graphs according to the formant-enhanced envelope of each spectrum graph in the set of elderly voice-tone spectrum graphs and the fundamental frequency shift distance, and obtaining a formant-enhanced spectrum graph;

[0012] (5) Based on the formant enhanced spectrum, the frequency-shifted elderly spectrogram is enhanced to obtain an enhanced elderly spectrogram;

[0013] Speech recognition module: responsible for recognizing the enhanced elderly spectrogram and converting the recognition results into text data;

[0014] Speech interaction module: includes a text library comparison unit and a speech synthesis unit. The text library comparison unit is responsible for comparing the text data output by the speech recognition module with the text data in the corpus to obtain matching answer texts. The speech synthesis unit is responsible for speech synthesis of the answer texts to complete speech interaction and memory intervention for the elderly.

[0015] Preferably, the method for calculating the speech ambiguity is:

[0016] The discrete degrees of all data points in the old-age spectrogram and the discrete degrees of all data points in the young-age spectrogram are calculated respectively as the old-age fuzziness and the young-age fuzziness;

[0017] The difference between the youth blurriness and the old blurriness is taken as blurriness difference;

[0018] The ratio of the ambiguity difference to the youth ambiguity is taken as the speech ambiguity.

[0019] Preferably, the calculation of the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly includes:

[0020] The difference between the mean of the fundamental frequency vector of the elderly and the mean of the fundamental frequency vector of the young is taken as the fundamental frequency shift distance;

[0021] According to the difference change between adjacent elements in the fundamental frequency vector of the elderly and the speech ambiguity, the fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is calculated;

[0022] The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency basic shift distance and the fundamental frequency differential shift distance.

[0023] Preferably, the calculation method of the fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is:

[0024] For each element whose fundamental frequency in the fundamental frequency vector of the elderly is not 0, the difference between each element in the fundamental frequency vector of the elderly and the previous element is calculated and recorded as the first difference;

[0025] Calculate the difference between each element and the next element in the fundamental frequency vector of the elderly and record it as the second difference;

[0026] Recording the mean of the first difference and the second difference as the fundamental frequency difference;

[0027] The fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency difference and the speech ambiguity.

[0028] Preferably, the method for obtaining the frequency-shifted elderly spectrogram is:

[0029] According to the fundamental frequency shift distance of each element of the fundamental frequency vector of the elderly, the frequency spectrum of the window corresponding to each element in the elderly spectrogram is shifted rightward by a distance equal to the fundamental frequency shift distance to obtain the elderly spectrogram after frequency shift.

[0030] Preferably, the method for constructing the elderly vowel audio spectrogram set and the youth vowel audio spectrogram set is:

[0031] According to the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, the frequency spectra corresponding to the element positions whose fundamental frequencies in the fundamental frequency vector are not 0 in the spectrogram of the elderly and the spectrogram of the young after frequency shift are respectively screened out, and the screened out frequency spectrograms are respectively recorded as the set of old vowel spectrograms and the set of young vowel spectrograms.

[0032] Preferably, the step of calculating the formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set includes:

[0033] Perform signal filtering processing on the elderly meta-audio spectrogram set and the young meta-audio spectrogram set to obtain the envelope and detail signals of each frequency spectrum in the elderly meta-audio spectrogram set and the young meta-audio spectrogram set;

[0034] Calculate the formant similarity based on the similarity characteristics of the envelope of each spectrum graph in the old vowel spectrum graph set and the envelope of all spectrum graphs in the young vowel spectrum graph set;

[0035] Normalizing the formant similarities, and using the normalized results as the formant weights of each spectrum graph in the youth vowel spectrum graph set;

[0036] The formant intensity of each spectrum graph is positively correlated with the envelope of each spectrum graph in the youth vowel spectrum graph set and the formant weight of the corresponding spectrum graph;

[0037] The formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set is positively correlated with the formant intensity.

[0038] Preferably, the step of calculating the enhanced envelope of each spectrum graph in the elderly vowel audio spectrum graph set to obtain the formant enhanced spectrum graph includes:

[0039] The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is used as the formant enhancement coefficient of the spectrum graph of the window corresponding to each element, and the formant enhancement coefficient of each spectrum graph in the spectrum graph set of the elderly vowel sound is obtained;

[0040] Normalizing the formant enhancement coefficients of all the spectrum graphs in the elderly vowel audio spectrum graph set, and using the normalized results as the formant enhancement weights of each spectrum graph in the elderly vowel audio spectrum graph set;

[0041] Based on the envelope of each spectrum graph in the elderly voice audio spectrogram set and the relationship between the formant enhancement envelope and the formant enhancement weight, the formant enhancement factor and envelope factor of each spectrum graph in the elderly voice audio spectrogram set are calculated;

[0042] The enhanced envelopes of each spectrum graph in the elderly vowel audio spectrum graph set are positively correlated with the formant enhancement factor and the envelope factor respectively;

[0043] The enhanced envelope and detail signal of each spectrum in the elderly vowel audio spectrum set are processed by signal synthesis to obtain the formant enhanced spectrum.

[0044] Preferably, the calculation method of the resonance peak enhancement factor and the envelope factor is:

[0045] The product of the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set and the formant enhancement envelope is used as the formant enhancement factor of each spectrum graph in the elderly voice spectrum graph set;

[0046] The difference between the number 1 and the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set is used as the envelope weight of each spectrum graph in the elderly voice spectrum graph set;

[0047] The envelope factor of each spectrum graph in the elderly voice spectrum graph set is positively correlated with the envelope weight and the envelope of each spectrum graph.

[0048] Preferably, the method for acquiring the enhanced elderly spectrogram is:

[0049] The frequency spectrogram of each element in the frequency-shifted elderly speech spectrogram corresponding to the window position is replaced with the frequency spectrogram of the same position in the formant enhanced spectrum to obtain the enhanced elderly speech spectrogram.

[0050] This application has at least the following beneficial effects:

[0051] In the speech enhancement module of the present application, spectrogram features of the audio of the elderly and the audio of the young are obtained through spectrogram analysis, and the speech fuzziness is obtained by comparing the feature degrees of the two spectrograms. The beneficial effect is that compared with the speech audio of the young, the fuzziness of the elderly's speech is taken into account; then the fundamental frequency is extracted by the fundamental frequency extraction unit, and the fundamental frequency frequency shift distance is calculated based on the overall difference of the fundamental frequency and the speech fuzziness, and the elderly spectrogram after frequency shift is obtained. The beneficial effect is that the fundamental frequency of the elderly's spectrogram is adjusted to make its pitch higher and the pitch difference more obvious; the fundamental frequency frequency shift distance is used as the resonance peak enhancement coefficient of the elderly's spectrogram, Then, the envelope of the spectrum is obtained through the signal filtering unit, and the resonance peak enhancement coefficient is used as the weight to calculate the resonance peak enhancement envelope, obtain the enhanced envelope, obtain the resonance peak enhanced spectrum, complete the enhancement processing of the speech signal, and obtain the enhanced elderly spectrogram. The beneficial effect is that the spectrum graphs of the elderly and young people are compared and the data are fused, and the speech enhancement of the elderly is completed without changing the characteristic texture of the original audio vowel. The problem of weakened resonance ability due to the aging of the elderly's vocal tract, which leads to unclear speech, is eliminated, and the timbre and sound quality of the elderly are closer to those of young people, solving the problem of inaccurate speech recognition for the elderly. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The following is a further detailed description of an intelligent voice interaction method for a digital memory intervention system of the present application in conjunction with the accompanying drawings.

[0053] Figure 1 A flowchart of the steps of an intelligent voice interaction method for a digital memory intervention system provided in this application;

[0054] Figure 2 A flow chart of the steps of enhancing the envelope of the formant of each spectrum graph in the elderly vowel audio spectrum graph set provided by the present application;

[0055] Figure 3 and Figure 4 A flowchart of the steps of the method for acquiring enhanced elderly spectrograms in the speech enhancement module provided in this application. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of this application more clear, the following is a further detailed description of the intelligent voice interaction method of a digital memory intervention system proposed in this application in combination with the accompanying drawings and implementation examples. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.

[0057] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0058] See also Figure 1 , which shows a flowchart of the steps of an intelligent voice interaction method of a digital memory intervention system provided by an embodiment of the present application. The method is implemented by the following modules, including:

[0059] Module 1, speech acquisition module: obtains the audio vectors of the elderly and the audio vectors of the young.

[0060] The voice collection module can be directly completed through terminal devices such as mobile phones and computers, and can also be completed through other sensors including voice collection devices.

[0061] When the voice collection module starts collecting, the elderly user needs to hold down the button and speak, and release the button when he finishes speaking. At this time, the voice collection module collects a piece of audio data. The collected audio data is a vector recorded as the elderly audio vector. At the same time, a piece of standard young people's audio is stored in the device storage unit as a ratio, recorded as the youth audio vector, and the length of the elderly audio vector is the same as the length of the youth audio vector.

[0062] Preferably, as an embodiment of the present application, the sampling frequency of the audio data is set to 16kHz, and the elderly audio vector length and the youth audio vector length are 320000. This embodiment only provides a scheme for acquisition frequency and audio vector length, and the implementer can decide according to actual conditions. This application does not make any special limitation on this.

[0063] At this point, the old audio vector and the young audio vector are obtained.

[0064] Module 2, speech enhancement module: obtain enhanced elderly spectrogram.

[0065] Step S1, using the spectrogram analysis algorithm to obtain the elderly audio vector spectrogram and the young audio vector spectrogram, and calculating the speech ambiguity according to the difference between the data points in the elderly audio vector spectrogram and the young audio vector spectrogram.

[0066] A spectrogram is a feature extraction method that represents the time domain information and frequency domain information of speech on a single graph. It divides the original speech signal into multiple different small segments, obtains a spectrum graph for each small segment, and then obtains a spectrogram by splicing multiple spectrum graphs according to time.

[0067] The spectrogram represents the timbre and sound quality of a speech. Therefore, we can compare the old spectrogram with the young spectrogram, and then process the old spectrogram through data fusion to make the features in the old spectrogram closer to the young spectrogram. Secondly, due to the different degrees of aging of the vocal organs of different elderly people, the difference between the speech of different elderly people and the speech of young people is different. Therefore, in order to ensure the effect of speech enhancement, it is necessary to determine the degree of enhancement of the elderly audio. Generally, the more serious the degeneration of the vocal organs of the elderly, the worse the clarity of their speech, which is reflected in the spectrogram as the old spectrogram is more blurred than the young spectrogram, that is, the color difference of the pixel points of the old spectrogram is smaller than the color difference of the young spectrogram. Therefore, when calculating the speech fuzziness, the more blurred the old spectrogram is compared with the young spectrogram, the greater the speech fuzziness. The specific method is:

[0068] The spectrogram analysis algorithm is used on the elderly audio vector and the young audio vector respectively to obtain the spectrogram of the elderly audio vector and the spectrogram of the young audio vector. Among them, the features in the spectrogram that represent the differences in timbre and sound quality between the elderly and the young are mainly fundamental frequency, resonance peak and harmonic wave.

[0069] Preferably, as an embodiment of the present application, the number of spectrogram windows is preset to 640. As other implementation methods, the implementer can set it according to the actual situation, and the present application does not impose any special restrictions on this.

[0070] The discrete degrees of all data points in the old-age spectrogram and the discrete degrees of all data points in the young-age spectrogram are calculated respectively as the old-age fuzziness and the young-age fuzziness;

[0071] The difference between the youth blurriness and the old blurriness is taken as blurriness difference;

[0072] taking the ratio of the fuzziness difference to the youth fuzziness as the speech fuzziness;

[0073] Preferably, as an embodiment of the present application, the degree of discreteness of the elderly spectrogram and the young spectrogram is obtained by calculating the standard deviation of the grayscale values ​​of all pixels, and the fuzzy difference is the difference between the young fuzziness and the elderly fuzziness; in the process of calculating the ratio of speech fuzziness, in order to avoid the situation where the denominator is zero, a preset value is added to the denominator, and the embodiment of the preset value is 0.01.

[0074] At this point, the speech ambiguity is obtained.

[0075] Step S2, using the fundamental frequency extraction algorithm to obtain the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, and according to the difference between the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, calculate the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly, and obtain the elderly spectrogram after frequency shift.

[0076] Furthermore, in the spectrogram, the fundamental frequency is the frequency position that determines the pitch of a person's voice. Due to the degeneration of the vocal organs, the pitch of the elderly is generally lower than that of young people. Due to the aging of the vocal organs of the elderly, the overall size of the fundamental frequency and the degree of fluctuation of the fundamental frequency are smaller than the fundamental frequency of young people. The overall size of the fundamental frequency causes the elderly's voice to be low, and the degree of fluctuation of the fundamental frequency causes the elderly's voice to be unclear. Therefore, the fundamental frequency shift distance is calculated, and the fundamental frequency of the elderly is adjusted according to the fundamental frequency shift distance to obtain the elderly spectrogram after frequency shift. The specific method is as follows:

[0077] The old audio vector and the young audio vector are respectively used as inputs of a fundamental frequency extraction algorithm to obtain an old fundamental frequency vector and a young fundamental frequency vector;

[0078] Preferably, as an embodiment of the present application, the number of fundamental frequency extraction windows is preset to 640. As other implementation methods, the implementer can set it according to the actual situation. The present application does not impose any special restrictions on this. Among them, the fundamental frequency extraction algorithm is a well-known technology in the field of speech processing and will not be elaborated here.

[0079] It should be noted that each element in the fundamental frequency vector represents the fundamental frequency at each moment in the spectrogram, and the size of each element in the fundamental frequency vector represents the size of the fundamental frequency of the speech at each moment. When the element is zero, it means that no speech is detected at that moment and there is no fundamental frequency.

[0080] The difference between the mean of the fundamental frequency vector of the elderly and the mean of the fundamental frequency vector of the young is taken as the fundamental frequency shift distance;

[0081] For each element whose fundamental frequency in the fundamental frequency vector of the elderly is not 0, the difference between each element in the fundamental frequency vector of the elderly and the previous element is calculated and recorded as the first difference;

[0082] Calculate the difference between each element and the next element in the fundamental frequency vector of the elderly and record it as the second difference;

[0083] Recording the mean of the first difference and the second difference as the fundamental frequency difference;

[0084] The fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency difference and the speech ambiguity;

[0085] The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency basic shift distance and the fundamental frequency differential shift distance.

[0086] Preferably, as an embodiment of the present application, the product of the fundamental frequency difference and the speech ambiguity is used as the fundamental frequency differentiated frequency shift distance of each element in the elderly fundamental frequency vector; secondly, the fundamental frequency shift distance of each element in the elderly fundamental frequency vector is the sum of the fundamental frequency basic shift distance and the fundamental frequency differentiated frequency shift distance.

[0087] Since the spectrogram is composed of multiple frequency spectrograms, the position of each element of the fundamental frequency vector of the elderly corresponds to the frequency spectrogram of each window position in the spectrogram. According to the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly, the frequency of the frequency spectrogram of the window corresponding to each element in the elderly spectrogram is shifted to the right by a distance equal to the fundamental frequency shift distance to complete the fundamental frequency adjustment of the elderly and obtain the elderly spectrogram after frequency shift.

[0088] At this point, the elderly spectrogram after frequency shift is obtained.

[0089] Step S3, constructing an old-age meta-audio spectrogram set and a young-age meta-audio spectrogram set based on the old-age fundamental frequency vector and the young-age fundamental frequency vector, and calculating the resonance peak enhancement envelope of each spectrum graph in the old-age meta-audio spectrogram set based on the similarity of the resonance peak distribution of the envelope of each spectrum graph in the old-age meta-audio spectrogram set and the young-age meta-audio spectrogram set.

[0090] The larger the fundamental frequency shift distance corresponding to the spectrum at a certain window position in the elderly speech spectrogram after the frequency shift, the greater the difference between the spectrum at the window position and the spectrum of young people, and the greater the difference between the corresponding harmonics and resonance peaks and the harmonics and resonance peaks of the spectrum of young people, the higher the intensity of resonance peak enhancement should be. Secondly, when enhancing the resonance peaks of the elderly's speech, the characteristic patterns of the resonance peaks should be enhanced and the distribution of the resonance peaks should not be changed. This is because the speech recognition model mainly distinguishes the differences in vowel characteristics in the speech signal, and the distribution of resonance peaks determines the types of vowels, that is, the main differences between different vowels are reflected in the different distributions of resonance peaks. Therefore, when enhancing the resonance peaks, the distribution characteristics of the resonance peaks should be retained. The distribution characteristics of the resonance peaks are reflected in the frequency difference between the resonance peaks and the fundamental frequency, and in the changing trend of the resonance peaks. Therefore, the resonance peak enhancement envelope is calculated. The specific method is:

[0091] According to the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, the frequency spectra corresponding to the positions of the elements whose fundamental frequencies in the fundamental frequency vector are not 0 in the frequency shifted elderly speech spectrogram and the youth speech spectrogram are respectively selected, and the selected frequency spectrograms are respectively recorded as the elderly vowel frequency spectrogram set and the youth vowel frequency spectrogram set;

[0092] Perform signal filtering processing on each spectrum graph in the elderly meta-audio spectrum graph set and the youth meta-audio spectrum graph set respectively, and obtain the envelope line and detail signal of each spectrum graph in the elderly meta-audio spectrum graph set and the youth meta-audio spectrum graph set, wherein the signal envelope line extraction algorithm can be used to obtain the envelope line of each spectrum graph during the signal filtering processing;

[0093] Calculate the formant similarity based on the similarity characteristics of the envelope of each spectrum graph in the old vowel spectrum graph set and the envelope of all spectrum graphs in the young vowel spectrum graph set;

[0094] Normalizing the formant similarities, and using the normalized results as the formant weights of each spectrum graph in the youth vowel spectrum graph set;

[0095] The formant intensity of each spectrum graph is positively correlated with the envelope of each spectrum graph in the youth vowel spectrum graph set and the formant weight of the corresponding spectrum graph;

[0096] The formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set is positively correlated with the formant intensity;

[0097] Preferably, as an embodiment of the present application, the resonance peak similarity is obtained by calculating the L1 norm of the envelopes of two spectrograms for comparative analysis; the resonance peak similarity is normalized using Z-Score normalization; secondly, the envelope of each spectrogram in the youth vowel audio spectrogram set and the resonance peak weight of the corresponding spectrogram are used as the resonance peak intensity of each spectrogram; the resonance peak enhancement envelope of each spectrogram in the elderly vowel audio spectrogram set is the sum of the resonance peak intensities of all spectrograms in the youth vowel audio spectrogram set.

[0098] It should be understood that this embodiment only provides a method for analyzing the similarity of the envelope lines of two spectrum graphs, namely, calculating the L1 norm. As other implementation methods, the implementer may adopt other methods of the prior art to calculate the resonance peak similarity of the envelope lines of two spectrum graphs, such as the L2 norm, etc. This embodiment does not impose any special restrictions on this.

[0099] It should be noted that the smaller the L1 norm, the greater the similarity of the resonance peaks. On the contrary, the larger the L1 norm, the greater the difference between the two spectrograms and the smaller the similarity of the resonance peaks.

[0100] Further, the present application provides a flowchart of the steps of the method for obtaining the formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set. Figure 2 shown.

[0101] At this point, the resonance peak enhancement envelope of each spectrum graph in the elderly vowel spectrum graph set is obtained.

[0102] Step S4, according to the formant enhanced envelope of each spectrum graph in the elderly voice tone spectrum graph set and the fundamental frequency shift distance of each element in the elderly fundamental frequency vector, calculate the enhanced envelope of each spectrum graph in the elderly voice tone spectrum graph set to obtain the formant enhanced spectrum graph.

[0103] Furthermore, since the resonance peak enhancement envelope is obtained with resonance peak similarity as weight, the resonance peak distribution represented by the resonance peak enhancement envelope of each spectrum graph is similar to the resonance peak distribution of each spectrum graph in the set of elderly vowel spectrum graphs. Therefore, using the resonance peak enhancement envelope to enhance the resonance peaks of the elderly vowel spectrum graph can make the resonance peak texture characteristics close to the young vowel spectrum graph, while not changing the represented vowel.

[0104] Based on the above analysis, the envelope of the formant enhancement of each spectrum in the elderly vowel spectrum set is calculated to obtain the formant enhancement spectrum. The specific method is as follows:

[0105] The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is used as the formant enhancement coefficient of the spectrum graph of the window corresponding to each element, and the formant enhancement coefficient of each spectrum graph in the spectrum graph set of the elderly vowel sound is obtained;

[0106] Normalizing the formant enhancement coefficients of all the spectrum graphs in the elderly vowel audio spectrum graph set, and using the normalized results as the formant enhancement weights of each spectrum graph in the elderly vowel audio spectrum graph set;

[0107] The product of the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set and the formant enhancement envelope is used as the formant enhancement factor of each spectrum graph in the elderly voice spectrum graph set;

[0108] The difference between the number 1 and the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set is used as the envelope weight of each spectrum graph in the elderly voice spectrum graph set;

[0109] The envelope factor of each spectrum graph in the elderly voice spectrum graph set is positively correlated with the envelope weight and the envelope of each spectrum graph;

[0110] The enhanced envelopes of each spectrum graph in the elderly vowel audio spectrum graph set are positively correlated with the formant enhancement factor and the envelope factor respectively;

[0111] Preferably, as an embodiment of the present application, the product of the envelope weight and the envelope of each spectrum graph is used as the envelope factor of each spectrum graph in the elderly voice audio spectrogram set; the enhanced envelope of each spectrum graph in the elderly voice audio spectrogram set is the sum of the resonance peak enhancement factor and the envelope factor.

[0112] The enhanced envelope and detail signal of each spectrum in the elderly vowel audio spectrum set are processed by signal synthesis to obtain the formant enhanced spectrum.

[0113] Step S5, based on the formant enhanced spectrum, the frequency-shifted elderly spectrogram is enhanced to obtain an enhanced elderly spectrogram.

[0114] The spectrogram of the window corresponding to each element in the frequency-shifted elderly spectrogram is replaced with the spectrogram of the same position in the formant enhanced spectrogram, so as to complete the enhancement processing of the speech signal and obtain the enhanced elderly spectrogram.

[0115] It should be noted that, due to the fundamental frequency shift and resonance peak enhancement of the speech signal, the processed elderly spectrogram is more similar to the young spectrogram in timbre and sound quality, and can express speech accurately and clearly, which is conducive to solving the problem of inaccurate speech recognition of the elderly in the speech recognition module.

[0116] At this point, an enhanced geriatric spectrogram is obtained.

[0117] Further, the step flow chart of the method for obtaining the enhanced elderly spectrogram provided in this application is as follows: Figure 3 He Ru Figure 4 shown.

[0118] Module 3, speech recognition module: obtain speech text data.

[0119] The enhanced elderly spectrogram is used as input, processed by the speech recognition model, and the output is the corresponding text data to complete the speech recognition.

[0120] Preferably, as an embodiment of the present application, the speech recognition model adopts GMM-HMM (Gaussian mixture model-hidden Markov model), wherein the Gaussian mixture model-hidden Markov model is a well-known technology and will not be elaborated on here.

[0121] Module 4, voice interaction module: obtain the reply voice audio, complete the voice interaction and recall intervention for the elderly.

[0122] The voice interaction module includes a text library comparison unit and a speech synthesis unit:

[0123] First, in the text library comparison unit, the text data output by the speech recognition module is compared with the corpus text data, the corpus text data with the best comparison result is used as the comparison result data, and the matching answer text data is obtained from the corpus based on the comparison result data.

[0124] Secondly, in the speech synthesis unit, the answer text data is used as input, and the speech synthesis algorithm is used for speech synthesis. The output is the corresponding audio, which is played to complete the voice interaction and recall intervention for the elderly.

[0125] Preferably, as an embodiment of the present application, by comparing the text data with the corpus text data character by character, if the characters are identical characters or synonymous characters, it means that the comparison results of the two text data are the same, and the more identical characters, the better the comparison result.

[0126] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0128] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the present application. It should be pointed out that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application without departing from the content of the technical solution of the present application, shall fall within the protection scope of the technical solution of the present application.

Claims

1. An intelligent voice interaction method for a digital memory intervention system, characterized in that: This method is implemented by the following modules: Voice collection module: responsible for collecting user voices and obtaining elderly audio vectors and young audio vectors; Voice enhancement module: responsible for processing the voice data collected by the voice collection module, including: (1) Using the spectrogram analysis algorithm, we obtain the vector spectrogram of the elderly audio and the vector spectrogram of the young audio. Based on the difference in data points between the vector spectrogram of the elderly audio and the vector spectrogram of the young audio, we calculate the speech ambiguity. (2) Using the fundamental frequency extraction algorithm, the fundamental frequency vector of the elderly and the fundamental frequency vector of the young are obtained. According to the difference between the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is calculated to obtain the spectrogram of the elderly after frequency shift. (3) Based on the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, a set of elderly meta-audio spectrograms and a set of young meta-audio spectrograms are constructed. Based on the similarity of the resonance peak distribution of the envelopes of each spectrum graph in the elderly meta-audio spectrogram set and the youth meta-audio spectrogram set, the resonance peak enhancement envelope of each spectrum graph in the elderly meta-audio spectrogram set is calculated; (4) calculating the enhanced envelope of each spectrum graph in the set of elderly voice-tone spectrum graphs according to the formant-enhanced envelope of each spectrum graph in the set of elderly voice-tone spectrum graphs and the fundamental frequency shift distance, and obtaining a formant-enhanced spectrum graph; (5) Based on the formant enhanced spectrum, the frequency-shifted elderly spectrogram is enhanced to obtain an enhanced elderly spectrogram; Speech recognition module: responsible for recognizing the enhanced elderly spectrogram and converting the recognition results into text data; Speech interaction module: includes a text library comparison unit and a speech synthesis unit. The text library comparison unit is responsible for comparing the text data output by the speech recognition module with the text data in the corpus to obtain the matching answer text. The speech synthesis unit is responsible for speech synthesis of the answer text to complete speech interaction and memory intervention for the elderly. The calculation method of the speech ambiguity is: The discrete degrees of all data points in the old spectrogram and the young spectrogram are calculated respectively as the old fuzziness and the young fuzziness. The discrete degrees of the old spectrogram and the young spectrogram are obtained by calculating the standard deviation of all pixel points of the spectrogram respectively. The difference between the youth blurriness and the old blurriness is taken as blurriness difference; taking the ratio of the fuzziness difference to the youth fuzziness as the speech fuzziness; The step of calculating the fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly includes: The difference between the mean of the fundamental frequency vector of the elderly and the mean of the fundamental frequency vector of the young is taken as the fundamental frequency shift distance; According to the difference change between adjacent elements in the fundamental frequency vector of the elderly and the speech ambiguity, the fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is calculated; The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency basic shift distance and the fundamental frequency differential shift distance.

2. The intelligent voice interaction method of a digital memory intervention system according to claim 1, characterized in that: The calculation method of the fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is: For each element whose fundamental frequency in the fundamental frequency vector of the elderly is not 0, the difference between each element in the fundamental frequency vector of the elderly and the previous element is calculated and recorded as the first difference; Calculate the difference between each element and the next element in the fundamental frequency vector of the elderly and record it as the second difference; Recording the mean of the first difference and the second difference as the fundamental frequency difference; The fundamental frequency differential frequency shift distance of each element in the fundamental frequency vector of the elderly is positively correlated with the fundamental frequency difference and the speech ambiguity.

3. The intelligent voice interaction method of a digital memory intervention system according to claim 1, characterized in that: The method for obtaining the elderly spectrogram after frequency shift is: According to the fundamental frequency shift distance of each element of the fundamental frequency vector of the elderly, the frequency spectrum of the window corresponding to each element in the elderly spectrogram is shifted rightward by a distance equal to the fundamental frequency shift distance to obtain the elderly spectrogram after frequency shift.

4. The intelligent voice interaction method of a digital memory intervention system according to claim 1, characterized in that: The method for constructing the elderly vowel audio spectrogram set and the youth vowel audio spectrogram set is: According to the fundamental frequencies in the fundamental frequency vector of the elderly and the fundamental frequency vector of the young, the frequency spectra corresponding to the element positions whose fundamental frequencies in the fundamental frequency vector are not 0 in the spectrogram of the elderly and the spectrogram of the young after frequency shift are respectively screened out, and the screened out frequency spectrograms are respectively recorded as the set of old vowel spectrograms and the set of young vowel spectrograms.

5. The intelligent voice interaction method of a digital memory intervention system according to claim 1, characterized in that: The step of calculating the formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set comprises: Perform signal filtering processing on the elderly meta-audio spectrogram set and the young meta-audio spectrogram set to obtain the envelope and detail signals of each frequency spectrum in the elderly meta-audio spectrogram set and the young meta-audio spectrogram set; Calculate the formant similarity based on the similarity characteristics of the envelope of each spectrum graph in the old vowel spectrum graph set and the envelope of all spectrum graphs in the young vowel spectrum graph set; Normalizing the formant similarities, and using the normalized results as the formant weights of each spectrum graph in the youth vowel spectrum graph set; The formant intensity of each spectrum graph is positively correlated with the envelope of each spectrum graph in the youth vowel spectrum graph set and the formant weight of the corresponding spectrum graph; The formant enhancement envelope of each spectrum graph in the elderly vowel audio spectrum graph set is positively correlated with the formant intensity.

6. The intelligent voice interaction method of a digital memory intervention system according to claim 5, characterized in that: The step of calculating the enhanced envelope of each spectrum graph in the elderly vowel audio spectrum graph set to obtain the formant enhanced spectrum graph includes: The fundamental frequency shift distance of each element in the fundamental frequency vector of the elderly is used as the formant enhancement coefficient of the spectrum graph of the window corresponding to each element, and the formant enhancement coefficient of each spectrum graph in the spectrum graph set of the elderly vowel sound is obtained; Normalizing the formant enhancement coefficients of all the spectrum graphs in the elderly vowel audio spectrum graph set, and using the normalized results as the formant enhancement weights of each spectrum graph in the elderly vowel audio spectrum graph set; Based on the envelope of each spectrum graph in the elderly voice audio spectrogram set and the relationship between the formant enhancement envelope and the formant enhancement weight, the formant enhancement factor and envelope factor of each spectrum graph in the elderly voice audio spectrogram set are calculated; The enhanced envelopes of each spectrum graph in the elderly vowel audio spectrum graph set are positively correlated with the formant enhancement factor and the envelope factor respectively; The enhanced envelope and detail signal of each spectrum in the elderly vowel audio spectrum set are processed by signal synthesis to obtain the formant enhanced spectrum.

7. The intelligent voice interaction method of a digital memory intervention system according to claim 6, characterized in that: The calculation method of the resonance peak enhancement factor and the envelope factor is: The product of the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set and the formant enhancement envelope is used as the formant enhancement factor of each spectrum graph in the elderly voice spectrum graph set; The difference between the number 1 and the formant enhancement weight of each spectrum graph in the elderly voice spectrum graph set is used as the envelope weight of each spectrum graph in the elderly voice spectrum graph set; The envelope factor of each spectrum graph in the elderly voice spectrum graph set is positively correlated with the envelope weight and the envelope of each spectrum graph.

8. The intelligent voice interaction method of a digital memory intervention system according to claim 1, characterized in that: The method for obtaining the enhanced elderly spectrogram is: The frequency spectrogram of each element in the frequency-shifted elderly speech spectrogram corresponding to the window position is replaced with the frequency spectrogram of the same position in the formant enhanced spectrum to obtain the enhanced elderly speech spectrogram.

Citation Information

Patent Citations

  • Systems, electronic devices, and related methods with post-session representations

    CN114566187A

  • Method and system for reconstructing speech from an input signal comprising whispers

    US20120150544A1