SRC sampling rate conversion module and use method thereof
By using the combination of anti-aliasing filter and filter in the SRC sampling rate conversion module, the problems of insufficient sampling rate conversion accuracy and high distortion in the prior art are solved, and high efficiency and low distortion audio signal conversion is achieved, satisfying the High quality and energy conservation and consumption reduction requirements.
Patent Information
- Application Number
- CN202411240447.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing SRC technology performs sampling rate conversion while ensuring sound quality, there are problems such as insufficient conversion accuracy, high distortion and low calculation efficiency.
By designing a SRC sampling rate conversion module, using a combination of anti-aliasing filter and reconstruction filter, the appropriate SRC algorithm is selected, and the window sinc function filter or adaptive filter is used when sampling up and down, to filter. Process to ensure signal quality and reduce distortion.
It significantly improves the accuracy and efficiency of audio sampling rate conversion, reduces distortion, and realizes high-quality audio signal conversion, ensuring the natural listening experience of the converted audio and rich music details.
Smart Images

Figure CN119107984A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital audio technology, in particular to an SRC sampling rate conversion module and a use method thereof. Background Art
[0002] With the rapid development of digital audio technology, the compatibility of sampling rates between different devices has become increasingly prominent. The existing SRC technology may have problems such as insufficient conversion accuracy, high distortion, and low computational efficiency when performing sampling rate conversion while ensuring sound quality. Therefore, it is of great significance to develop an SRC module that can provide higher conversion quality, lower distortion, and better performance. Summary of the invention
[0003] The purpose of the present invention is to provide an SRC sampling rate conversion module and a method for using the same, which solves the problems that the existing SRC technology may have when performing sampling rate conversion while ensuring sound quality, such as insufficient conversion accuracy, high distortion, low calculation efficiency, etc.
[0004] Technical Solution
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: an SRC sampling rate conversion module and a method of using the same.
[0006] How to use the SRC sampling rate conversion module: 1. Input signal acquisition: The SRC module first receives a digital audio signal from a source device or software. The signal has a specific sampling rate (for example, 44.1kHz, 48kHz, 96kHz, etc.). These signals may be in PCM (Pulse Code Modulation) format or other compressed encoding formats.
[0007] 2. Determine the target sampling rate: Determine the target sampling rate based on the application scenario. This may be to match the inherent sampling rate of the target device, to comply with a certain audio standard (such as DVD audio requires a 48kHz sampling rate), or to meet specific sound quality requirements (such as high-resolution audio may require a 96kHz or higher sampling rate).
[0008] 3. Select the conversion method: Select the appropriate SRC algorithm based on the relationship between the source sampling rate and the target sampling rate (whether it is an integer multiple relationship).
[0009] 4. Filtering: In order to ensure signal quality and avoid aliasing distortion, the SRC module usually uses an anti-aliasing filter and a reconstruction filter in combination. When upsampling, the anti-aliasing filter is first applied to remove high-frequency noise to prevent the introduction of unnecessary high-frequency components when inserting new sampling points; when downsampling, a low-pass filter is used to remove frequencies higher than half of the new sampling rate (Nyquist theorem) to prevent spectrum aliasing. High-quality SRC algorithms use carefully designed filters (such as windowed sinc function filters or adaptive filters) to ensure smooth transition bands, sufficient stopband attenuation, and small group delay.
[0010] 5. Perform the conversion: Depending on the selected algorithm and filters, the SRC module performs the actual sample rate conversion operation on the input signal, which may involve real-time processing of the input data stream (such as in real-time audio streaming), or processing the entire file at once (such as converting the sample rate of an audio file in audio editing software).
[0011] 6. Output converted signal: The converted audio signal is output at the target sampling rate for subsequent audio processing units (such as decoders, D / A converters) or directly sent to the target device (such as speakers, headphones). The output signal should meet the sampling rate requirements of the target system and maintain good sound quality within the audible range of the human ear without obvious distortion, noise or jitter.
[0012] The present invention provides an SRC sampling rate conversion module and a method for using the same, which has the following beneficial effects:
[0013] The SRC sampling rate conversion module and its use method, the SRC module significantly improves the accuracy and efficiency of audio sampling rate conversion, reduces the distortion of audio signals during the conversion process, and the dynamic adjustment mechanism enables the module to flexibly respond when processing different types of audio, which not only meets high quality requirements but also achieves energy saving and consumption reduction. Through the application of pre-emphasis, de-emphasis and noise shaping technology, it ensures that the converted audio sounds more natural and has rich musical details, and solves the problems of insufficient conversion accuracy, high distortion, low calculation efficiency, etc. when the existing SRC technology performs sampling rate conversion while ensuring sound quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a PCB board and block diagram system diagram of the present invention. DETAILED DESCRIPTION
[0015] like Figure 1 As shown, an embodiment of the present invention provides an SRC sampling rate conversion module and a method for using the same.
[0016] How to use the SRC sampling rate conversion module: 1. Input signal acquisition: The SRC module first receives a digital audio signal from a source device or software. The signal has a specific sampling rate (for example, 44.1kHz, 48kHz, 96kHz, etc.). These signals may be in PCM (Pulse Code Modulation) format or other compressed encoding formats.
[0017] 2. Determine the target sampling rate: Determine the target sampling rate based on the application scenario. This may be to match the inherent sampling rate of the target device, to comply with a certain audio standard (such as DVD audio requires a 48kHz sampling rate), or to meet specific sound quality requirements (such as high-resolution audio may require a 96kHz or higher sampling rate).
[0018] 3. Select the conversion method: Select the appropriate SRC algorithm based on the relationship between the source sampling rate and the target sampling rate (whether it is an integer multiple relationship).
[0019] 4. Filtering: In order to ensure signal quality and avoid aliasing distortion, the SRC module usually uses an anti-aliasing filter and a reconstruction filter in combination. When upsampling, the anti-aliasing filter is first applied to remove high-frequency noise to prevent the introduction of unnecessary high-frequency components when inserting new sampling points; when downsampling, a low-pass filter is used to remove frequencies higher than half of the new sampling rate (Nyquist theorem) to prevent spectrum aliasing. High-quality SRC algorithms use carefully designed filters (such as windowed sinc function filters or adaptive filters) to ensure smooth transition bands, sufficient stopband attenuation, and small group delay.
[0020] 5. Perform the conversion: Depending on the selected algorithm and filters, the SRC module performs the actual sample rate conversion operation on the input signal, which may involve real-time processing of the input data stream (such as in real-time audio streaming), or processing the entire file at once (such as converting the sample rate of an audio file in audio editing software).
[0021] 6. Output converted signal: The converted audio signal is output at the target sampling rate for subsequent audio processing units (such as decoders, D / A converters) or directly sent to the target device (such as speakers, headphones). The output signal should meet the sampling rate requirements of the target system and maintain good sound quality within the audible range of the human ear without obvious distortion, noise or jitter.
Claims
1.
1. A SRC sampling rate conversion module and its use method: How to use the SRC sampling rate conversion module:
1. Input signal acquisition: The SRC module first receives a digital audio signal from a source device or software. The signal has a specific sampling rate (for example, 44.1kHz, 48kHz, 96kHz, etc.). These signals may be in PCM (Pulse Code Modulation) format or other compressed encoding formats; 2. Determine the target sampling rate: Determine the target sampling rate based on the application scenario. This may be to match the inherent sampling rate of the target device, to comply with a certain audio standard (such as DVD audio requires a 48kHz sampling rate), or to meet specific sound quality requirements (such as high-resolution audio may require a 96kHz or higher sampling rate); 3. Select the conversion method: Select the appropriate SRC algorithm based on the relationship between the source sampling rate and the target sampling rate (whether they are integer multiples); 4. Filtering: In order to ensure signal quality and avoid aliasing distortion, the SRC module usually uses a combination of anti-aliasing filters and reconstruction filters. When upsampling, the anti-aliasing filter is first applied to remove high-frequency noise to prevent the introduction of unnecessary high-frequency components when inserting new sampling points; when downsampling, a low-pass filter is used to remove frequencies higher than half of the new sampling rate (Nyquist theorem) to prevent spectrum aliasing. High-quality SRC algorithms use carefully designed filters (such as windowed sinc function filters or adaptive filters) to ensure smooth transition bands, sufficient stopband attenuation, and small group delay; 5. Perform the conversion: Based on the selected algorithm and filters, the SRC module performs the actual sample rate conversion operation on the input signal. This may involve real-time processing of the input data stream (such as in real-time audio streaming), or processing the entire file at once (such as converting the sample rate of an audio file in audio editing software).
6. Output converted signal: The converted audio signal is output at the target sampling rate for subsequent audio processing units (such as decoders, D / A converters) or directly sent to the target device (such as speakers, headphones). The output signal should meet the sampling rate requirements of the target system and maintain good sound quality within the audible range of the human ear without obvious distortion, noise or jitter.
