Sound processing method, sound processor and sound processing program
The sound processing method addresses the issue of incorrect high-frequency generation by using a training model to add and separate aliasing noise, resulting in high-quality sound signals with accurate high-frequency components.
Patent Information
- Application Number
- JP2023019095
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-10
- Publication Date
- 2024-08-23
AI Technical Summary
Conventional band extension techniques fail to generate physically correct high frequency components.
A sound processing method that generates physically correct high frequency components by inputting a first sound signal sampled at a first sampling frequency, using a training model to generate a third sound signal with frequency components higher than the first Nyquist frequency, and mixing it with the original signal after aliasing noise separation and filtering.
Enables the generation of high-quality sound signals with physically correct high-frequency components, enhancing the customer experience.
Smart Images

Figure 2024113853000001_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a sound processing method, a sound processing device, and a sound processing program. [Background technology]
[0002] The high-frequency signal generating circuit 26 of Patent Document 1 generates a high-frequency signal, which is a high-frequency signal component, based on the multiple low-frequency sub-band signals supplied from the low-frequency extraction band-pass filter 23 and the multiple high-frequency sub-band power estimates supplied from the high-frequency sub-band power estimation circuit 25, and supplies the high-frequency signal to the high-frequency pass filter 27. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6425097 Summary of the Invention [Problem to be solved by the invention]
[0004] Conventional band extension techniques do not produce physically correct high-frequency components.
[0005] One aspect of the present disclosure aims to provide a sound processing method for generating physically correct high-frequency components. [Means for solving the problem]
[0006] A sound processing method according to one embodiment of the present invention inputs a first sound signal sampled at a first sampling frequency, uses a training model trained to output a second sound signal based on aliasing noise of frequency components higher than a first Nyquist frequency of the first sound signal, generates a third sound signal having a frequency component higher than the first Nyquist frequency, and generates a fourth sound signal by mixing the first sound signal and the third sound signal. Effect of the Invention
[0007] According to an embodiment of the present invention, a physically correct high frequency component can be generated. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing a configuration of a sound processing device 1. FIG. [Diagram 2] 2 is a functional block diagram of a sound processing program realized by the processor 11. FIG. [Diagram 3] 4 is a flowchart showing the operation of a sound processing program. [Figure 4] FIG. 2 is a functional block diagram of a sound processing program in the training stage of a training model 101. [Diagram 5] 4 is a flowchart showing the operation of the sound processing program in the training stage of the training model 101. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] FIG. 1 is a block diagram showing a configuration of a sound processing device 1 according to an embodiment of the present invention.
[0010] The sound processing device 1 includes a processor 11, a flash memory 12, a RAM 13, a speaker 14, a network I / F 15, a display 16, and a user I / F 17.
[0011] The sound processing device 1 is an information processing device such as a smartphone, a personal computer, a set-top box, or an audio receiver. The sound processing device 1 receives content data from a server or the like via the Internet, for example. The sound processing device 1 decodes the received content data and extracts a sound signal. The content data may be stored in a flash memory 12 of the device itself.
[0012] The processor 11 is composed of a CPU, a DSP, a SoC (System-on-a-Chip), or the like, and realizes a predetermined function by reading a program stored in a flash memory 12, which is a storage medium, into a RAM 13. For example, the flash memory 12 stores a sound processing program. The processor 11 executes the sound processing method of this embodiment by using the program.
[0013] The network I / F 15 is a wireless communication unit conforming to standards such as Wi-Fi (registered trademark) or Bluetooth (registered trademark), etc. The network I / F 15 communicates with a server or the like via wireless communication and receives content data.
[0014] The processor 11 extracts an audio signal from the content data received via the network I / F 15. The processor 11 performs filtering on the extracted audio signal and outputs it to a speaker 14 equipped with a D / A converter and an amplifier. The speaker 14 emits a sound corresponding to the audio signal output from the processor 11.
[0015] The display 16 is, for example, an LCD or an OLED, etc. The user I / F 17 is, for example, a touch panel, a mouse, a keyboard, etc.
[0016] Fig. 2 is a functional block diagram of the sound processing program realized by the processor 11. Fig. 3 is a flowchart showing the operation of the sound processing program. The sound processing program has a training model 101, a noise separation processor 102, an upsampler 103, a high-pass filter (HPF) 104, a low-pass filter (LPF) 105, and an adder 106.
[0017] In the execution stage, the training model 101 receives a first sound signal S1 sampled at a first sampling frequency Fs (e.g., 48 kHz) (S11) and generates a second sound signal S2 (S22). The training model 101 is trained to output a second sound signal S2 based on aliasing noise of a frequency component higher than a first Nyquist frequency Fs / 2 of the first sound signal S1. The second sound signal S2 based on aliasing noise is, for example, a signal in which aliasing noise is added to the first sound signal S1. In addition, the separation process may be a component obtained by subtracting the second sound signal S2 from the first sound signal S1, that is, a difference between these signals.
[0018] Fig. 4 is a functional block diagram of the sound processing program in the training stage of the training model 101. Fig. 5 is a flowchart showing the operation of the sound processing program in the training stage of the training model 101. The sound processing program in the training stage has the training model 101 and a downsampler 201.
[0019] The training model 101 receives as input a first test signal T1 for training sampled at a first sampling frequency Fs (S21). The first test signal T1 may be any signal, and is, for example, a sound signal of music content.
[0020] The training model 101 generates a second test signal T2 to which aliasing noise of frequency components higher than the first Nyquist frequency Fs / 2 is added (S22).
[0021] The downsampler 201 inputs a third test signal T3 sampled at a second sampling frequency F's (e.g., 96 kHz) (S23). The third test signal T3 is an audio signal of the same music content as the first test signal T1, but is an audio signal sampled at the second sampling frequency F's. The downsampler 201 downsamples the third test signal T3 to the first sampling frequency Fs. As a result, a third test signal T'3 is generated in which frequency components of the third test signal T3 higher than the first Nyquist frequency Fs / 2 are treated as aliasing noise (S24).
[0022] The sound processing program uses a predetermined algorithm to train the training model 101 so that the error between the second test signal T2 and the third test signal T'3 is minimized. This makes the second test signal T2 closer to the third test signal T'3. As described above, the third test signal T3 and the first test signal T1 are sound signals of the same music content. Therefore, the training model 101 can generate a sound signal to which a physically correct high-frequency component is added as aliasing noise. In other words, the training model 101 functions as a filter that generates an output signal to which aliasing noise of a frequency component higher than the first Nyquist frequency Fs / 2 is added to an input signal.
[0023] In this embodiment, the algorithm for training the training model 101 is not limited, and any machine training algorithm such as a Convolutional Neural Network (CNN) or a Recurrent Neural Network (RNN) can be used.
[0024] Returning to Fig. 3, the noise separation processor 102 in the sound processing program separates aliasing noise from the second sound signal S2, which is an output signal of the training model 101 (S13). The noise separation process may be any process, for example, a spectral subtraction method, a Wiener filtering method, or a model-based process. In the case of the model-based process, the noise separation process is performed using a second training model that is trained to input the second sound signal S2 and output the separated aliasing noise.
[0025] As a result, the noise separation processor 102 generates a second sound signal S'2 which is an aliasing noise component.
[0026] The upsampler 103 receives the first sound signal S1 and the second sound signal S'2 and upsamples each signal to a second sampling frequency F's (96 kHz) so that the signals have symmetric frequency characteristics at the first Nyquist frequency Fs / 2 (S14). That is, the upsampler 103 generates a first sound signal S'1 by upsampling the first sound signal S1, and a third sound signal S3 by upsampling the second sound signal S'2. As a result, the second sound signal S'2, which was aliasing noise, becomes the third sound signal S3, which contains frequency components higher than the first Nyquist frequency Fs / 2.
[0027] The HPF 104 performs high-pass filtering to remove components of the third sound signal S3 that are equal to or lower than the first Nyquist frequency Fs / 2 (S15). The LPF 105 performs low-pass filtering to remove components of the first sound signal S'1 that are higher than the first Nyquist frequency Fs / 2 (S16). The third sound signal S3 after the high-pass filtering includes components that are higher than the first Nyquist frequency Fs / 2 and equal to or lower than the second Nyquist frequency F's / 2. The first sound signal S'1 after the low-pass filtering includes components that are equal to or lower than the first Nyquist frequency Fs / 2.
[0028] The adder 106 mixes the third sound signal S'3 after the high-pass filter processing and the first sound signal S''1 after the low-pass filter processing to generate a fourth sound signal S4 (S17). In this way, the sound processing program of this embodiment can generate a fourth sound signal that includes components below the second Nyquist frequency F's / 2.
[0029] The sound processing program of this embodiment uses a training model 101 that is trained to output a second sound signal S2 based on aliasing noise of frequency components higher than the first Nyquist frequency Fs / 2 of the first sound signal S1. The training model 101 is trained using a sound signal containing aliasing noise of the same music content, and therefore can generate physically correct high-frequency components as aliasing noise. Therefore, the user can have the customer experience of listening to high-quality sound containing physically correct high-frequency components.
[0030] In the above embodiment, an example is shown in which the first sampling frequency Fs is 48 kHz and the second sampling frequency F's is 96 kHz. However, for example, the first sampling frequency Fs may be 44.1 kHz and the second sampling frequency F's may be 88.2 kHz. The sound processing program may upsample the fourth sound signal having the second sampling frequency Fs of 88.2 kHz to 96 kHz. Alternatively, the sound processing program may upsample the sound signal having the first sampling frequency Fs of 44.1 kHz to 48 kHz and input the 48 kHz sound signal as the first sound signal S1.
[0031] The input sound signal may be a sound signal compressed and encoded by any method. When a compressed and encoded sound signal is input, the sound processing program may decode the signal into an uncompressed sound signal and input the signal as the first sound signal S1. The training model 101 may be trained by inputting a compressed and encoded sound signal of a certain music content and using an uncompressed sound signal of the same music content that includes aliasing noise. In this case, the sound processing program can also generate physically correct high-frequency components as aliasing noise.
[0032] In the above embodiment, the training model 101 is trained to output, as the second sound signal, a signal in which aliasing noise is added to the first sound signal. However, the training model 101 may be trained to output only aliasing noise as the second sound signal. In this case, the noise separation processor 102 is not required. The training model 101 may also be trained to output a sound signal of a second sampling frequency F's having a frequency component higher than the first Nyquist frequency Fs / 2. In this case, the noise separation processor 102 and the HPF 104 are not required.
[0033] The description of the present embodiment should be considered as illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims, not by the above-described embodiments. Furthermore, the scope of the present invention includes the scope equivalent to the claims. [Explanation of symbols]
[0034] 1: Sound processing device 11: Processor 12: Flash memory 13: RAM 14: Speaker 15: Network I / F 16:Display unit 17: User I / F 23: Low-frequency extraction bandpass filter 25: High frequency sub-band power estimation circuit 26: High-frequency signal generation circuit 27: High pass filter 101: Training model 102: Noise separation processor 103: Upsampler 104:HPF 105:LPF 106: Adder
Claims
1. A first sound signal sampled at a first sampling frequency is input; generating a third sound signal having a frequency component higher than the first Nyquist frequency using a training model trained to output a second sound signal based on aliasing noise of a frequency component higher than a first Nyquist frequency of the first sound signal; generating a fourth sound signal by mixing the first sound signal and the third sound signal; Sound processing methods.
2. The training model is trained to output, as the second sound signal, a signal obtained by adding the aliasing noise to the first sound signal; Separating the aliasing noise from the second sound signal; generating the third sound signal using the separated aliasing noise; The sound processing method according to claim 1 .
3. upsampling the first sound signal to a second sampling frequency higher than the first sampling frequency; upsampling the separated aliasing noise to the second sampling frequency to generate the third sound signal; generating the fourth sound signal by mixing the first sound signal and the third sound signal upsampled to the second sampling frequency; The sound processing method according to claim 2 .
4. a low-pass filter process for removing components higher than the first Nyquist frequency from the first sound signal upsampled to the second sampling frequency; a high-pass filter process for removing components having a frequency equal to or lower than the first Nyquist frequency from the third sound signal upsampled to the second sampling frequency; Do the following: mixing the first sound signal after the low-pass filter processing and the third sound signal after the high-pass filter processing; The sound processing method according to claim 3.
5. The separation is based on a spectral subtraction method. The sound processing method according to any one of claims 2 to 4.
6. The separation is performed using a second training model trained to receive the second sound signal as an input and output the separated aliasing noise. The sound processing method according to any one of claims 2 to 4.
7. The separation is performed based on a difference between the first sound signal and the second sound signal. The sound processing method according to any one of claims 2 to 4.
8. A first sound signal sampled at a first sampling frequency is input; generating a third sound signal having a frequency component higher than the first Nyquist frequency using a training model trained to output a second sound signal based on aliasing noise of a frequency component higher than a first Nyquist frequency of the first sound signal; generating a fourth sound signal by mixing the first sound signal and the third sound signal; A sound processing device having a processor.
9. The training model is trained to output, as the second sound signal, a signal obtained by adding the aliasing noise to the first sound signal; The processor, Separating the aliasing noise from the second sound signal; generating the third sound signal using the separated aliasing noise; The sound processing device according to claim 8 .
10. The processor, upsampling the first sound signal to a second sampling frequency higher than the first sampling frequency; upsampling the separated aliasing noise to the second sampling frequency to generate the third sound signal; generating the fourth sound signal by mixing the first sound signal and the third sound signal upsampled to the second sampling frequency; The sound processing device according to claim 9 .
11. The processor, a low-pass filter process for removing components higher than the first Nyquist frequency from the first sound signal upsampled to the second sampling frequency; a high-pass filter process for removing components having a frequency equal to or lower than the first Nyquist frequency from the third sound signal upsampled to the second sampling frequency; Do the following: mixing the first sound signal after the low-pass filter processing and the third sound signal after the high-pass filter processing; The sound processing device according to claim 10.
12. The separation is based on a spectral subtraction method. The sound processing device according to any one of claims 9 to 11.
13. The separation is performed using a second training model trained to receive the second sound signal as an input and output the separated aliasing noise. The sound processing device according to any one of claims 9 to 11.
14. The separation is performed based on a difference between the first sound signal and the second sound signal. The sound processing device according to any one of claims 9 to 11.
15. A first sound signal sampled at a first sampling frequency is input; generating a third sound signal having a frequency component higher than the first Nyquist frequency using a training model trained to output a second sound signal based on aliasing noise of a frequency component higher than a first Nyquist frequency of the first sound signal; generating a fourth sound signal by mixing the first sound signal and the third sound signal; A sound processing program that causes an information processing device to execute processing.
Citation Information
Patent Citations
Pulse column type extractor
JP1989025097A
