Voice signal analysis method and device, equipment and medium
Through the multi-dimensional feature analysis and category analysis model of speech signals, patients who need lung cancer screening are screened, solving the problems of radiologists' workload and radiation exposure in lung cancer screening, and improving screening efficiency and safety.
Patent Information
- Application Number
- CN202410887336.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-11-15
AI Technical Summary
During the lung cancer screening process, existing imaging detection methods have increased the workload of radiologists and have radiation exposure problems, which has led to some patients being unwilling to undergo testing.
Through multi-dimensional feature analysis of speech signals, the resonance characteristics of the internal organs, the characteristics of the triple burner qi, blood, body fluid and emotional characteristics were extracted, and the pre-trained category analysis model was used for classification, and patients who needed chest CT and X-ray chest radiographs were screened. , reduce the workload of radiologists and the radiation exposure of patients.
Effective screening of patients who require lung cancer screening will reduce the workload of radiologists and the radiation exposure of patients, and improve the efficiency and safety of early screening of lung cancer.
Smart Images

Figure CN118969025A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method, device, equipment and medium for analyzing a speech signal. Background Art
[0002] Lung cancer is a disease that seriously threatens human health worldwide. Its incidence rate ranks second among all malignant tumors, second only to breast cancer, and its mortality rate ranks first. Compared with other cancers, lung cancer has the characteristics of short onset, high malignancy, and difficulty in early detection. The early symptoms of lung cancer may be mild or mistaken for common respiratory problems, which may lead to delayed treatment for patients.
[0003] The prominent clinical manifestation of early lung cancer is lung nodules. With the promotion of lung cancer screening, the detection rate of lung nodules has also increased significantly. However, the existing technology of imaging detection of lung nodules has greatly increased the workload of medical professionals, especially radiologists. In addition, there is the problem of radiation exposure during chest CT (Computed Tomography) or X-ray chest film shooting, which may cause some patients to be unwilling to undergo testing.
[0004] Therefore, in the process of promoting lung cancer screening, how to reduce the workload of radiologists and solve the problem of radiation exposure for some patients has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] The purpose of the present invention is to provide a method, device, equipment and medium for analyzing a speech signal so as to reduce the workload of radiologists and solve the problem of radiation exposure of some patients.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] The present invention first provides a method for analyzing a speech signal, comprising:
[0008] Extracting infrasound band information of the target speech signal to obtain organ resonance characteristics of the target speech signal;
[0009] Performing speech low-frequency gradient analysis on the target speech signal to obtain triple-burner qi characteristics of the target speech signal;
[0010] quantifying the digital features of the target speech signal and performing stress analysis on the pronunciation of individual words in the target speech signal to obtain the qi, blood, body fluid features of the target speech signal;
[0011] Determining the emotional characteristics of the target speech signal according to the time domain characteristics and frequency domain characteristics of the target speech signal;
[0012] Using a pre-trained category analysis model, at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood, body fluid characteristics and the emotional characteristics are combined to perform category analysis on the target speech signal to obtain a classification result corresponding to the target speech signal.
[0013] In an optional implementation manner of the present application, extracting infrasound band information from the target speech signal to obtain the organ resonance characteristics of the target speech signal includes:
[0014] By utilizing the linear generation model of speech signals, the infrasound band information of the target speech signals is extracted to obtain the organ resonance characteristics of the target speech signals.
[0015] In an optional implementation manner of the present application, the linear generation model of the speech signal is used to extract the infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal, including:
[0016] Determine the low-frequency component in the target speech signal by using the linear generative model of the speech signal, and use the low-frequency component as the infrasound band information;
[0017] Based on the infrasound band information, the organ resonance characteristics of the target speech signal are determined.
[0018] In an optional implementation manner of the present application, performing speech low-frequency gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal includes:
[0019] Performing speech low-frequency gradient analysis on the speech waveform and Mel spectrum of the target speech signal to determine pronunciation pattern distribution information in the target speech signal;
[0020] Based on the pronunciation pattern distribution information, the triple burner qi characteristics are determined.
[0021] In an optional embodiment of the present application, the characteristics of Qi, blood and body fluids include: characteristics of middle Qi strength, hoarseness of voice, and characteristics of cold and heat, both inside and outside;
[0022] The quantifying of the digital features of the target speech signal and performing stress analysis on the pronunciation of individual words in the target speech signal to obtain the blood, qi and body fluid features of the target speech signal include:
[0023] Performing digital signal conversion on the target speech signal to obtain digital signal features of the target speech signal;
[0024] quantifying the digital signal characteristics to obtain the breath strength characteristics and the voice hoarseness;
[0025] Performing speech endpoint detection on the target speech signal to obtain a single-word speech segment of the target speech signal;
[0026] Perform stress position analysis on the single-word speech segment to obtain the cold, hot, external and internal characteristics of the target speech signal.
[0027] In an optional implementation of the present application, the digital signal characteristics include: signal zero crossing rate, volume, sound intensity, sound pressure level and sound intensity level;
[0028] The step of quantifying the digital signal feature to obtain the breath strength feature and the voice hoarseness comprises:
[0029] Determining noise information of the target speech signal according to the signal zero-crossing rate;
[0030] quantifying the noise information, sound intensity, sound pressure level, and sound intensity level to determine the hoarseness of the target speech signal;
[0031] The volume is quantified in combination with the frequency formant and spectrum distribution of the target speech signal to determine the breath strength characteristics of the target speech signal.
[0032] In an optional implementation manner of the present application, determining the emotional features of the target speech signal according to the time domain features and frequency domain features of the target speech signal includes:
[0033] Performing time domain and frequency domain analysis on the target speech signal to obtain inter-word time domain features and inter-word frequency domain features of the target speech signal;
[0034] The time-frequency cross-linking analysis technology is used to perform feature analysis on the inter-character time domain features and the inter-character frequency domain features to determine the emotional features of the target speech signal.
[0035] In an optional implementation of the present application, it also includes:
[0036] Obtaining a sample speech signal and a sample classification result corresponding to the sample speech signal;
[0037] Extracting infrasound band information from the sample speech signal to obtain sample viscera resonance characteristics of the sample speech signal;
[0038] Performing speech gradient analysis on the sample speech signal to obtain a sample triple-burner qi mechanism feature of the sample speech signal;
[0039] quantifying the digital features of the sample speech signal and performing stress analysis on the pronunciation of individual words in the sample speech signal to obtain the sample qi, blood and body fluid features of the sample speech signal;
[0040] Determining sample emotion features of the sample speech signal according to the time domain features and frequency domain features of the sample speech signal;
[0041] At least the sample viscera resonance characteristics, the sample triple burner qi characteristics, the sample qi, blood and body fluid characteristics, the sample emotion characteristics and the sample classification results are used as training samples to train the category analysis model to obtain a trained category analysis model.
[0042] In an optional embodiment of the present application, the pre-trained category analysis model is used to perform category analysis on the target speech signal in combination with at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics to obtain a classification result corresponding to the target speech signal, including:
[0043] Obtaining Mel spectrum features, power spectrum features, and auditory features of the target speech signal;
[0044] Using the pre-trained category analysis model, combined with the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, the emotional characteristics, the Mel spectrum characteristics, the power spectrum characteristics, the auditory characteristics, the digital characteristics, the time domain characteristics and the frequency domain characteristics, the target speech signal is subjected to category analysis to obtain a classification result corresponding to the target speech signal.
[0045] Compared with the prior art, the speech signal analysis method provided by the present invention obtains the traditional Chinese medicine characteristics of the target speech signal by performing multi-dimensional feature analysis and extraction processing on the target speech signal, that is, obtaining the viscera resonance characteristics, triple burner qi characteristics, qi, blood, body fluid characteristics and emotional characteristics. Afterwards, the target speech signal is subjected to category analysis at least in combination with the traditional Chinese medicine characteristics to obtain the classification result corresponding to the target speech signal, so that relevant staff can screen patients who need chest CT and chest X-ray from a large number of subjects based on the classification results, indirectly reducing the workload of radiologists and solving the radiation exposure rate problem of some subjects.
[0046] The present invention also provides a speech signal analysis device, comprising:
[0047] The first unit is used to extract infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal;
[0048] The second unit is used to perform speech low-frequency gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal;
[0049] The third unit is used to quantify the digital features of the target speech signal and perform stress analysis on the pronunciation of individual words in the target speech signal to obtain the qi, blood, body fluid and other characteristics of the target speech signal;
[0050] The fourth unit is used to determine the emotional characteristics of the target speech signal according to the time domain characteristics and frequency domain characteristics of the target speech signal;
[0051] The fifth unit is used to use a pre-trained category analysis model to perform category analysis on the target speech signal in combination with at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics to obtain a classification result corresponding to the target speech signal.
[0052] Compared with the prior art, the beneficial effects of the speech signal analysis device provided by the present invention are the same as the beneficial effects of the speech signal analysis method described in the above technical solution, which will not be described in detail here.
[0053] The present invention also provides an electronic device, comprising:
[0054] processor;
[0055] a memory for storing instructions executable by the processor;
[0056] The processor is used to execute the above-mentioned speech signal analysis method by running the instructions in the memory.
[0057] Compared with the prior art, the beneficial effects of the electronic device provided by the present invention are the same as the beneficial effects of the voice signal analysis method described in the above technical solution, which will not be described in detail here.
[0058] The present invention also provides a computer storage medium, in which instructions are stored. When the instructions are executed, the above-mentioned speech signal analysis method is implemented.
[0059] Compared with the prior art, the beneficial effects of the computer storage medium provided by the present invention are the same as the beneficial effects of the speech signal analysis method described in the above technical solution, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0061] Figure 1A flow chart of a method for analyzing a speech signal provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram for comparing different pronunciation modes provided in the embodiments of the present application;
[0063] Figure 3 A structural diagram of a speech signal analysis device provided in an embodiment of the present application;
[0064] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0066] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0067] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.
[0068] Lung cancer is a disease that seriously threatens human health worldwide. Its incidence rate ranks second among all malignant tumors, second only to breast cancer, and its mortality rate ranks first. Compared with other cancers, lung cancer has the characteristics of short onset, high malignancy, and difficulty in early detection. The early symptoms of lung cancer may be mild or mistaken for common respiratory problems, which may lead to delayed treatment for patients.
[0069] The prominent clinical manifestation of early lung cancer is pulmonary nodules, which are usually defined as round or oval pulmonary solid lesions with a diameter of no more than 3 cm. The mechanism of their generation is diverse and can be caused by infection, inflammation, benign hyperplasia or malignant tumors. The presence of these nodules may be harmless, but a large part of them may be early signs of lung cancer.
[0070] The current mainstream method for judging lung nodules mainly relies on imaging examinations, with CT as the preferred method, followed by chest X-rays. CT can depict the size, shape, edge characteristics of the nodules and their relationship with the surrounding lung tissue in detail, which is of great value in judging whether the nodules are benign or malignant, but there is a great problem of radiation exposure, especially when patients need to undergo multiple follow-up observations. If there is an asthma attack or heart attack, going to the hospital for preliminary analysis through X-rays or chest scans is time-consuming, expensive, and sometimes life-threatening.
[0071] CT can also easily lead to overdiagnosis, detecting a large number of small nodules that will not affect the patient's health or life expectancy, which may cause unnecessary anxiety and further invasive tests such as biopsies. In addition, although chest X-rays are more sensitive for large lung nodules, they have a low detection rate for small nodules smaller than 1 cm, especially those located in the peripheral areas of the lungs.
[0072] With the promotion of lung cancer screening, the detection rate of lung nodules has also increased significantly. However, the existing technology of detecting lung nodules through imaging has greatly increased the workload of medical professionals, especially radiologists. In addition, there is the problem of radiation exposure during chest CT, which will cause some patients to be unwilling to undergo testing.
[0073] Therefore, in the process of promoting lung cancer screening, how to reduce the workload of radiologists and solve the radiation exposure problem of some patients has become a technical problem that technical personnel in this field urgently need to solve.
[0074] In traditional Chinese medicine theory, the lung is regarded as the "master of qi", responsible for breathing and sound. According to the description in the Yellow Emperor's Classic of Internal Medicine, "the lung is connected to the skin and fur on the outside, opens to the nose, is the gate of sound, and the root of the throat", it shows that the function of the lung is not only breathing, but also includes the control of sound. The 40th difficulty of the Difficult Classic also mentions: "The lung is metal, and the lung controls sound, so it makes the ear hear sound", which shows that the lung is closely related to sound. The classic theory of "metal is solid and does not make sound, metal is broken and does not make sound" reveals the impact of lung condition on sound ability from a pathological perspective. The so-called "metal is solid" refers to the stagnation of heat or phlegm and dampness in the lungs, resulting in obstruction of lung qi, failure of lung to descend, and poor qi movement. In this case, the lungs cannot play the function of descending and descending normally due to the obstruction of solid evil, resulting in the inability of breath to flow up and down freely, and the sound is affected, which may cause hoarseness and difficulty in speaking. "Metal is broken" refers to damage to the lungs, deficiency of lung qi, and destruction of lung function, such as dry cough and weak voice caused by lung yin deficiency. Lung yin deficiency leads to insufficient body fluid, which cannot moisten the vocal cords and respiratory tract, causing the vocal cords to dry out, making it particularly difficult to make sounds, or even causing loss of voice. Whether from a physiological or pathological perspective, the above classics reflect TCM's profound understanding of the relationship between the lungs and voice.
[0075] In order to solve the above technical problems, the present application provides a speech signal analysis method, device, equipment and medium in combination with traditional Chinese medicine theory, so as to perform preliminary lung feature analysis on the speech signal, thereby screening out patients who need lung cancer screening and reducing the number of patients who need to undergo chest CT and chest X-ray for lung nodule diagnosis.
[0076] The present application embodiment first provides a method for analyzing a speech signal. Figure 1 , Figure 1 A flow chart of a method for analyzing a speech signal provided in an embodiment of the present application.
[0077] like Figure 1 As shown, the speech signal analysis method includes the following steps S101 to S105:
[0078] S101, extracting infrasound band information of a target speech signal to obtain organ resonance characteristics of the target speech signal.
[0079] In an embodiment of the present application, the target voice signal refers to the recording information of the subject collected in a recording environment before the subject undergoes a chest CT or X-ray chest film examination, wherein the recording environment can be a separate soundproof room with a noise level less than 30 decibels. During the recording collection process, the subject needs to adopt a natural and comfortable sitting posture and be in a relaxed state. The recording device is fixed 20 to 30 cm away from the subject's lips. The collection frequency range of the recording device is set to 48kHz / 24bit, and the input level is uniformly adjusted to 7.
[0080] It should be noted that the above introduction to the recording environment for collecting audio is only for the purpose of facilitating the understanding of the recording collection process. The recording environment for collecting audio and the collection frequency and input level of the recording equipment can be set according to actual conditions, and this application does not impose any restrictions on this.
[0081] The main contents of the recording include standard recording and three-segment pronunciation recording. The standard recording requires the subjects to read text / numbers, for example, reading from 1 to 9 in sequence. During this process, the subjects are required to speak at an even speed and clearly pronounce words without connected reading or swallowing of words.
[0082] Taking into account that reading text may cause the subject to mix personal emotions during the reading process, thereby causing positive or negative emotional impacts during the reading process, therefore, in an optional implementation of the present application, numbers are selected as the recording text of the standard recording.
[0083] The three-segment pronunciation refers to guiding the user to pronounce the three sounds "yi", "ah" and "weng". These three sounds correspond to the throat pronunciation, chest pronunciation and abdominal pronunciation respectively. Each sound must be pronounced smoothly for 3-5 seconds to increase the participation of each sound in the pronunciation and increase the infrasound segment and frequency harmonic information.
[0084] The organ resonance characteristics can be understood as a summary and classification of information such as the height, duration, and clarity of the sound reflected by the target voice signal, or a comprehensive analysis result of the tone, volume, and sound quality reflected by the target voice signal.
[0085] In the embodiment of the present application, the organ resonance characteristics correspond to the "five internal organs mutual sound" characteristics in traditional Chinese medicine theory. In "Suwen·Yin Yang Ying Xiang Da Lun", it is mentioned that "five sounds" include "Jiao, Zheng, Gong, Shang, Yu", and "five voices" include "call, laugh, sing, cry, groan", which correspond to "liver, heart, spleen, lung, kidney" in "five internal organs" respectively. In addition, "Suwen·Five Internal Organs Generation Chapter" also proposed that "a good diagnoser... observes the panting, listens to the sound, and knows the suffering", which means that the disease condition can be diagnosed by observing the length of breathing and the five sounds of the sound.
[0086] In practice, the generation of sound originates from the vibration of objects. Therefore, the "five sounds" also reflect the difference in sound produced by different vibration frequencies. This difference in sound is directly reflected in the height, duration and clarity of the sound, and is also reflected in the physical resonance effect between voice and internal organs. Therefore, by extracting the infrasound band information in the target voice signal, the "five sounds" in the target voice signal can be quantitatively judged, and then the resonance characteristics of the internal organs can be obtained.
[0087] In the embodiment of the present application, the above S101 mainly includes:
[0088] By utilizing the linear generation model of speech signals, the target speech signals are subjected to infrasound band information extraction processing to obtain the organ resonance characteristics of the target speech signals.
[0089] The linear generation model of speech signals is a mathematical model used to describe the speech generation mechanism in the field of speech signal processing and speech synthesis. This model is based on acoustic theory and approximates the process of human speech production through physical and mathematical methods.
[0090] In an embodiment of the present application, the linear generation model of the speech signal includes an excitation model U(z), a vocal tract model G(z), a radiation model R(z) and an visceral speech resonance model A(z), wherein the low-frequency (1-20Hz) component in the audio belongs to the visceral speech resonance model A(z).
[0091] The linear generation model of the speech signal can be expressed as: S(z)=U(z)·G(z)·R(z)·A(z).
[0092] Among them, the excitation model U(z) is used to simulate the excitation formed by the combined action of the pulmonary airflow and the vocal tract; the vocal tract model G(z) is used to simulate the radiation effect of the lips and nostrils; the radiation model R(z) is used to simulate the tuning movement of the vocal tract and the radiation effect of the nostrils; the visceral speech resonance model A(z) is used to define the eigenfrequency of different organs of the body, and to enhance the corresponding frequency through the frequency doubling effect under the action of speech excitation.
[0093] The method of using the linear generation model of the speech signal to extract the infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal includes:
[0094] Determine the low-frequency component in the target speech signal by using the linear generative model of the speech signal, and use the low-frequency component as the infrasound band information;
[0095] Based on the infrasound band information, the organ resonance characteristics of the target speech signal are determined.
[0096] In actual application, the target speech signal can be input into the above-mentioned linear generation model, and then the low-frequency component in the target speech signal can be determined through the linear generation model, and then the infrasound band information in the target speech signal can be extracted to determine the visceral resonance characteristics of the target speech signal.
[0097] In the process of actual application, the target speech signal and the linear generation model of the speech signal can be combined, so that on the premise of knowing the target speech signal, the target speech signal is input into the linear generation model, and the target speech signal is decomposed into the excitation model U(z), the vocal tract model G(z), the radiation model R(z) and the viscera speech resonance model A(z) through the linear generation model, so as to obtain the low-frequency components belonging to the viscera speech resonance model A(z), and then obtain the infrasound band information in the target speech signal.
[0098] S102, performing speech low-frequency gradient analysis on the target speech signal to obtain triple-burner qi characteristics of the target speech signal.
[0099] The triple-burner qi characteristics are derived from the triple-burner dialectics, which is derived from the Wei-Qi-Ying-Xue dialectics and the Six-Jing dialectics theory, focusing on analyzing the specific manifestations of organ dysfunction during the occurrence and progression of febrile diseases. The core advantage of this method is that it can accurately locate the organ areas affected by the lesions.
[0100] In an embodiment of the present application, the speech low-frequency gradient analysis processing of the target speech signal refers to analyzing the distribution of laryngeal pronunciation, chest pronunciation and abdominal pronunciation in the target speech signal, and then determining the pronunciation model mainly adopted by the sample under normal conditions.
[0101] Please refer to Figure 2 , Figure 2 A schematic diagram for comparing different pronunciation modes provided in the embodiments of the present application.
[0102] like Figure 2 As shown, Figure 2 It includes laryngeal pronunciation, chest pronunciation and abdominal pronunciation, as well as the speech waveform and Mel spectrum corresponding to each pronunciation mode.
[0103] Among them, the laryngeal pronunciation corresponds to the "one" sound made by the subject in the target speech signal. At this time, the subject's pronunciation part is the larynx, and the driving part of the pronunciation is also the larynx.
[0104] The chest pronunciation corresponds to the "ah" sound made by the subject in the target speech signal. At this time, the subject's pronunciation part is the larynx, and the driving part of the pronunciation is the chest.
[0105] The abdominal pronunciation corresponds to the "weng" sound made by the subject in the target speech signal. At this time, the subject's pronunciation part is the larynx, and the driving part of the pronunciation is the abdomen.
[0106] The speech waveforms and Mel spectrograms corresponding to these three pronunciation modes are all different, wherein the horizontal axis of the speech waveform represents time, and the vertical axis represents the amplitude or intensity of the speech, and the horizontal axis of the Mel spectrogram represents time, and the vertical axis represents frequency. Therefore, the distribution of the subject's pronunciation mode during the audio recording process can be analyzed based on the speech waveforms and Mel spectrograms corresponding to the three pronunciation modes in the subject's target speech signal, and the distribution can be used as the triple burner qi mechanism feature, so that in the subsequent analysis of the characteristics of the subject's target speech signal, the subject's lungs can be analyzed in combination with the subject's pronunciation mode or the use of the pronunciation part during the pronunciation process.
[0107] Specifically, the above S102 includes:
[0108] Perform speech low-frequency gradient analysis on the speech waveform and Mel spectrum of the target speech signal to determine the pronunciation pattern distribution information in the target speech signal; and determine the triple-burner qi mechanism characteristics based on the pronunciation pattern distribution information.
[0109] In actual application, the speech waveform diagram can be obtained directly from the audio file by saving the target speech signal as an audio file after recording the target speech signal of the subject; or the audio value can be plotted over time using a drawing library (such as matplotlib in Python).
[0110] The Mel spectrum can be used to calculate the Mel cepstral coefficients of the target speech signal. The Mel cepstral coefficient is a cepstral parameter extracted from the Mel scale frequency domain and used to describe the nonlinear characteristics of the human ear frequency. It realizes the combination of speech generation mechanism and human auditory perception characteristics. This feature has been widely used in speech recognition systems. It can be expressed by the following formula (1):
[0111] f Mel =2595×log 10 (1+f / 700) (1);
[0112] Where, f represents the linear frequency of the target speech signal; f Mel Represents the Mel frequency, which is the value after linear mapping to the Mel scale.
[0113] In the actual application process, the acquisition of the Mel spectrum includes: pre-emphasis processing of the target speech signal, frame processing, windowing, fast Fourier transform, calculation of spectral line energy, calculation of energy passing through the Mel filter, calculation of discrete cosine transform cepstrum and calculation of logarithmic energy.
[0114] Among them, the pre-emphasis processing can be understood as processing the voice signal through a high-pass filter, and the calculation is as follows:
[0115] H(z)=1-μz -1 (2);
[0116] Among them, the value of μ is between 0.9-1.0, usually 0.97; z is the Z-transform variable; H(z) describes the response of the system to different frequency components.
[0117] Pre-emphasis processing has three purposes. The first is to keep the high-frequency part in the entire frequency band and ensure that the same signal-to-noise ratio can be used to calculate the spectrum. This can be achieved by enhancing the high-frequency part. The second is that the high-frequency part of the speech signal is often suppressed. Pre-emphasis processing can eliminate the effects of the vocal cords and lips during the phonation process to compensate for the suppressed high-frequency part. The third is to highlight the resonance peaks of the high-frequency part.
[0118] Framing processing refers to dividing the target speech signal into shorter frames, where each frame can be regarded as a steady-state signal. It should be noted that during the framing process, there will be some overlap between two frames, otherwise the smooth transition of the signal between two connected frames may be affected.
[0119] Windowing refers to applying a window function to the target speech signal after framing to reduce the spectrum leakage problem caused by the truncation effect at the frame boundary.
[0120] Assume that the target speech signal after framing is S(n), n=0, 1, ..., N-1; N is the total number of frames, and the target speech signal after windowing is S'(n)=S(n)*W(n), where W(n) can be expressed by the following formula (3):
[0121]
[0122] Among them, a represents the control parameter of the window shape. Different values of a result in different windows. Generally, a is 0.46.
[0123] The purpose of fast Fourier transform is to convert the target audio signal into energy distribution in the frequency domain for exploration. The energy distribution is different from the speech features. After windowing, fast Fourier transform must be performed to obtain the energy distribution in the frequency domain. Specifically, the Fourier transform of the target speech signal can be expressed by the following formula (4):
[0124]
[0125] Among them, x(n) is the target speech signal, N is the number of Fourier transform points, X a (k) represents the result of Fourier transform.
[0126] Calculating the spectrum line energy means calculating the energy of the data spectrum line after the fast Fourier transform of each frame to calculate the energy passing through the Mel filter. In the process of frequency domain analysis, the energy passing through the Mel filter is equal to the sum of the product of the frequency domain response Hm(k) of the filter and the energy spectrum E(i, k) of each frame.
[0127] The discrete cosine transform cepstrum (DCT for Discrete Cosine Transform, DCT) is a spectrum obtained by performing Fourier transform on the target speech signal, performing a logarithmic operation, and then performing inverse Fourier transform, namely, FFT cepstrum.
[0128] Furthermore, the volume of each frame is also one of the important features in the speech analysis process, and the calculation is relatively simple. The sum of the squares of the signals in each frame is calculated, and the logarithm of the sum of squares with a base of 10 is taken, and finally the logarithmic energy is obtained by multiplying by 10. After incorporating the logarithmic energy, the basic speech features of each frame will have one more dimension, including the cepstrum parameters and logarithmic energy. Other speech features, such as pitch, zero crossing rate, and formant, are also added at this stage.
[0129] After the above steps of pre-emphasis processing, frame processing, windowing, fast Fourier transform, calculation of spectral line energy, calculation of energy passing through Mel filter, calculation of discrete cosine transform cepstrum and calculation of logarithmic energy of the target speech signal, the Mel spectrum diagram can be obtained.
[0130] Furthermore, performing speech low-frequency gradient analysis on the speech waveform and Mel spectrum of the target speech signal to determine the pronunciation pattern distribution information in the target speech signal refers to analyzing the frequency change trend or intensity change of the target speech signal in the low frequency band in combination with the speech waveform and the Mel spectrum, that is, analyzing the conversion rate of the low-frequency part of the target speech signal and the distribution information on the Mel spectrum, that is, the pronunciation pattern distribution information.
[0131] Furthermore, the triple burner qi mechanism characteristic can be understood as a feature vector obtained based on the pronunciation pattern distribution information. In an optional embodiment of the present application, the pronunciation pattern distribution information can be feature encoded by an encoder to obtain the triple burner qi mechanism characteristic, or the pronunciation pattern distribution information can be encoded by artificial encoding to obtain the triple burner qi mechanism characteristic. The present application does not impose any restrictions on this.
[0132] It should be noted that the triple burner qi mechanism feature is used as one of the inputs of the subsequent category analysis model to classify the target speech signal. In an optional embodiment, the encoder may also be a part of the category analysis model. In this case, the triple burner qi mechanism feature may also be the pronunciation pattern distribution information, that is, the pronunciation pattern distribution information is used as the input of the category analysis model to encode the pronunciation pattern distribution information through the encoder in the category analysis model to obtain features that the model can recognize.
[0133] S103, quantifying the digital features of the target speech signal, and performing stress analysis on the pronunciation of single words in the target speech signal to obtain the Qi, blood, body fluid features of the target speech signal.
[0134] In an embodiment of the present application, the characteristics of qi, blood, body fluids and body fluids include the characteristics of the strength of the middle qi, hoarseness of the voice, and the characteristics of cold and heat, both inside and outside, in the target speech signal, so as to evaluate the influence of the various dimensions of qi, blood, body fluids and body fluids of the subject on the speech signal.
[0135] This application takes the Qi, blood, body fluid theory in traditional Chinese medicine as a theoretical framework, and analyzes the impact of each dimension of Qi, blood, body fluid and body fluid on speech signals based on a comprehensive analysis of clinical manifestations.
[0136] In the process of actual application, in order to determine the strength characteristics of the middle breath, the target speech signal is firstly converted into a digital signal to obtain the digital signal characteristics in the target speech signal.
[0137] The digital signal characteristics include: signal zero-crossing rate, volume, sound intensity, sound pressure level and sound intensity level.
[0138] Specifically, in order to extract the digital signal features in the target speech signal, the target speech signal needs to be digitized. Specifically, the digitization processing mainly includes: voice endpoint detection (Voice Activity Detection, VAD), sampling and quantization of the speech signal, and short-time windowing of the speech signal.
[0139] That is, the target speech signal is subjected to high-pass filtering through a high-pass filter to remove the DC bias component and low-frequency noise in the target speech signal, and then the filtered target speech signal is subjected to short-time windowing processing to frame the target speech signal; after the framing is completed, feature extraction is performed on each frame of data to obtain the above-mentioned digital signal features.
[0140] Among them, the zero-crossing rate can be obtained by calculating the frequency of the target speech signal passing through the zero point, that is, counting the number of times the signal changes from positive to negative and from negative to positive, and dividing it by the corresponding duration; the volume can be represented by the amplitude or energy of the signal in the digital signal. In practical applications, the volume can be the root mean square value of the signal; the sound intensity can also be approximately represented by the amplitude of the signal, especially when no physical unit conversion is involved; the sound pressure level and the sound intensity level can be indirectly estimated based on the amplitude of the signal.
[0141] Furthermore, the quantifying of the digital signal characteristics to obtain the breath strength characteristics and the voice hoarseness includes:
[0142] Determining noise information of the target speech signal according to the signal zero-crossing rate;
[0143] quantifying the noise information, sound intensity, sound pressure level, and sound intensity level to determine the hoarseness of the target speech signal;
[0144] The audio is quantized in combination with the frequency formant and spectrum distribution of the target speech signal to determine the breath strength characteristics of the target speech signal.
[0145] The frequency resonance peak and spectrum distribution of the target speech signal can be obtained by performing spectrum analysis on the target speech signal, wherein the frequency resonance peak can be estimated by the peak value in the spectrum diagram, and the commonly used estimation method can be linear prediction coding or analysis based on autocorrelation function.
[0146] The cold / heat, exterior / interior features can be obtained by analyzing the stress positions of single-word speech segments in the target speech signal.
[0147] Specifically, in order to obtain the cold, heat, exterior and interior features, the target speech signal is first subjected to voice activity detection (VAD) processing to obtain single-word speech segments of the target speech signal; then, the single-word speech segments are subjected to stress position analysis to obtain the cold, heat, exterior and interior features of the target speech signal.
[0148] S104: Determine the emotional features of the target speech signal according to the time domain features and frequency domain features of the target speech signal.
[0149] The emotional features are used to represent the speed, tone, sense of control, temporal complexity of the subject's speech, etc., so as to analyze the emotional richness of the target speech signal.
[0150] Specifically, the emotional features of the target speech signal are obtained based on the frequency domain analysis results and the time domain analysis results of the target speech signal.
[0151] The time domain analysis of the target speech signal refers to directly processing or estimating the speech waveform, thereby characterizing a series of features that vary with time, that is, the time domain features.
[0152] Time domain analysis is based on the short-term invariance of speech, that is, the various characteristics of speech are unchanged in a short time. In the time domain, the target speech signal can be directly represented by a time waveform, in which the unvoiced segment is similar to white noise, with a higher frequency, but a small amplitude and no obvious periodicity, while the voiced sound has a very obvious periodicity and a large amplitude, and a relatively low frequency. And the energy of the voiced part is much greater than that of the unvoiced part.
[0153] The analysis of the emotional characteristics involves changes in sound energy. Therefore, the energy characteristics of the voiced part have a higher correlation with the emotional characteristics of the subject than the energy characteristics of the unvoiced part.
[0154] The frequency domain analysis of the target speech signal refers to the process of converting the speech signal in the time domain to the frequency domain through Fourier transform to reveal the frequency composition and energy distribution of the signal. In the frequency domain, the characteristics of the target speech signal are manifested as the energy distribution of a series of different frequency components, including the fundamental frequency and its harmonics (mainly corresponding to the voiced part) and the broadband noise component (related to the unvoiced part). The fundamental frequency reflects the basic pitch of the sound, the harmonic structure reflects the timbre characteristics of the sound, and the broadband noise is related to the unvoiced segment. These characteristics together constitute the spectral profile of the speech.
[0155] When analyzing the relationship between emotional characteristics and frequency domain characteristics, the voiced part often carries more information about the speaker's emotional state due to its significant periodicity and higher energy concentration.
[0156] Specifically, the above S104 includes:
[0157] Performing time domain and frequency domain analysis on the target speech signal to obtain inter-word time domain features and inter-word frequency domain features of the target speech signal;
[0158] The time-frequency cross-linking analysis technology is used to perform feature analysis on the inter-character time domain features and the inter-character frequency domain features to determine the emotional features of the target speech signal.
[0159] In an optional implementation manner of the present application, the inter-character time domain features and inter-character frequency domain features include: volume difference / frequency difference mean, standard deviation, trend, fluctuation curvature, height difference, steepness, normalized features and auditory loudness.
[0160] In the actual application process, the time domain and frequency domain analysis of the target speech signal includes framing, windowing, time domain conversion and frequency domain conversion of the target speech signal, wherein framing and windowing are used to divide the continuous speech signal into multiple short time windows, and apply a window function to each window to reduce the edge effect; time domain analysis is used to calculate the amplitude of each window as a volume indicator; frequency domain conversion is used to perform Fourier transform on each window to obtain a spectrum.
[0161] After completing the time domain and frequency domain analysis, the mean and standard deviation of the difference in amplitude between adjacent frames are calculated as the volume difference and standard deviation; the frequency difference mean can determine the fundamental frequency of each frame through the fundamental frequency tracking algorithm, and then calculate the fundamental frequency difference between adjacent frames, and then obtain the fundamental frequency difference mean as the frequency difference mean; the trend can be obtained by linear fitting the volume or frequency sequence; the fluctuation curvature is analyzed by performing second-order difference on the amplitude or frequency sequence, and the fluctuation curve change is approximately represented by the second-order difference; the height difference can identify the peak and valley of the signal and calculate the difference between the two; the steepness can be obtained by calculating the slope of the amplitude or frequency change to reflect the sharpness of the signal change; the normalized feature refers to converting all characteristic values of the frequency domain feature and the time domain feature into standard scores; the auditory loudness can adjust the spectrum through the A-Weighting filter to simulate the frequency response of the human ear, and then calculate the loudness level as the auditory loudness.
[0162] After obtaining the inter-character time domain features and inter-character frequency domain features, the time-frequency cross-linking analysis technology can be used to analyze and process the voiced and unvoiced parts in the frequency domain and time domain of the target speech in combination with the above-mentioned inter-character frequency domain features and inter-character frequency domain features to determine the emotional characteristics.
[0163] The time-frequency cross-linking analysis technology is used to simultaneously reveal the changing characteristics of the signal in both time and frequency dimensions. Its core lies in overcoming the limitations of simple time domain or frequency domain analysis, and providing a dynamic perspective to observe the instantaneous frequency and time-varying characteristics of the signal through mathematical transformation and representation methods.
[0164] In the process of practical application, the time-frequency cross-linking analysis technology includes: short-time Fourier transform, wavelet transform, Wigner-Ville distribution, overlapping windowed Fourier transform, Choi-Williams distribution, Bilinear time-frequency distribution, etc.
[0165] S105, using a pre-trained category analysis model, at least combining the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics, to perform category analysis on the target speech signal to obtain a classification result corresponding to the target speech signal.
[0166] The classification results include no need for lung examination, need for lung nodule examination, and need for other examinations besides lung nodules.
[0167] No need for lung examination means that after category analysis of the features obtained from S101 to S104, it is determined that all indicators of the subject reflected by the target speech signal are at normal levels.
[0168] The need for a lung nodule examination means that after class analysis of the features obtained from S101 to S104, it is determined that the target speech signal reflects that the subject needs a CT or X-ray examination in order to determine whether the subject has lung nodules.
[0169] The need for other examinations besides lung nodules means that after category analysis of the features obtained from S101 to S104 above, it is determined that the target voice signal reflects that the subject needs to undergo blood routine tests, skin tests, serum protein, Mycoplasma pneumoniae and other examinations in order to determine whether the subject suffers from lung diseases such as pneumonia, respiratory tract infection and the like.
[0170] In the process of specific application, the classification analysis model can be obtained by machine learning (ML) training. Machine learning (a multi-disciplinary cross-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines) is specifically used to study how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their own new capabilities. Machine learning usually includes artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning and other technologies. Machine learning is a branch of artificial intelligence (AI) technology.
[0171] In the process of practical application, the sklearn.svm library in the Python programming language can be used to construct the category analysis model (support vector model), so that the category analysis model has category analysis and pattern recognition capabilities. In the training process, pre-constructed training samples can be imported, and the SVC method is introduced from the sklearn.svm library, using the radial basis function (RBF) as the kernel function to train the category analysis model.
[0172] In terms of model parameter adjustment, the penalty coefficient and gamma parameter of misclassification are introduced to limit the model's tolerance to misclassified instances through the penalty coefficient, and the width of the RBF kernel is controlled through the gamma parameter to limit the smoothness of the decision boundary.
[0173] In an optional implementation of the present application, in order to improve the accuracy of the classification result, the target speech signal can also be subjected to category analysis processing using the category classification model in combination with the spectral characteristics, power spectrum characteristics, auditory characteristics and other data of the target speech signal.
[0174] Specifically, please refer to Table 1, which is a feature table provided in an embodiment of the present application for performing category analysis on the target speech signal.
[0175] Table 1:
[0176]
[0177]
[0178] The digital signal feature can be obtained by converting the target speech into a digital signal;
[0179] The Mel spectrum feature and the power spectrum feature can be obtained based on calculating the Mel cepstral coefficients of the target speech signal;
[0180] The global frequency domain / time domain features, the MAG time domain / frequency domain features and the inter-word frequency domain / time domain features can be obtained based on the frequency domain analysis and the time domain analysis of the target speech signal;
[0181] The auditory features can be obtained by frequency domain analysis of the target speech. For example, the bass drum sound can be identified by analyzing the low-frequency part of the spectrum graph to identify the strength of the bass drum and the bass part. The speech dynamics can be evaluated by calculating the energy or loudness of the target speech signal. The sibilant sound can be identified by detecting the peak value of the high frequency band or the energy of a specific frequency band.
[0182] The speech pronunciation features can be obtained by using sophisticated signal processing and analysis methods. For example, the number of pronounced syllables can be obtained by performing speech recognition or natural language processing technology on the target speech signal, or it can be evaluated based on the rhythmic characteristics of the speech signal. The tremolo can be detected by analyzing the change of the fundamental frequency over time; the terminal pitch rise can be detected by analyzing the fundamental frequency trajectory of the speech signal, especially the behavior at the end of a sentence or phrase; the volume rise can be obtained by analyzing the change of the energy or loudness of the audio signal over time; the speech interval feature can be determined by analyzing the energy of the audio signal or using a voice activity detection (VAD) algorithm to determine the speech segment and the non-speech segment, and then measuring the time length of each interval; the maximum frequency band time series length ratio can be obtained by finding the main frequency components in each time period through spectral analysis, and then calculating the proportion of these main frequency components occupying the entire signal time.
[0183] Furthermore, in order to facilitate understanding of the process of the category analysis model performing category analysis on the above features, the following describes it in detail in conjunction with the training process of the category analysis model.
[0184] Specifically, the training of the category analysis model includes the following S1 to S6:
[0185] S1, obtaining a sample speech signal and a sample classification result corresponding to the sample speech signal;
[0186] S2, extracting infrasound band information from the sample speech signal to obtain sample viscera resonance characteristics of the sample speech signal;
[0187] S3, performing speech gradient analysis on the sample speech signal to obtain a sample triple-burner qi mechanism feature of the sample speech signal;
[0188] S4, quantifying the digital features of the sample speech signal, and performing stress analysis on the pronunciation of single words in the sample speech signal to obtain the sample qi, blood, body fluid features of the sample speech signal;
[0189] S5, determining the sample emotion characteristics of the sample speech signal according to the time domain characteristics and frequency domain characteristics of the sample speech signal;
[0190] S6, using at least the sample viscera resonance characteristics, the sample triple burner qi characteristics, the sample qi, blood and body fluid characteristics, the sample emotion characteristics and the sample classification results as training samples, training the pre-constructed category analysis model to obtain a trained category analysis model.
[0191] In actual application, the sample voice signals may be voice signals of patients with lung nodules, healthy people, and patients without lung nodules but with other lung diseases collected by recording equipment.
[0192] After collecting the above-mentioned sample voice signals and determining the sample labels (i.e., sample classification results) corresponding to each of the sample voice signals based on the patient's disease type, the sample viscera resonance characteristics, the sample triple burner qi characteristics, the sample qi, blood, and body fluid characteristics, and the sample emotion characteristics corresponding to each sample voice signal are extracted based on methods similar to those shown in S101 to S104 above, and these characteristics and the sample classification results are used as training samples to train the category analysis model.
[0193] In another optional embodiment of the present application, in order to improve the training accuracy of the category analysis model, the training samples also include data such as spectral characteristics, power spectrum characteristics, auditory characteristics, etc. of each sample speech signal (i.e., the various feature data mentioned in Table 1).
[0194] In summary, the speech signal analysis method provided in the embodiment of the present application obtains the traditional Chinese medicine characteristics of the target speech signal by performing multi-dimensional feature analysis and extraction processing on the target speech signal, that is, obtaining the resonance characteristics of the internal organs, the characteristics of the triple burner qi, the characteristics of qi, blood, body fluids and emotions. Afterwards, combined with the category analysis model, at least the traditional Chinese medicine characteristics are subjected to category analysis to obtain the classification results corresponding to the target speech signal, so that relevant staff can screen patients who need chest CT and chest X-ray from a large number of subjects based on the classification results, indirectly reducing the workload of radiologists and solving the radiation exposure rate problem of some subjects.
[0195] Corresponding to the speech signal analysis method, the present application also provides a speech signal analysis device.
[0196] Please refer to Figure 3 , Figure 3 This is a structural diagram of a speech signal analysis device provided in an embodiment of the present application.
[0197] like Figure 3 As shown, the speech signal analysis device comprises:
[0198] The first unit 301 is used to extract infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal;
[0199] The second unit 302 is used to perform speech low-frequency gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal;
[0200] The third unit 303 is used to quantify the digital features of the target speech signal and perform stress analysis on the pronunciation of individual words in the target speech signal to obtain the qi, blood, body fluid features of the target speech signal;
[0201] The fourth unit 304 is used to determine the emotional characteristics of the target speech signal according to the time domain characteristics and frequency domain characteristics of the target speech signal;
[0202] The fifth unit 305 is used to use a pre-trained category analysis model to perform category analysis on the target speech signal in combination with at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics to obtain a classification result corresponding to the target speech signal.
[0203] In an optional implementation manner of the present application, extracting infrasound band information from the target speech signal to obtain the organ resonance characteristics of the target speech signal includes:
[0204] By utilizing the linear generation model of speech signals, the infrasound band information of the target speech signals is extracted to obtain the organ resonance characteristics of the target speech signals.
[0205] In an optional implementation manner of the present application, the linear generation model of the speech signal is used to extract the infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal, including:
[0206] Determine the low-frequency component in the target speech signal by using the linear generative model of the speech signal, and use the low-frequency component as the infrasound band information;
[0207] Based on the infrasound band information, the organ resonance characteristics of the target speech signal are determined.
[0208] In an optional implementation manner of the present application, performing speech low-frequency gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal includes:
[0209] Performing speech low-frequency gradient analysis on the speech waveform and Mel spectrum of the target speech signal to determine pronunciation pattern distribution information in the target speech signal;
[0210] Based on the pronunciation pattern distribution information, the triple burner qi characteristics are determined.
[0211] In an optional embodiment of the present application, the characteristics of Qi, blood and body fluids include: characteristics of middle Qi strength, hoarseness of voice, and characteristics of cold and heat, both inside and outside;
[0212] The quantifying of the digital features of the target speech signal and performing stress analysis on the pronunciation of individual words in the target speech signal to obtain the blood, qi and body fluid features of the target speech signal include:
[0213] Performing digital signal conversion on the target speech signal to obtain digital signal features of the target speech signal;
[0214] quantifying the digital signal characteristics to obtain the breath strength characteristics and the voice hoarseness;
[0215] Performing speech endpoint detection on the target speech signal to obtain a single-word speech segment of the target speech signal;
[0216] Perform stress position analysis on the single-word speech segment to obtain the cold, hot, external and internal characteristics of the target speech signal.
[0217] In an optional implementation of the present application, the digital signal characteristics include: signal zero crossing rate, volume, sound intensity, sound pressure level and sound intensity level;
[0218] The step of quantifying the digital signal feature to obtain the breath strength feature and the voice hoarseness comprises:
[0219] Determining noise information of the target speech signal according to the signal zero-crossing rate;
[0220] quantifying the noise information, sound intensity, sound pressure level, and sound intensity level to determine the hoarseness of the target speech signal;
[0221] The volume is quantified in combination with the frequency formant and spectrum distribution of the target speech signal to determine the breath strength characteristics of the target speech signal.
[0222] In an optional implementation manner of the present application, determining the emotional features of the target speech signal according to the time domain features and frequency domain features of the target speech signal includes:
[0223] Performing time domain and frequency domain analysis on the target speech signal to obtain inter-word time domain features and inter-word frequency domain features of the target speech signal;
[0224] The time-frequency cross-linking analysis technology is used to perform feature analysis on the inter-character time domain features and the inter-character frequency domain features to determine the emotional features of the target speech signal.
[0225] In an optional embodiment of the present application, the device is also used for:
[0226] Obtaining a sample speech signal and a sample classification result corresponding to the sample speech signal;
[0227] Extracting infrasound band information from the sample speech signal to obtain sample viscera resonance characteristics of the sample speech signal;
[0228] Performing speech gradient analysis on the sample speech signal to obtain a sample triple-burner qi mechanism feature of the sample speech signal;
[0229] quantifying the digital features of the sample speech signal and performing stress analysis on the pronunciation of individual words in the sample speech signal to obtain the sample qi, blood and body fluid features of the sample speech signal;
[0230] Determining sample emotion features of the sample speech signal according to the time domain features and frequency domain features of the sample speech signal;
[0231] At least the sample viscera resonance characteristics, the sample triple burner qi characteristics, the sample qi, blood and body fluid characteristics, the sample emotion characteristics and the sample classification results are used as training samples to train the category analysis model to obtain a trained category analysis model.
[0232] In an optional embodiment of the present application, the pre-trained category analysis model is used to perform category analysis on the target speech signal in combination with at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics to obtain a classification result corresponding to the target speech signal, including:
[0233] Obtaining Mel spectrum features, power spectrum features, and auditory features of the target speech signal;
[0234] Using the pre-trained category analysis model, combined with the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, the emotional characteristics, the Mel spectrum characteristics, the power spectrum characteristics, the auditory characteristics, the digital characteristics, the time domain characteristics and the frequency domain characteristics, the target speech signal is subjected to category analysis to obtain a classification result corresponding to the target speech signal.
[0235] The above-mentioned device embodiment provided in this embodiment belongs to the same application concept as the method embodiment of this application, and can execute the analysis method of the voice signal provided in any of the above-mentioned embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the analysis method of the voice signal. For the technical details not fully described in this embodiment, please refer to the specific processing content of the analysis method of the voice signal provided in the above-mentioned embodiment of this application, which will not be repeated here.
[0236] It should be understood that the units in the above devices can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by the configuration file, so as to realize the functions of some or all of the above units. All units of the above devices can be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the remaining part is implemented in the form of hardware circuits.
[0237] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0238] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0239] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0240] The present application also provides an electronic device. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0241] like Figure 4 As shown, the electronic device comprises:
[0242] Processor 210;
[0243] A memory 200 for storing instructions executable by the processor 210;
[0244] The processor 210 is used to execute the speech signal analysis method disclosed in any of the above embodiments by running the instructions in the memory 200.
[0245] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.
[0246] A bus may include a pathway that transfers information between components of a computer system.
[0247] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0248] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0249] The memory 200 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0250] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a touch screen, etc.
[0251] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0252] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0253] The processor 210 executes the program stored in the memory 200 and calls other devices, and can be used to implement each step of any speech signal analysis method provided in the above embodiments of the present application.
[0254] In addition to the above-mentioned methods and devices, the embodiments of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the speech signal analysis method of various embodiments of the present application.
[0255] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0256] In addition, the embodiments of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps in the speech signal analysis method of various embodiments of the present application.
[0257] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0258] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0259] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0260] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0261] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0262] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0263] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0264] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0265] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0266] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0267] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for analyzing speech signals, It is characterized in that include: Extracting infrasound band information of the target speech signal to obtain organ resonance characteristics of the target speech signal; Performing speech low-frequency gradient analysis on the target speech signal to obtain triple-burner qi characteristics of the target speech signal; quantifying the digital features of the target speech signal and performing stress analysis on the pronunciation of individual words in the target speech signal to obtain the qi, blood, body fluid features of the target speech signal; Determining the emotional characteristics of the target speech signal according to the time domain characteristics and frequency domain characteristics of the target speech signal; Using a pre-trained category analysis model, at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood, body fluid characteristics and the emotional characteristics are combined to perform category analysis on the target speech signal to obtain a classification result corresponding to the target speech signal.
2. The method according to claim 1, It is characterized in that The step of extracting infrasound band information from the target speech signal to obtain the organ resonance characteristics of the target speech signal includes: By utilizing the linear generation model of speech signals, the infrasound band information of the target speech signals is extracted to obtain the organ resonance characteristics of the target speech signals.
3. The method according to claim 2, It is characterized in that The method of extracting infrasound band information of the target speech signal by using a linear generation model of the speech signal to obtain the organ resonance characteristics of the target speech signal includes: Determine the low-frequency component in the target speech signal by using the linear generative model of the speech signal, and use the low-frequency component as the infrasound band information; Based on the infrasound band information, the organ resonance characteristics of the target speech signal are determined.
4. The method according to claim 1, It is characterized in that The performing speech low-frequency gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal includes: Performing speech low-frequency gradient analysis on the speech waveform and Mel spectrum of the target speech signal to determine pronunciation pattern distribution information in the target speech signal; Based on the pronunciation pattern distribution information, the triple burner qi characteristics are determined.
5. The method according to claim 1, It is characterized in that The characteristics of Qi, blood and body fluids include: the strength of the middle Qi, the hoarseness of the voice, and the characteristics of cold and heat, both inside and outside; The quantifying of the digital features of the target speech signal and performing stress analysis on the pronunciation of individual words in the target speech signal to obtain the blood, qi and body fluid features of the target speech signal include: Performing digital signal conversion on the target speech signal to obtain digital signal features of the target speech signal; quantifying the digital signal characteristics to obtain the breath strength characteristics and the voice hoarseness; Performing speech endpoint detection on the target speech signal to obtain a single-word speech segment of the target speech signal; Perform stress position analysis on the single-word speech segment to obtain the cold, hot, external and internal characteristics of the target speech signal.
6. The method according to claim 5, It is characterized in that The digital signal characteristics include: signal zero crossing rate, volume, sound intensity, sound pressure level and sound intensity level; The step of quantifying the digital signal feature to obtain the breath strength feature and the voice hoarseness comprises: Determining noise information of the target speech signal according to the signal zero-crossing rate; quantifying the noise information, sound intensity, sound pressure level, and sound intensity level to determine the hoarseness of the target speech signal; The volume is quantified in combination with the frequency formant and spectrum distribution of the target speech signal to determine the breath strength characteristics of the target speech signal.
7. The method according to claim 1, It is characterized in that Determining the emotional features of the target speech signal according to the time domain features and frequency domain features of the target speech signal includes: Performing time domain and frequency domain analysis on the target speech signal to obtain inter-word time domain features and inter-word frequency domain features of the target speech signal; The time-frequency cross-linking analysis technology is used to perform feature analysis on the inter-character time domain features and the inter-character frequency domain features to determine the emotional features of the target speech signal.
8. The method according to claim 1, It is characterized in that Also includes: Obtaining a sample speech signal and a sample classification result corresponding to the sample speech signal; Extracting infrasound band information from the sample speech signal to obtain sample viscera resonance characteristics of the sample speech signal; Performing speech gradient analysis on the sample speech signal to obtain a sample triple-burner qi mechanism feature of the sample speech signal; quantifying the digital features of the sample speech signal and performing stress analysis on the pronunciation of individual words in the sample speech signal to obtain the sample qi, blood and body fluid features of the sample speech signal; Determining sample emotion features of the sample speech signal according to the time domain features and frequency domain features of the sample speech signal; At least the sample viscera resonance characteristics, the sample triple burner qi characteristics, the sample qi, blood and body fluid characteristics, the sample emotion characteristics and the sample classification results are used as training samples to train the category analysis model to obtain a trained category analysis model.
9. The method according to claim 1, It is characterized in that The method of using the pre-trained category analysis model to perform category analysis on the target speech signal in combination with at least the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, and the emotional characteristics to obtain a classification result corresponding to the target speech signal includes: Obtaining Mel spectrum features, power spectrum features, and auditory features of the target speech signal; Using the pre-trained category analysis model, combined with the viscera resonance characteristics, the triple burner qi characteristics, the qi, blood and body fluid characteristics, the emotional characteristics, the Mel spectrum characteristics, the power spectrum characteristics, the auditory characteristics, the digital characteristics, the time domain characteristics and the frequency domain characteristics, the target speech signal is subjected to category analysis to obtain a classification result corresponding to the target speech signal.
10. A device for analyzing a speech signal, It is characterized in that include: The first unit is used to extract infrasound band information of the target speech signal to obtain the organ resonance characteristics of the target speech signal; The second unit is used to perform speech gradient analysis on the target speech signal to obtain the triple-burner qi characteristics of the target speech signal; The third unit is used to quantify the digital features of the target speech signal and perform stress analysis on the pronunciation of individual words in the target speech signal to obtain the qi, blood, body fluid and other characteristics of the target speech signal; The fourth unit is used to determine the emotional characteristics of the target speech signal according to the time domain characteristics and frequency domain characteristics of the target speech signal; The fifth unit is used to combine at least the internal organs resonance characteristics, the triple burner qi characteristics, the qi, blood, body fluid characteristics and the emotional characteristics, use a pre-trained category analysis model to perform category analysis on the target speech signal, and obtain the lung feature classification result corresponding to the target speech signal.
Citation Information
Cited By
Viscera recognition method based on voice emotion and voice features
CN120340535A
