DSD sampling increasing method and device based on bit clock skew and terminal
By combining bit clock offset sampling and DAC module decoding on the DSD signal, adding sampling points solves the problem that DSD is difficult to take into account file size and sound quality, and achieves the improvement of higher-speed audio effects on lower-speed DSDs.
Patent Information
- Application Number
- CN202411137834.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-26
AI Technical Summary
Existing DSDs are difficult to take into account the advantages of smaller files and better sound quality, making it difficult for lower magnification DSDs to achieve audio effects of higher magnification DSDs.
By performing bit clock offset sampling on the basis of the DSD signal and using the DAC module to combine decode and analog signals, the sampling points are added to achieve higher magnification audio effects, such as the audio effects of DSD2048 based on the DSD1024 audio signal.
Adding sampling points on the basis of lower magnification DSDs achieves audio effects with higher magnification DSDs, taking into account the advantages of smaller files and better sound quality.
Smart Images

Figure CN119028364A_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of audio playback, and in particular to a DSD sampling increasing method, device and terminal based on bit clock offset. [Background technology]
[0002] DSD (Direct Stream Digital) is a digital audio coding technology that uses a technology called SigmaDelta modulation. This technology reduces quantization noise through high sampling rate and oversampling, making the audio signal closer to the analog signal. It is mainly used in Super Audio CD (SACD). DSD is different from the traditional PCM (Pulse Code Modulation) audio coding method. The sampling rate of DSD is very high, usually 64 times that of ordinary CD audio. DSD with 64 times sampling is usually called DSD64, and its sampling rate is 2.8224MHz. Similarly, there are higher-rate DSDs, such as DSD128 (5.6448MHz), DSD256 (11.2896MHz), DSD1024 (45.2MHz), etc. However, due to the high sampling rate of DSD, its file size is usually larger than the equivalent PCM file, resulting in the fact that higher-rate DSD with more natural and delicate sound quality cannot be widely used. That is, the existing DSD is difficult to take into account the advantages of smaller files and better sound quality.
[0003] In view of this, it is necessary to provide a DSD sampling increase method, device and terminal based on bit clock offset to overcome the above defects. [Summary of the invention]
[0004] The purpose of the present invention is to provide a DSD sampling increase method, device and terminal based on bit clock offset, aiming to solve the problem that the existing DSD is difficult to take into account the advantages of smaller files and better sound quality, so that the audio effect of higher-rate DSD can be achieved when a lower-rate DSD is played, for example, the audio effect of DSD2048 can be achieved based on the DSD1024 audio signal.
[0005] In order to achieve the above object, the present invention provides a DSD sampling increase method based on bit clock offset in a first aspect, comprising:
[0006] Step S10: acquiring the original audio signal sent by the DSD signal transmitter, and sending the original audio signal to the DAC module for sampling;
[0007] Step S20: performing a half-bit shift of the bit clock on the basis of the original audio signal, and then sending the bit clock to the DAC module for sampling to obtain a shifted audio signal;
[0008] Step S30: the DAC module decodes the original audio signal and the offset audio signal obtained by sampling respectively, and then performs analog signal combination to obtain an analog output audio signal.
[0009] In a preferred embodiment, the step S10 includes: dividing the original audio signal into a DSD left channel signal and a DSD right channel signal; the step S20 includes: performing original sampling and bit clock offset half-bit sampling on the DSD left channel signal and the DSD right channel signal respectively.
[0010] In a preferred embodiment, the DSD left channel signal is bit-clock-shifted by half a bit via a first FPGA shift module, and the DSD right channel signal is bit-clock-shifted by half a bit via a second FPGA shift module.
[0011] In a preferred embodiment, the DAC module includes a first left DAC unit, a second left DAC unit, a first right DAC unit and a second right DAC unit;
[0012] The first left DAC unit samples the original DSD left channel signal, and the second left DAC unit samples the DSD left channel signal after the bit clock is shifted by half a bit; then the sampling signal of the first left DAC unit and the sampling signal of the second left DAC unit are combined by analog signals to obtain a left channel analog signal;
[0013] The first right DAC unit samples the original DSD right channel signal, and the second right DAC unit samples the DSD right channel signal after the bit clock is shifted by half a bit; then the sampling signal of the first right DAC unit and the sampling signal of the second right DAC unit are combined by analog signals to obtain a right channel analog signal;
[0014] The left channel analog signal is integrated with the right channel analog signal to obtain an analog output audio signal.
[0015] A second aspect of the present invention provides a DSD sampling increase device based on bit clock offset, comprising:
[0016] The original audio sampling module is used to obtain the original audio signal sent by the DSD signal transmitter and send the original audio signal to the DAC module for sampling;
[0017] A clock offset sampling module, used for performing a half-bit clock offset on the basis of the original audio signal, and then sending the original audio signal to the DAC module for sampling to obtain an offset audio signal;
[0018] The DAC module is used to decode the original audio signal and the offset audio signal obtained by sampling respectively, and then perform analog signal combination to obtain an analog output audio signal.
[0019] A third aspect of the present invention provides a terminal, comprising a memory, a processor, and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the various steps of the DSD sampling increase method based on bit clock offset as described in any one of the above embodiments.
[0020] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the various steps of the DSD sampling increase method based on bit clock offset as described in any one of the above embodiments.
[0021] A fifth aspect of the present invention provides a computer program product, comprising a computer program or instructions, which, when processed and executed, implement the various steps of the DSD sampling increase method based on bit clock offset as described in any one of the above embodiments.
[0022] The DSD sampling increase method, device and terminal based on bit clock offset provided by the present invention, based on the lower-rate DSD audio signal, offset the bit clock by half a bit, and then combine the analog signals after DAC decoding, so as to add another sampling point between the two sampling points of the lower-rate DSD, thereby achieving the audio effect of higher-rate DSD, for example, it is possible to achieve the audio effect of DSD2048 based on the DSD1024 audio signal, taking into account the advantages of smaller files and better sound quality.
Brief Description of the Drawings
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A flow chart of a DSD sampling increase method based on bit clock offset provided by the present invention;
[0025] Figure 2 for Figure 1 A schematic diagram of a bit clock signal offset in the DSD sampling increase method based on bit clock offset;
[0026] Figure 3 for Figure 1A schematic diagram of an audio sampling curve in the DSD sampling increase method based on bit clock offset;
[0027] Figure 4 This is a framework diagram of a DSD sampling adding device based on bit clock offset provided by the present invention. [Specific implementation method]
[0028] In order to make the purpose, technical solution and beneficial technical effect of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the specific implementation methods described in this specification are only for explaining the present invention, not for limiting the present invention.
[0029] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0030] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0031] Embodiment 1
[0032] In an embodiment of the present invention, a DSD sampling increasing method based on bit clock offset is provided, which is used to improve the audio effect of DSD by increasing the sampling points, so as to improve the playback sound quality.
[0033] like Figure 1 As shown, the DSD sampling increase method based on bit clock offset includes steps S10-S30.
[0034] Step S10: Acquire the original audio signal sent by the DSD signal transmitter, and send the original audio signal to the DAC module for sampling.
[0035] The original audio signal is divided into a DSD left channel signal and a DSD right channel signal.
[0036] Step S20: Perform a half-bit shift of the bit clock on the basis of the original audio signal, and then send it to the DAC module for sampling to obtain an offset audio signal.
[0037] The DSD left channel signal and the DSD right channel signal are respectively subjected to original sampling and bit clock shifted half-bit sampling.
[0038] Specifically, Figure 2As shown, the DSD left channel signal is shifted by half a bit through the first FPGA shift module, and the DSD right channel signal is shifted by half a bit through the second FPGA shift module, so that a half-bit time difference occurs between the new bit clock signal and the original bit clock signal. Subsequently, the data signal of the original audio signal is sampled by the new bit clock signal and the original bit clock signal respectively, which is shown in Figure 3 In this case, a new sampling point is added between the two original sampling points, making the audio sampling curve smoother and the playback sound quality higher.
[0039] It should be noted that the first FPGA shift module and the second FPGA shift module perform a half-bit bit clock shift via FPGA (Field-Programmable Gate Array). The specific principle and method of the bit clock shift can be referred to the prior art, and the present invention will not be repeated here.
[0040] Furthermore, the DAC module includes a first left DAC unit 21 , a second left DAC unit 22 , a first right DAC unit 31 and a second right DAC unit 32 .
[0041] Therefore, the original DSD left channel signal is sampled by the first left DAC unit 21, and the DSD left channel signal after the bit clock is shifted by half a bit is sampled by the second left DAC unit 22; then the sampling signal of the first left DAC unit 21 and the sampling signal of the second left DAC unit 22 are combined as analog signals to obtain a left channel analog signal.
[0042] The original DSD right channel signal is sampled by the first right DAC unit 31, and the DSD right channel signal after the bit clock is shifted by half a bit is sampled by the second right DAC unit 32; then the sampling signal of the first right DAC unit 31 and the sampling signal of the second right DAC unit 32 are combined by analog signals to obtain a right channel analog signal;
[0043] Step S30: The DAC module decodes the original audio signal and the offset audio signal obtained by sampling respectively, and then performs analog signal combination to obtain an analog output audio signal.
[0044] The left channel analog signal and the right channel analog signal are integrated to obtain an analog output audio signal.
[0045] Embodiment 2
[0046] The present invention provides a DSD sampling increasing device 100 based on bit clock offset, which is used to improve the audio effect of DSD by increasing the sampling points, so as to improve the playback sound quality. It should be noted that the implementation principle and specific implementation of the DSD sampling increasing device 100 based on bit clock offset can refer to the above-mentioned DSD sampling increasing method based on bit clock offset, so it will not be repeated below.
[0047] Combination Figure 4 As shown, the DSD sampling increasing device based on bit clock offset includes: an original audio sampling module, a clock offset sampling module and a DAC module.
[0048] The original audio sampling module is used to obtain the original audio signal sent by the DSD signal transmitter and send the original audio signal to the DAC module for sampling.
[0049] The clock offset sampling module is used to perform a half-bit offset of the bit clock based on the original audio signal, and then send it to the DAC module for sampling to obtain an offset audio signal.
[0050] The clock offset sampling module includes a first FPGA shift module 11 and a second FPGA shift module 12. The first FPGA shift module 11 is used to perform a half-bit bit clock shift on the DSD left channel signal, and the second FPGA shift module 12 is used to perform a half-bit bit clock shift on the DSD right channel signal.
[0051] The DAC module is used to decode the original audio signal and the offset audio signal obtained by sampling respectively, and then perform analog signal combination to obtain an analog output audio signal.
[0052] The DAC module includes a first left DAC unit 21, a second left DAC unit 22, a first right DAC unit 31 and a second right DAC unit 32. The first left DAC unit 21 is used to sample the original DSD left channel signal, and the second left DAC unit 22 is used to sample the DSD left channel signal after the bit clock is shifted by half a bit. The first right DAC unit 31 is used to sample the original DSD right channel signal, and the second right DAC unit 32 is used to sample the DSD right channel signal after the bit clock is shifted by half a bit.
[0053] Embodiment 3
[0054] The present invention provides a terminal, comprising a memory, a processor and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the various steps of the DSD sampling increase method based on bit clock offset as described in any one of the above implementations.
[0055] Embodiment 4
[0056] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the DSD sampling increase method based on bit clock offset as described in any one of the above implementations.
[0057] Embodiment 5
[0058] The present invention provides a computer program product, including a computer program or an instruction, which, when processed and executed, implements the steps of the DSD sampling increase method based on bit clock offset as described in any one of the above implementations.
[0059] In summary, the DSD sampling increase method, device and terminal based on bit clock offset provided by the present invention, on the basis of a lower-rate DSD audio signal, offset the bit clock by half a bit, and then combine the analog signals after DAC decoding, so as to add another sampling point between the two sampling points of the lower-rate DSD, thereby achieving an audio effect of a higher-rate DSD, for example, it is possible to achieve an audio effect of DSD2048 on the basis of a DSD1024 audio signal, taking into account the advantages of smaller files and better sound quality.
[0060] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0061] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0062] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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 the present invention.
[0063] In the embodiments provided by the present invention, it should be understood that the disclosed systems or devices / terminal equipment and methods can be implemented in other ways. For example, the system or device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, 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 through some interfaces, and the indirect coupling or communication connection of the system or unit can be electrical, mechanical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0065] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0066] The present invention is not limited to what is described in the specification and implementation modes, and therefore additional advantages and modifications can be easily realized by those skilled in the art. Therefore, without departing from the spirit and scope of the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details, representative devices, and illustrative examples shown and described herein.
Claims
1. A DSD sampling increase method based on bit clock offset, characterized in that: include: Step S10: acquiring the original audio signal sent by the DSD signal transmitter, and sending the original audio signal to the DAC module for sampling; Step S20: performing a half-bit shift of the bit clock on the basis of the original audio signal, and then sending the bit clock to the DAC module for sampling to obtain a shifted audio signal; Step S30: the DAC module decodes the original audio signal and the offset audio signal obtained by sampling respectively, and then performs analog signal combination to obtain an analog output audio signal.
2. The DSD sampling increase method based on bit clock offset according to claim 1, characterized in that: The step S10 comprises: dividing the original audio signal into a DSD left channel signal and a DSD right channel signal; The step S20 includes: performing original sampling and bit clock shifted half-bit sampling on the DSD left channel signal and the DSD right channel signal respectively.
3. The DSD sampling increasing method based on bit clock offset according to claim 2, characterized in that: The DSD left channel signal is subjected to a bit clock shift of half a bit through a first FPGA shift module, and the DSD right channel signal is subjected to a bit clock shift of half a bit through a second FPGA shift module.
4. The DSD sampling increasing method based on bit clock offset according to claim 3, characterized in that: The DAC module includes a first left DAC unit, a second left DAC unit, a first right DAC unit and a second right DAC unit; The first left DAC unit samples the original DSD left channel signal, and the second left DAC unit samples the DSD left channel signal after the bit clock is shifted by half a bit; then the sampling signal of the first left DAC unit and the sampling signal of the second left DAC unit are combined by analog signals to obtain a left channel analog signal; The first right DAC unit samples the original DSD right channel signal, and the second right DAC unit samples the DSD right channel signal after the bit clock is shifted by half a bit; then the sampling signal of the first right DAC unit and the sampling signal of the second right DAC unit are combined by analog signals to obtain a right channel analog signal; The left channel analog signal is integrated with the right channel analog signal to obtain an analog output audio signal.
5. A DSD sampling increase device based on bit clock offset, characterized in that: include: The original audio sampling module is used to obtain the original audio signal sent by the DSD signal transmitter and send the original audio signal to the DAC module for sampling; A clock offset sampling module, used for performing a half-bit clock offset on the basis of the original audio signal, and then sending the original audio signal to the DAC module for sampling to obtain an offset audio signal; The DAC module is used to decode the original audio signal and the offset audio signal obtained by sampling respectively, and then perform analog signal combination to obtain an analog output audio signal.
6. A terminal, characterized in that: The terminal includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, the steps of the DSD sampling increase method based on bit clock offset according to any one of claims 1 to 4 are implemented.
7. 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 computer program implements the steps of the DSD sampling increase method based on bit clock offset according to any one of claims 1 to 4.
