Tinnitus treatment audio generation method, system, equipment and medium
By generating biological natural tones that match the patient's tinnitus sounds, combined with environmental natural tones, and using iterative function algorithms to generate tinnitus therapy audio, the problem that tinnitus therapy audio in the prior art may lead to hearing damage and poor experience, achieving more efficient and safer treatment effects.
Patent Information
- Application Number
- CN202411954063.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-11
AI Technical Summary
Existing audio generation methods for tinnitus therapy often use a single biological natural sound noise, which can lead to hearing damage and poor treatment experience.
By randomly generating and screening biological natural tones that match the patient's own tinnitus sound, and combining different types of environmental natural tones, performing fitness testing and debugging, the environmental natural tones are finally inserted into biological natural tones based on the iterative function algorithm to generate tinnitus therapy audio.
It improves the effectiveness of tinnitus treatment and the treatment experience of patients, reduces the risk of hearing damage, and has a wider range of medical application prospects.
Smart Images

Figure CN119811420A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tinnitus treatment, and in particular to a method, system, device and medium for generating audio for tinnitus treatment. Background Art
[0002] With the development of social economy, the competition in all walks of life has intensified, resulting in excessive psychological pressure on people, causing mental anxiety, depression, irritability and other related negative emotions, which in turn lead to physical health problems such as insomnia, illness, tinnitus, etc., which not only cause great harm to the body and mind, but also seriously affect the quality of life. Such health problems have gradually become one of the issues of concern to all sectors of society.
[0003] In response to such health problems, more and more people are beginning to seek non-traditional medical methods to treat physical and mental problems, and sound therapy is one of them. In response to the tinnitus experienced by patients, related health problems can be effectively treated by generating tinnitus treatment audio that simulates the patient's and playing it for the patient for a long time. However, the current method of generating tinnitus treatment audio is usually to generate a universal biological natural sound noise with the same frequency and amplitude as the patient's tinnitus, such as narrowband noise or white noise, and treat it through masking. Although it can alleviate the discomfort of tinnitus in patients to a certain extent, it may cause hearing damage in the long run, and because the noise is relatively single, the patient's treatment experience is not good. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a method, system, device and medium for generating tinnitus treatment audio, which synthesizes environmental natural sounds from common biological natural sounds to generate tinnitus treatment audio. While ensuring the patient's treatment experience, the effect of tinnitus treatment is improved, the risk is low, the side effects are small, and it has a wider medical application prospect.
[0005] The present invention provides a method for generating audio for tinnitus treatment, the method comprising:
[0006] Randomly generate and select a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus;
[0007] Selecting several different types of environmental natural sounds, providing the environmental natural sounds to the patient for trial listening, performing fitness tests at the same time, and adjusting the environmental natural sounds according to the fitness test results;
[0008] Inserting and synthesizing the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio;
[0009] Tinnitus treatment is performed on the patient based on the tinnitus treatment audio, and the treatment effect is evaluated.
[0010] Furthermore, the randomly generated and screened biological natural sounds that match the frequency and amplitude of the patient's own tinnitus include:
[0011] Randomly generate a number of segments of universal biological natural sounds, where the types of the universal biological natural sounds include pure tone, Gaussian noise, uniform noise, masking noise, impulse noise, pure tone impulse noise and warbling sound;
[0012] Cut out the universal biological natural sound segments with concentrated energy from the plurality of universal biological natural sounds;
[0013] The frequency information and amplitude information of the tinnitus frequency band corresponding to the patient's own tinnitus sound are extracted, and the frequency information and amplitude information are matched with the universal biological natural sound segment to screen out the biological natural sound that matches the frequency and amplitude of the patient's own tinnitus sound.
[0014] Furthermore, the selecting of several different types of environmental natural sounds and providing the environmental natural sounds to the patient for audition and the performing of the adaptability test at the same time include:
[0015] Select various types of environmental natural sounds and provide them to patients for trial listening, and adjust the volume of the environmental natural sounds to obtain the patient's hearing threshold and discomfort threshold;
[0016] By asking patients about their feelings, we can obtain their acceptance and satisfaction intentions.
[0017] The adaptability score of the environmental natural sound is generated by comprehensively considering the acceptable intention degree, the satisfactory intention degree, and the matching degree between the frequency and amplitude of the corresponding environmental natural sound and the patient's own tinnitus sound;
[0018] The fitness scores of the environmental natural sounds are arranged from high to low, and the environmental natural sounds with higher fitness scores are preferentially selected.
[0019] Further, the debugging of the environmental natural sound according to the fitness test result includes:
[0020] Based on the fitness test result, the volume, speed, pitch and timbre balance of the environmental natural sound are adjusted respectively.
[0021] Furthermore, the method of inserting and synthesizing the debugged environmental natural sound into the biological natural sound based on the iterative function algorithm to generate the tinnitus treatment audio includes:
[0022] Acquire a mapping rule of the biological natural sound based on a standard note sequence based on an iterative function algorithm, and acquire a first audio track of the tinnitus treatment audio based on the mapping rule;
[0023] Dividing the first audio track into a plurality of bars, extracting characteristic notes of each bar respectively, selecting chords matching the characteristic notes, and concatenating the chords matching the characteristic notes of all bars to generate a second audio track of the tinnitus treatment audio;
[0024] Selecting sampling points of the biological natural sound, determining a gradient function according to the sequence number and sampling value of the sampling point, and gradually mixing the debugged environmental natural sound with the biological natural sound based on the gradient function to generate a third audio track of the tinnitus treatment audio;
[0025] The first audio track, the second audio track and the third audio track of the tinnitus treatment audio are spliced to generate the tinnitus treatment audio.
[0026] Furthermore, the treating tinnitus for the patient based on the tinnitus treatment audio includes:
[0027] The generated tinnitus treatment audios are randomly combined according to the playing time of the tinnitus treatment audios, and the gain and multiples are modified according to the degree of tinnitus in the left and right ears of the patient, and then played in a preset order.
[0028] Furthermore, the evaluation of the treatment effect includes:
[0029] After the tinnitus treatment audio is played, the treatment effect on the patient is evaluated, and the tinnitus treatment audio with good treatment effect evaluation is numbered and encrypted, and then stored in the tinnitus treatment audio storage library.
[0030] The present invention also provides a tinnitus treatment audio generation system, the tinnitus treatment audio generation system is used to implement the above-mentioned tinnitus treatment audio generation method, the system comprises:
[0031] A biological natural sound generation module, which is used to randomly generate and select a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus;
[0032] An environmental natural sound debugging module, which is used to select several different types of environmental natural sounds, provide the environmental natural sounds to the patient for trial listening, perform fitness tests at the same time, and debug the environmental natural sounds according to the fitness test results;
[0033] A natural sound synthesis module, the natural sound synthesis module is used to insert and synthesize the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio;
[0034] A tinnitus treatment and evaluation module is used to treat tinnitus for patients based on the tinnitus treatment audio and evaluate the treatment effect.
[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned tinnitus treatment audio generation method.
[0036] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned tinnitus treatment audio generation method is implemented.
[0037] The present invention provides a method, system, device and medium for generating audio for tinnitus treatment. The method selects biological natural sounds and environmental natural sounds with a high degree of synthesis matching. After debugging, a first audio track composed of main melody notes, a second audio track composed of chords, and a third audio track formed by environmental natural sounds based on a gradual mixing algorithm are obtained based on an iterative function algorithm. The three audio tracks are spliced to form tinnitus treatment audio. Environmental natural sounds are synthesized from common biological natural sounds, and an organic combination of biological natural sounds and environmental natural sounds is achieved to generate tinnitus treatment audio. While ensuring the patient's treatment experience, the effect of tinnitus treatment is improved, the risk is low, the side effects are small, and the method has a wider medical application prospect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a flow chart of the method for generating audio for tinnitus treatment in Embodiment 1 of the present invention;
[0040] Figure 2 This is a flow chart of generating and screening biological natural sounds in the first embodiment of the present invention;
[0041] Figure 3 is a flow chart of the adaptability test to the natural sound of the environment in the first embodiment of the present invention;
[0042] Figure 4 This is a flow chart of synthesizing environmental natural sounds and biological natural sounds to generate tinnitus treatment audio in the first embodiment of the present invention;
[0043] Figure 5 is a flowchart of obtaining the first audio track of tinnitus treatment audio in the first embodiment of the present invention;
[0044] Figure 6It is a diagram of the architecture of the tinnitus treatment audio generation system in the second embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] In the present invention, it should be understood that terms such as "include" or "have" are intended to indicate the existence of features, numbers, steps, behaviors, components, parts or a combination thereof disclosed in the specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts or a combination thereof exist or are added.
[0047] It should also be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0048] Embodiment 1
[0049] Embodiment 1 of the present invention provides a method for generating tinnitus treatment audio, the method comprising: randomly generating and selecting a plurality of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus; selecting a plurality of different types of environmental natural sounds, providing the environmental natural sounds to the patient for trial listening, performing a fitness test at the same time, and debugging the environmental natural sounds according to the fitness test results; inserting and synthesizing the debugged environmental natural sounds into the biological natural sounds based on an iterative function algorithm to generate tinnitus treatment audio; performing tinnitus treatment on the patient based on the tinnitus treatment audio, and evaluating the treatment effect.
[0050] In an optional implementation of this embodiment, Figure 1 As shown, Figure 1 The flowchart of the method for generating audio for tinnitus treatment in the first embodiment of the present invention is shown, which includes the following steps:
[0051] S101, randomly generating and selecting a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus;
[0052] In an optional implementation of this embodiment, Figure 2 As shown, Figure 2 The flowchart of generating and screening biological natural sounds in the first embodiment of the present invention is shown, including the following steps:
[0053] S201, randomly generate a number of universal biological natural sounds;
[0054] In an optional implementation of this embodiment, the types of universal biological natural sounds include pure tone, Gaussian noise, uniform noise, masking noise, impulse noise, pure tone impulse noise and warbling sound.
[0055] It should be noted that, in the therapeutic audio commonly used for tinnitus treatment, usually only white noise or narrow-band noise belonging to the masking noise type is used. Since the principle of masking noise is to forcibly cover up other sounds, although its therapeutic effect is good, during long-term treatment, patients often feel bored with this type of noise, resulting in a decrease in the treatment experience, which in turn affects the actual treatment effect. In this embodiment, more are used, including pure tone, Gaussian noise, uniform noise, pulse noise, pure tone pulse noise and warbling sound, among which the warbling sound is a sound with a pure tone frequency that continuously changes in high and low periodically near a certain average value, which can better attract the patient's attention and reduce the generation of standing waves, so that the efficiency and effect of the treatment can be effectively improved while considering the patient's treatment experience in the subsequent treatment.
[0056] What's more, at least one biological natural sound is generated here, which basically covers all the preset noise types.
[0057] S202, cutting out the universal biological natural sound segments with concentrated energy from the plurality of universal biological natural sounds;
[0058] In an optional implementation of the present embodiment, the several segments of universal biological natural sounds are represented by a time-frequency representation (TFR) to locate the frequency components at different times, and then syn-chrosqueezed wavelet transforms (SWT) are used to effectively determine the universal biological natural sound segments with concentrated energy among the several segments of universal biological natural sounds.
[0059] S203, extracting the frequency information and amplitude information of the tinnitus frequency band corresponding to the patient's own tinnitus sound, and matching the frequency information and amplitude information with the general biological natural sound segment, to screen out the biological natural sound that matches the frequency and amplitude of the patient's own tinnitus sound.
[0060] In an optional implementation of the present embodiment, the frequency information and amplitude information of the tinnitus frequency band corresponding to the patient's own tinnitus sound is collected when the patient has tinnitus, and the frequency information and amplitude information are matched with the frequency information and amplitude information of the universal biological natural sound segment in the above-mentioned energy concentration, and the biological natural sound segment that matches the frequency and amplitude of the patient's own tinnitus sound is screened out within a certain matching threshold.
[0061] S102, selecting several different types of environmental natural sounds, providing the environmental natural sounds to the patient for trial listening, performing a fitness test at the same time, and adjusting the environmental natural sounds according to the fitness test results;
[0062] In an optional implementation of this embodiment, Figure 3 As shown, Figure 3 The flowchart of the adaptability test to the natural sound of the environment in the first embodiment of the present invention is shown, which includes the following steps:
[0063] S301, selecting multiple types of environmental natural sounds, providing them to the patient for trial listening, and adjusting the volume of the environmental natural sounds to obtain the patient's hearing threshold and discomfort threshold;
[0064] In an optional implementation of this embodiment, multiple types of ambient natural sounds are selected, including but not limited to wind, leaves swaying, water flowing, birds singing, beasts roaring, etc.
[0065] In an optional implementation of this embodiment, multiple types of ambient natural sounds are provided to the patient for listening, and the patient's hearing threshold and discomfort threshold are obtained by adjusting the volume of the ambient natural sounds back and forth, that is, adjusting the audio amplitude.
[0066] Specifically, the hearing threshold is the audio amplitude threshold when the patient goes from never hearing to hearing the natural sound of the environment, and the discomfort threshold is the audio amplitude threshold of the natural sound of the environment when the patient feels uncomfortable with the volume.
[0067] The patient's hearing threshold and discomfort threshold are obtained here, fully considering the patient's experience during tinnitus treatment.
[0068] S302, obtaining the patient's acceptance and satisfaction intentions by asking the patient about his / her feelings;
[0069] In an optional implementation of this embodiment, after preliminary listening to the natural sounds of the environment, the patient's acceptance and satisfaction levels are obtained through oral questioning or questionnaire surveys.
[0070] S303, generating an adaptability score of the environmental natural sound by comprehensively considering the acceptable intention degree, the satisfactory intention degree, and the matching degree between the frequency and amplitude of the corresponding environmental natural sound and the patient's own tinnitus sound;
[0071] In an optional implementation of this embodiment, the acceptable intention level and the satisfactory intention level are combined to form the patient's experience intention level, and the adaptability score of different environmental natural sounds is generated by combining the frequency and amplitude of the corresponding environmental natural sounds with the degree of matching of the patient's own tinnitus, and expressed in the form of a score.
[0072] S304: Arrange the fitness scores of the environmental natural sounds from high to low, and give priority to environmental natural sounds with higher fitness scores.
[0073] In an optional implementation of this embodiment, the fitness scores of the environmental natural sounds are arranged from high to low, and one to three environmental natural sounds with higher fitness scores are selected according to the actual situation and the patient's own wishes.
[0074] In an optional implementation of the present embodiment, the adjusting the ambient natural sound according to the fitness test result includes: adjusting the volume, speed, pitch and timbre balance of the ambient natural sound based on the fitness test result.
[0075] In an optional implementation of this embodiment, the volume of the ambient natural sound is adjusted based on the patient's hearing threshold and discomfort threshold to ensure that the volume, that is, the audio amplitude, is greater than the hearing threshold and less than the discomfort threshold.
[0076] In an optional implementation of this embodiment, an overlap-add reconstruction method (Overlap-Add Reconstruction) is used to adjust the sound speed of the ambient natural sound.
[0077] Specifically, the audio time domain signal of the ambient natural sound is divided into multiple overlapping frames, each frame usually has a certain overlapping part, and the size of the overlapping part is set according to the need for sound speed adjustment. When the overlapping is completed, the audio time domain signal is converted into a frequency domain signal, and then after a series of filtering, noise reduction, and gain operations, it is converted into a time domain signal, and the overlapping part is removed, and adaptive weighted processing is performed to form an ambient natural sound with sound speed adjustment.
[0078] In an optional implementation of this embodiment, the pitch of the ambient natural sound is adjusted based on Hilbert-Huang transform combined with AM-FM frequency modulation and amplitude modulation algorithm.
[0079] Specifically, the ambient natural sound is decomposed into multiple formant components, and after adjusting the instantaneous amplitude, instantaneous angular frequency and instantaneous frequency of each formant component, all the formant components are synthesized to obtain the ambient natural sound with adjusted pitch. The calculation formula includes:
[0080]
[0081] Where l(t) is the natural sound of the environment before pitch adjustment, m(t) is the natural sound of the environment after pitch adjustment, and h i (t) is the i-th formant, h0(t) is the monotonic function part after decomposing all the formant components of the ambient natural sound before pitch adjustment, f i(t) is the instantaneous frequency of the i-th resonance peak, a i (t) is the instantaneous amplitude of the i-th resonance peak, ω i is the instantaneous angular frequency before the i-th resonance peak is adjusted, ω i ′ is the instantaneous angular frequency of the i-th resonance peak after adjustment.
[0082] In an optional implementation of this embodiment, the timbre balance adjustment of the ambient natural sound is implemented based on an equalization algorithm.
[0083] Specifically, based on the principle of equalization, the gain or attenuation of each frequency band signal of the ambient natural sound is adjusted within a controllable range, so that each timbre is in a balanced state, and the ambient natural sound with adjusted timbre is obtained.
[0084] S103, inserting and synthesizing the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio;
[0085] In an optional implementation of this embodiment, the iterative function system (IFS) algorithm uses iteration to generate fractal images, that is, under the framework of affine transformation of the object, a geometric figure with self-similar characteristics in the whole and in part is generated. Usually, an iterative algorithm is used to generate fractal graphics according to different affine transformations and certain probabilities of the overall shape. The graphics generated by the algorithm after repeated iterations have endless details and delicate textures, which makes it more advantageous than traditional methods in the simulation of natural landscapes.
[0086] In an optional implementation of this embodiment, Figure 4 As shown, Figure 4 The flowchart of synthesizing environmental natural sound and biological natural sound to generate tinnitus treatment audio in the first embodiment of the present invention is shown, including the following steps:
[0087] S401, obtaining a mapping rule of the biological natural sound based on a standard note sequence based on an iterative function algorithm, and obtaining a first audio track of the tinnitus treatment audio based on the mapping rule;
[0088] In an optional implementation of this embodiment, Figure 5 As shown, Figure 5 A flowchart of obtaining a first audio track of tinnitus treatment audio in Embodiment 1 of the present invention is shown, including the following steps:
[0089] S501, iteratively calculating the biological natural sound based on an iterative function algorithm to generate a fractal graph of the biological natural sound, and extracting a fractal sequence for generating the biological natural sound from the fractal graph;
[0090] In an optional implementation of this embodiment, the biological natural sound equivalent to the initial value is iteratively calculated based on an iterative function algorithm to generate a fractal graph of the biological natural sound, and the fractal coordinate values in the fractal graph are extracted to generate a fractal sequence of the biological natural sound {a n}.
[0091] S502, enlarging and modulo-taking the fractal sequence to form a mapping rule;
[0092] In an optional implementation of this embodiment, the general mapping rule expression is:
[0093] ω:
[0094] In the formula, ω represents the mapping rule, and a, b, c, d, e, and f represent the coefficients of this type of mapping.
[0095] In an optional implementation of this embodiment, the fractal sequence {a n} is enlarged and modulo-enlarged, and integerized to generate the integerized fractal sequence {b n}.
[0096] S503: Map the fractal sequence of biological natural sounds based on the mapping rule to generate a first audio track of the tinnitus treatment audio.
[0097] In an optional implementation of this embodiment, the integerized fractal sequence {b n} is mapped with the standard main melody notes to generate the first audio track of the tinnitus treatment audio, namely the main melody track.
[0098] S402, dividing the first audio track into a plurality of bars, extracting characteristic notes of each bar respectively, selecting chords matching the characteristic notes, and concatenating the chords matching the characteristic notes of all bars to generate a second audio track of the tinnitus treatment audio;
[0099] In an optional implementation of the present embodiment, based on a globally optimal dynamic programming algorithm, the first audio track is divided into a number of measures according to a fixed number of beats, the notes at the beginning or end of each measure are extracted as feature notes, the pitch and mode of the notes are determined, and the chords of the pitch and mode are selected.
[0100] In an optional implementation of this embodiment, after selecting the chords matching the characteristic notes of all the bars, the chords matching the characteristic notes of all the bars are spliced together to generate the second audio track of the tinnitus treatment audio.
[0101] S403, selecting sampling points of the biological natural sound, determining a gradient function according to the sequence number and sampling value of the sampling point, and gradually mixing the debugged environmental natural sound with the biological natural sound based on the gradient function to generate a third audio track of the tinnitus treatment audio;
[0102] In an optional implementation of this embodiment, the phase difference between adjacent frames of the biological natural sound is calculated, and the sampling points of the biological natural sound are selected according to the phase difference.
[0103] In an optional implementation of this embodiment, after all sampling points are selected, each sampling point is numbered, sampling values of different sampling points are extracted, and a gradient blending coefficient is determined according to the sampling values of sampling points with different serial numbers. The calculation formula of the gradient blending coefficient includes:
[0104]
[0105] Where g(n) is the gradient mixing coefficient, n is the number of the sampling point, T is the gradient time range, and N is the sampling value.
[0106] In an optional implementation of this embodiment, a gradient function is constructed based on the gradient mixing coefficient g(n), and the debugged ambient natural sound is gradiently mixed with the biological natural sound based on the gradient function to generate the third audio track of the tinnitus treatment audio.
[0107] Specifically, during the gradual blending, the gradual blending coefficient gradually increases from 0 to 1. When the gradual blending coefficient increases to 1, the gradual blending process is completed.
[0108] S404: splice the first audio track, the second audio track and the third audio track of the tinnitus treatment audio to generate tinnitus treatment audio.
[0109] In an optional implementation of this embodiment, the overlapping part of the frame lengths of the first audio track, the second audio track, and the third audio track of the tinnitus treatment audio is set, and the first audio track, the second audio track, and the third audio track of the tinnitus treatment audio are spliced according to the overlapping part. In this embodiment, the overlapping time length is selected to be 1ms, that is, starting from the first frame of the first audio track, the end overlaps 1ms to overlap the first frame of the second audio track, the end overlaps 1ms to overlap the first frame of the third audio track, the end overlaps 1ms to overlap the second frame of the first audio track, and so on.
[0110] In an optional implementation of this embodiment, the tinnitus treatment audio is subjected to rhythm adjustment processing.
[0111] Specifically, according to the sound speed of the tinnitus treatment audio, consider using a number of whole notes, half notes, quarter notes and eighth notes to form a rhythm sequence of the tinnitus treatment audio, and synthesize the fourth audio track of the tinnitus treatment audio, that is, the rhythm audio track, and integrate the rhythm audio track into the rhythm expression part of the tinnitus treatment audio.
[0112] Here, synthesized rhythm tracks are considered to enrich the rhythm sequence of tinnitus treatment audio and enhance the personalized selection of tinnitus treatment audio.
[0113] S104: Perform tinnitus treatment on the patient based on the tinnitus treatment audio, and evaluate the treatment effect.
[0114] In an optional implementation of this embodiment, tinnitus treatment is performed on the patient based on the tinnitus treatment audio synthesized and obtained in step S103.
[0115] In an optional implementation of this embodiment, the generated tinnitus treatment audio is randomly combined according to the tinnitus treatment audio playback duration, and the gain and multiple are modified according to the degree of tinnitus in the left and right ears of the patient, and then played in a preset order.
[0116] Specifically, according to the required duration of tinnitus treatment, several tinnitus treatment audios are selected and randomly combined to generate multiple combination schemes. After acoustic regulation, including volume, frequency, amplitude, peak delay, etc., tinnitus treatment audio corresponding to the required duration of tinnitus treatment is generated.
[0117] Furthermore, the tinnitus treatment audio is decomposed into a left ear component and a right ear component, and the gain and multiple of the corresponding left ear component or right ear component are modified according to the actual tinnitus degree of the patient's left and right ears to make it more suitable for the patient himself.
[0118] It should be noted that the left ear component or the right ear component can be copied.
[0119] Furthermore, the tinnitus treatment audio is played in a combined preset order.
[0120] In an optional implementation of this embodiment, the evaluating of the treatment effect includes: after the tinnitus treatment audio is played, evaluating the treatment effect on the patient, and numbering and encrypting the tinnitus treatment audio with good treatment effect evaluation, and storing it in the tinnitus treatment audio storage library.
[0121] Specifically, the encryption process includes an encryption AES algorithm and an asymmetric encryption RSA algorithm.
[0122] The tinnitus treatment audio with good treatment effect evaluation is stored here and can be used for subsequent tinnitus treatment of other patients, which is conducive to improving the efficiency of tinnitus treatment.
[0123] In summary, embodiment 1 of the present invention provides a method for generating audio for tinnitus treatment, which selects biological natural sounds and environmental natural sounds with a high degree of synthesis matching. After debugging, a first audio track composed of main melody notes, a second audio track composed of chords, and a third audio track formed by environmental natural sounds based on a gradient mixing algorithm are obtained based on an iterative function algorithm. The three audio tracks are spliced to form tinnitus treatment audio, and environmental natural sounds are synthesized from common biological natural sounds, thereby achieving an organic combination of biological natural sounds and environmental natural sounds to generate tinnitus treatment audio. While ensuring the patient's treatment experience, the effect of tinnitus treatment is improved, with low risk and small side effects, and it has a wider medical application prospect.
[0124] Embodiment 2
[0125] Embodiment 2 of the present invention provides a tinnitus treatment audio generation system, which is used to implement the tinnitus treatment audio generation method in Embodiment 1. The system includes: a biological natural sound generation module, an environmental natural sound debugging module, a natural sound synthesis module, and a tinnitus treatment and evaluation module.
[0126] In an optional implementation of this embodiment, Figure 6 As shown, Figure 6 The architecture diagram of the tinnitus treatment audio generation system in the second embodiment of the present invention is shown, including the following modules:
[0127] A biological natural sound generation module 10, which is used to randomly generate and select a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus;
[0128] An environmental natural sound debugging module 20, which is used to select a number of different types of environmental natural sounds, provide the environmental natural sounds to the patient for trial listening, perform fitness tests at the same time, and debug the environmental natural sounds according to the fitness test results;
[0129] A natural sound synthesis module 30, which is used to insert and synthesize the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio;
[0130] The tinnitus treatment and evaluation module 40 is used to treat tinnitus for the patient based on the tinnitus treatment audio and evaluate the treatment effect.
[0131] In summary, the second embodiment of the present invention provides a tinnitus treatment audio generation system, which is used to implement the tinnitus treatment audio generation method in the first embodiment, selects biological natural sounds and environmental natural sounds with a high degree of synthesis matching, and after debugging, obtains a first audio track composed of main melody notes, a second audio track composed of chords, and a third audio track formed by environmental natural sounds based on a gradual mixing algorithm based on an iterative function algorithm, and splices the three audio tracks to form tinnitus treatment audio, synthesizes environmental natural sounds from general biological natural sounds, realizes the organic combination of biological natural sounds and environmental natural sounds, and generates tinnitus treatment audio. While ensuring the patient's treatment experience, the effect of tinnitus treatment is improved, with low risk and small side effects, and has a wider medical application prospect.
[0132] Embodiment 3
[0133] Embodiment 3 of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the tinnitus treatment audio generation method described in Embodiment 1.
[0134] In summary, embodiment three of the present invention provides an electronic device for implementing the tinnitus treatment audio generation method described in embodiment one, selecting biological natural sounds and environmental natural sounds with a high degree of synthesis matching, and after debugging, obtaining a first audio track composed of main melody notes, a second audio track composed of chords, and a third audio track formed by environmental natural sounds based on a gradual mixing algorithm based on an iterative function algorithm, splicing the three audio tracks to form tinnitus treatment audio, synthesizing environmental natural sounds from general biological natural sounds, realizing the organic combination of biological natural sounds and environmental natural sounds, generating tinnitus treatment audio, while ensuring the patient's treatment experience, improving the effect of tinnitus treatment, with low risk and small side effects, and having a wider medical application prospect.
[0135] Embodiment 4
[0136] Embodiment 4 of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for generating audio for tinnitus treatment described in Embodiment 1 is implemented.
[0137] In summary, Embodiment 4 of the present invention provides a computer-readable storage medium for executing the tinnitus treatment audio generation method described in Embodiment 1, selecting biological natural sounds and environmental natural sounds with a high degree of synthesis matching, and after debugging, obtaining a first audio track composed of main melody notes, a second audio track composed of chords, and a third audio track formed by environmental natural sounds based on a gradient mixing algorithm based on an iterative function algorithm, splicing the three audio tracks to form tinnitus treatment audio, synthesizing environmental natural sounds from general biological natural sounds, realizing the organic combination of biological natural sounds and environmental natural sounds, generating tinnitus treatment audio, while ensuring the patient's treatment experience, improving the effect of tinnitus treatment, with low risk and small side effects, and having a wider medical application prospect.
[0138] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0139] In addition, the embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for generating audio for tinnitus treatment, characterized in that: The method comprises: Randomly generate and select a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus; Selecting several different types of environmental natural sounds, providing the environmental natural sounds to the patient for trial listening, performing fitness tests at the same time, and adjusting the environmental natural sounds according to the fitness test results; Inserting and synthesizing the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio; Tinnitus treatment is performed on the patient based on the tinnitus treatment audio, and the treatment effect is evaluated.
2. The method for generating audio for tinnitus treatment according to claim 1, wherein: The randomly generated and screened biological natural sounds that match the frequency and amplitude of the patient's own tinnitus include: Randomly generate a number of segments of universal biological natural sounds, where the types of the universal biological natural sounds include pure tone, Gaussian noise, uniform noise, masking noise, impulse noise, pure tone impulse noise and warbling sound; Cut out the universal biological natural sound segments with concentrated energy from the plurality of universal biological natural sounds; The frequency information and amplitude information of the tinnitus frequency band corresponding to the patient's own tinnitus sound are extracted, and the frequency information and amplitude information are matched with the universal biological natural sound segment to screen out the biological natural sound that matches the frequency and amplitude of the patient's own tinnitus sound.
3. The method for generating audio for tinnitus treatment according to claim 1, wherein: The selecting of several different types of environmental natural sounds, providing the environmental natural sounds to the patient for trial listening, and performing the adaptability test at the same time include: Select various types of environmental natural sounds and provide them to patients for trial listening, and adjust the volume of the environmental natural sounds to obtain the patient's hearing threshold and discomfort threshold; By asking patients about their feelings, we can obtain their acceptance and satisfaction intentions. The adaptability score of the environmental natural sound is generated by comprehensively considering the acceptable intention degree, the satisfactory intention degree, and the matching degree between the frequency and amplitude of the corresponding environmental natural sound and the patient's own tinnitus sound; The fitness scores of the environmental natural sounds are arranged from high to low, and the environmental natural sounds with higher fitness scores are preferentially selected.
4. The method for generating audio for tinnitus treatment according to claim 3, wherein: The debugging of the environmental natural sound according to the fitness test result includes: Based on the fitness test result, the volume, speed, pitch and timbre balance of the environmental natural sound are adjusted respectively.
5. The method for generating audio for tinnitus treatment according to claim 1, wherein: The method of inserting and synthesizing the debugged environmental natural sound into the biological natural sound based on the iterative function algorithm to generate the tinnitus treatment audio includes: Acquire a mapping rule of the biological natural sound based on a standard note sequence based on an iterative function algorithm, and acquire a first audio track of the tinnitus treatment audio based on the mapping rule; Dividing the first audio track into a plurality of bars, extracting characteristic notes of each bar respectively, selecting chords matching the characteristic notes, and concatenating the chords matching the characteristic notes of all bars to generate a second audio track of the tinnitus treatment audio; Selecting sampling points of the biological natural sound, determining a gradient function according to the sequence number and sampling value of the sampling point, and gradually mixing the debugged environmental natural sound with the biological natural sound based on the gradient function to generate a third audio track of the tinnitus treatment audio; The first audio track, the second audio track and the third audio track of the tinnitus treatment audio are spliced to generate the tinnitus treatment audio.
6. The method for generating audio for tinnitus treatment according to claim 1, wherein: The performing tinnitus treatment on the patient based on the tinnitus treatment audio comprises: The generated tinnitus treatment audios are randomly combined according to the playing time of the tinnitus treatment audios, and the gain and multiples are modified according to the degree of tinnitus in the left and right ears of the patient, and then played in a preset order.
7. The method for generating audio for tinnitus treatment according to claim 1, wherein: The evaluation of treatment effect includes: After the tinnitus treatment audio is played, the treatment effect on the patient is evaluated, and the tinnitus treatment audio with good treatment effect evaluation is numbered and encrypted, and then stored in the tinnitus treatment audio storage library.
8. A tinnitus treatment audio generation system, characterized in that: The tinnitus treatment audio generation system is used to implement the tinnitus treatment audio generation method according to any one of claims 1 to 7, and the system comprises: A biological natural sound generation module, which is used to randomly generate and select a number of biological natural sounds that match the frequency and amplitude of the patient's own tinnitus; An environmental natural sound debugging module, which is used to select several different types of environmental natural sounds, provide the environmental natural sounds to the patient for trial listening, perform fitness tests at the same time, and debug the environmental natural sounds according to the fitness test results; A natural sound synthesis module, the natural sound synthesis module is used to insert and synthesize the debugged environmental natural sound into the biological natural sound based on an iterative function algorithm to generate tinnitus treatment audio; A tinnitus treatment and evaluation module is used to treat tinnitus for patients based on the tinnitus treatment audio and evaluate the treatment effect.
9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the tinnitus treatment audio generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating audio for tinnitus treatment according to any one of claims 1 to 7 is implemented.