Digital signal processing device and method for controlling digital signal processing device
By using a buffer memory and DRAM to control burst transfers in sampling cycles, the device generates audio data with varied delay times, improving the quality of effects like reverb.
Patent Information
- Application Number
- JP2020160991
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-09-25
AI Technical Summary
Existing digital signal processing devices struggle to generate audio data with delay times that are not multiples of the sampling period, limiting the quality of effects like reverb.
The device employs a first buffer memory and DRAM for burst-transferring audio data, controlling the transfer in units of sampling cycles to achieve delay times in units of sampling periods, using SDRAMs to reduce cost and enable high-speed generation of multiple delayed signals.
This approach allows for the generation of audio data with delay times in units of sampling periods, enhancing the quality of effects such as reverb by synthesizing original and delayed signals with varied delay times.
Smart Images

Figure 0007557323000004 
Figure 0007557323000002 
Figure 0007557323000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a digital signal processing device and a method for controlling a digital signal processing device. [Background technology]
[0002] Patent Document 1 describes an address circuit for performing a virtual shift in a digital signal processing device. The address circuit combines an index register with an auxiliary index register, sets the same value as the lower value of the index register in the auxiliary index register, retrieves the upper address from the index register and the lower address from the auxiliary index register to perform normal index modification, and sets a value obtained by adding the lower value of the index register and a pointer to the auxiliary index register to perform address modification for the virtual shift.
[0003] Patent Document 2 describes an address generating circuit having a first counter and a second counter. A clearing means selectively clears the contents of the second counter to zero by a count control signal for the first counter. An adder adds the output of the first counter and the output of the second counter.
[0004] Patent Document 3 describes a digital signal processing device for sound waveform data having a waveform signal processing unit and a memory access unit. The waveform signal processing unit performs waveform signal processing for adding effects to sound waveform data by M (M is an integer equal to or greater than M) time-division waveform signal processing. The memory access unit enables an external DRAM having K banks (K is an integer equal to or greater than M) corresponding to K time-division waveform signal processing for delaying sound waveform data in the process of waveform signal processing to start accessing the K banks at K mutually shifted timings, and when a write or read request is received from one of the K time-division waveform signal processing, the memory access unit writes or reads sound waveform data by outputting a control signal for writing or reading to the corresponding bank to the DRAM at a timing at which access to the bank can start. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Publication No. 58-2935 [Patent Document 2] Japanese Patent Application Publication No. 62-57067 [Patent Document 3] JP 2003-108122 A Summary of the Invention [Problem to be solved by the invention]
[0006] In Patent Document 3, sound waveform data is delayed in order to add an effect to the sound waveform data. In order to add a high-quality effect, a large number of delayed signals with different delay times are required.
[0007] An object of the present invention is to make it possible to generate audio data having a delay time in sampling period units, in addition to audio data having a delay time that is a multiple of the burst length with respect to the sampling period. [Means for solving the problem]
[0008] A digital signal processing device according to the present invention comprises a first buffer memory for storing audio data, a DRAM for burst-transferring audio data of a burst length, and control means for controlling the writing of audio data into said first buffer memory one word at a time in a sampling period, and the burst transfer of said audio data of said burst length from said first buffer memory to said DRAM at time intervals of a number of sampling periods corresponding to the number of words for which said burst length is burst-transferred, said control means controlling the writing of audio data into said first buffer memory one word at a time in said sampling period. To Start writing in order Depending on the address By shifting the phase of the cycle of burst transfer from the first buffer memory to the DRAM by a sampling period, a delay time by a sampling period can be imparted to the audio data.
[0009] A control method for a digital signal processor of the present invention is a control method for a digital signal processor having a first buffer memory for storing audio data and a DRAM for burst-transferring audio data of a burst length, the control method comprising the steps of: sequentially writing audio data into said first buffer memory one word at a time in a sampling period; and controlling so that the audio data of said burst length is burst-transferred from said first buffer memory to said DRAM at a time interval of a number of sampling periods corresponding to the number of words for which the burst transfer of said burst length is performed, To Start writing in order Depending on the address By shifting the phase of the cycle of burst transfer from the first buffer memory to the DRAM by a sampling period, a delay time by a sampling period can be imparted to the audio data. Effect of the Invention
[0010] According to the present invention, in addition to audio data having a delay time that is a multiple of the burst length with respect to the sampling period, audio data having a delay time in units of the sampling period can be generated. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a digital signal processing device according to this embodiment. [Diagram 2] FIG. 2 is a diagram showing the sampling period of an analog / digital converter. [Diagram 3] Figures 3(A) and (B) show burst transfer from the buffer memory to the SDRAM. [Figure 4] Figures 4(A) and (B) show burst transfer from SDRAM to the buffer memory. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] FIG. 1 is a diagram showing an example of the configuration of a digital signal processing device 100 according to this embodiment. The digital signal processing device 100 is, for example, an effect device that realizes reverb. When an original sound is generated, a direct sound of the original sound and a delayed sound are synthesized and reach the human ear. The direct sound is the sound of the original sound that reaches the human ear directly. The delayed sound is a plurality of delayed sounds with different delay times that are generated when the original sound is reflected by various objects. The digital signal processing device 100 realizes reverb by generating a plurality of delayed signals with different delay times for the audio data of the original sound and synthesizing the audio data of the original sound with the plurality of delayed signals. In order to realize high-quality reverb, a large number of delayed signals with different delay times are required.
[0013] The digital signal processing device 100 has a CPU 101, a program ROM 102, a work RAM 103, a bus 104, an analog / digital converter 105, a DSP 106, a digital / analog converter 108, a bus 109, an SDRAM 110, and an SDRAM 111. The DSP 106 has a plurality of buffer memories 107. A method of controlling the digital signal processing device 100 will be described below.
[0014] Each of the multiple buffer memories 107 is capable of inputting and outputting 32-bit (1-word) audio data to and from the bus 109. The multiple buffer memories 107 are, for example, SRAMs (Static Random Access Memories), and can store audio data.
[0015] The SDRAMs 110 and 111 are synchronous dynamic random access memories, which are a type of DRAM (dynamic random access memory). The SDRAMs 110 and 111 are, for example, DDR3 SDRAMs.
[0016] The SDRAM 110 is capable of inputting and outputting 16-bit (1 word) audio data to and from the bus 109. The SDRAM 110 is capable of inputting and outputting 16-bit (1 word) audio data to and from the bus 109.
[0017] Each of the multiple buffer memories 107 can input and output 32 bits (1 word) of audio data to and from the SDRAMs 110 and 111 via a bus 109. The 16-bit audio data input and output by the SDRAM 110 is the upper 16 bits of the 32-bit audio data input and output by the buffer memory 107. The 16-bit audio data input and output by the SDRAM 111 is the lower 16 bits of the 32-bit audio data input and output by the buffer memory 107.
[0018] The SDRAMs 110 and 111 burst-transfer audio data of the number of words of a burst length (first number) that is equal to or greater than two to each of the multiple buffer memories 107 via the bus 109. That is, the SDRAMs 110 and 111 continuously transfer audio data of the number of words of the burst length at high speed to each of the multiple buffer memories 107 via the bus 109 based on one address information. The burst length is, for example, 4 words or 8 words. The following description will be given taking the case where the burst length is 8 words as an example.
[0019] CPU 101 is a central processing unit. Program ROM (Read Only Memory) 102 stores programs. Work RAM (Random Access Memory) 103 functions as a work area for CPU 101. CPU 101 loads the programs stored in program ROM 102 into work RAM 103, and controls DSP 106 by executing the programs loaded into work RAM 103. DSP 106 is a digital signal processor, and is a type of control unit.
[0020] An analog / digital converter 105 receives an analog audio signal of an original sound from a microphone or the like, and converts the analog audio signal into digital audio data of one word (32 bits) at a sampling period. The audio data is musical tone data or voice data.
[0021] The DSP 106 writes the digital audio data converted by the analog / digital converter 105 into a plurality of buffer memories 107 one word at a time in a sampling period. The DSP 106 may input digital audio data from a musical tone generating device, an audio receiving device, or the like, instead of the analog / digital converter 105.
[0022] Next, the DSP 106 controls the burst transfer of audio data of the burst length word number (8 words) from each of the multiple buffer memories 107 to the SDRAMs 110 and 111. The DSP 106 writes the audio data of the burst length word number (8 words) to addresses indicated by the write pointers of the SDRAMs 110 and 111.
[0023] Next, the DSP 106 controls so that audio data of the number of words of the burst length (8 words) is burst-transferred from the SDRAMs 110 and 111 to each of the multiple buffer memories 107. At this time, the DSP 106 controls so that the audio data of the number of words of the burst length (8 words) is read from addresses indicated by the read pointers of the SDRAMs 110 and 111 and is burst-transferred. The DSP 106 writes the audio data of the number of words of the burst length (8 words) to the buffer memories 107 by burst transfer.
[0024] The difference between the address indicated by the write pointer and the address indicated by the read pointer of the SDRAMs 110 and 111 corresponds to the delay time of the delayed signal relative to the original sound.
[0025] It is possible to generate delay signals using SRAMs instead of the SDRAMs 110 and 111, but a large number of SRAMs are required to generate delay signals with long delay times. SRAMs have the disadvantage of being more expensive than the SDRAMs 110 and 111. Therefore, in this embodiment, the SDRAMs 110 and 111 are used to generate delay signals, thereby reducing costs. In addition, by using burst transfer of the SDRAMs 110 and 111, a large number of delay signals can be generated at high speed in real time.
[0026] Next, the DSP 106 generates a plurality of delayed signals for the original sound by sequentially reading out, at a sampling period, one word of audio data stored in each of the plurality of buffer memories 107. The read timing of the buffer memories 107 corresponds to the delay time of the delayed signals for the original sound.
[0027] Next, DSP 106 synthesizes the audio data of the original sound converted by analog / digital converter 105 with the above-mentioned multiple delayed signals, and outputs the synthesized audio data to digital / analog converter 108. Note that the synthesis does not necessarily have to be performed by DSP 106, and may be performed by a device external to DSP 106.
[0028] The digital / analog converter 108 converts one word (32 bits) of digital audio data into an analog audio signal at a sampling period, and outputs the analog audio signal to the audio system. The audio system has an amplifier and a speaker, amplifies the audio signal with the amplifier, and produces the amplified audio signal through the speaker. This produces a sound with a reverb effect added to the original sound.
[0029] 2 is a diagram showing sampling periods T0 to T7 of the analog / digital converter 105. The analog / digital converter 105 converts an analog audio signal into one word of digital audio data in each of the sampling periods T0 to T7. The SDRAMs 110 and 111 burst-transfer audio data of the number of words of the burst length (8 words) to the buffer memory 107 in a burst transfer period TT. The burst transfer period TT is equal to the total period of the sampling periods T0 to T7 of the number of consecutive burst lengths, and includes the sampling periods T0 to T7.
[0030] The SDRAMs 110 and 111 are capable of performing a maximum of 1024 burst transfers to the multiple buffer memories 107 during each of the sampling periods T0 to T7. That is, the SDRAMs 110 and 111 are capable of performing a maximum of 1024 times x 8 = 8192 burst transfers to the multiple buffer memories 107 during each burst transfer period TT. Since one delay module is realized by one write and one read from the SDRAMs 110 and 111, the number of delay modules is 8192 times / 2 = 4096.
[0031] The DSP 106 has 8192 buffer memories 107. The SDRAMs 110 and 111 are capable of burst transfer to a maximum of 8192 buffer memories 107 at a burst transfer period TT.
[0032] The DSP 106 writes one word of audio data to the 1024 buffer memories 107 for each of the sampling periods T0 to T7. The DSP 106 is capable of burst transfer to a maximum of 1024 buffer memories 107 for each of the sampling periods T0 to T7.
[0033] 3A and 3B are diagrams showing burst transfer from the buffer memory 107 to the SDRAMs 110 and 111.
[0034] Fig. 3(A) is a diagram showing a method of accessing the first buffer memory 107. The first buffer memory 107 in Fig. 3(A) is a maximum of 1024 of the 8192 buffer memories 107. The first buffer memory 107 is a ring buffer capable of storing 8 words of audio data.
[0035] In a sampling period T0, the DSP 106 writes one word of audio data W(0) converted by the analog / digital converter 105 to a first address in the first buffer memory 107.
[0036] Sampling period T1 is one sampling period after sampling period T0. In sampling period T1, the DSP 106 writes one word of audio data W(1) converted by the analog / digital converter 105 to a second address in the first buffer memory 107.
[0037] Sampling period T2 is a sampling period that is two sampling periods after sampling period T0. In sampling period T2, the DSP 106 writes one word of audio data W(2) converted by the analog / digital converter 105 to a third address in the first buffer memory 107.
[0038] Similarly, in sampling periods T3 to T6, the DSP 106 writes one word of audio data W(3) to W(6) converted by the analog / digital converter 105 to the fourth to seventh addresses of the first buffer memory 107, respectively.
[0039] Sampling period T7 is a sampling period that is seven sampling periods after sampling period T0. In sampling period T7, the DSP 106 writes one word of audio data W(7) converted by the analog / digital converter 105 to the eighth address of the first buffer memory 107.
[0040] The DSP 106 burst-transfers up to 1,024 pieces of eight words of audio data W(0) to W(7) stored in the first buffer memory 107 to the SDRAMs 110 and 111 at a sampling period T7, and writes the eight words of audio data W(0) to W(7) to the SDRAMs 110 and 111.
[0041] Sampling period T8 (T0) is a sampling period that is eight sampling periods after sampling period T0. In sampling period T8 (T0), the DSP 106 writes (overwrites) one word of audio data W(8) converted by the analog / digital converter 105 to a first address of the first buffer memory 107.
[0042] Similarly, in sampling periods T9 to T15, the DSP 106 writes (overwrites) one word of audio data W(9) to W(15) converted by the analog / digital converter 105 to the second to eighth addresses of the first buffer memory 107, respectively.
[0043] Thereafter, the DSP 106 burst-transfers, at a sampling period T15, up to 1,024 pieces of eight words of audio data W(8) to W(15) stored in the first buffer memory 107 to the SDRAMs 110 and 111, and writes the eight words of audio data W(8) to W(15) to the SDRAMs 110 and 111.
[0044] Similarly, the DSP 106 burst-transfers up to 1024 pieces of audio data stored in the first buffer memory 107 in units of 8 words at a burst transfer period TT to the SDRAMs 110 and 111. The DSP 106 controls the burst-length audio data to be burst-transferred from the first buffer memory 107 to the SDRAMs 110 and 111 at a time interval of 8 sampling periods, which corresponds to the number of words (8 words) for which the burst transfer of the burst length is performed.
[0045] Fig. 3(B) is a diagram showing a method of accessing the second buffer memory 107. The second buffer memory 107 in Fig. 3(B) is a buffer memory different from the first buffer memory 107 in Fig. 3(A), and is a maximum of 1024 of the 8192 buffer memories 107. The second buffer memory 107 is a ring buffer capable of storing 8 words of audio data.
[0046] In the sampling period T0, the DSP 106 writes one word of audio data W(0) converted by the analog / digital converter 105 to the eighth address of the second buffer memory 107.
[0047] In a sampling period T 1 , the DSP 106 writes one word of audio data W( 1 ) converted by the analog / digital converter 105 to a first address in the second buffer memory 107 .
[0048] In the sampling period T2, the DSP 106 writes one word of audio data W(2) converted by the analog / digital converter 105 to a second address in the second buffer memory 107.
[0049] Similarly, in sampling periods T3 to T6, the DSP 106 writes one word of audio data W(3) to W(6) converted by the analog / digital converter 105 to the third to sixth addresses of the second buffer memory 107, respectively.
[0050] In the sampling period T7, the DSP 106 writes one word of audio data W(7) converted by the analog / digital converter 105 to the seventh address of the second buffer memory 107.
[0051] In a sampling period T8 (T0), the DSP 106 writes (overwrites) one word of audio data W(8) converted by the analog / digital converter 105 to the eighth address of the second buffer memory 107.
[0052] The DSP 106 burst-transfers up to 1,024 pieces of eight words of audio data W(1) to W(8) stored in the second buffer memory 107 to the SDRAMs 110 and 111 in a sampling period T8 (T0), and writes the eight words of audio data W(1) to W(8) to the SDRAMs 110 and 111.
[0053] Similarly, in sampling periods T9 to T16, the DSP 106 writes (overwrites) one word of audio data W(9) to W(16) converted by the analog / digital converter 105 to the first to eighth addresses of the second buffer memory 107, respectively.
[0054] The DSP 106 burst-transfers up to 1,024 pieces of eight words of audio data W(9) to W(16) stored in the second buffer memory 107 to the SDRAMs 110 and 111 in a sampling period T16 (T0), and writes the eight words of audio data W(9) to W(16) to the SDRAMs 110 and 111.
[0055] Similarly, the DSP 106 burst-transfers up to 1024 pieces of audio data stored in the second buffer memory 107 in units of 8 words at a burst transfer period TT to the SDRAMs 110 and 111. The DSP 106 controls the burst-length audio data to be burst-transferred from the second buffer memory 107 to the SDRAMs 110 and 111 at a time interval of 8 sampling periods, which corresponds to the number of words (8 words) for which the burst transfer of the burst length is performed.
[0056] The DSP 106 also starts writing audio data W(0) from the seventh address of up to 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(2) to W(9) to the SDRAMs 110 and 111 at a sampling period T9 (T1).
[0057] The DSP 106 also starts writing audio data W(0) from a sixth address of a maximum of 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(3) to W(10) to the SDRAMs 110 and 111 in a sampling period T10 (T2).
[0058] The DSP 106 also starts writing audio data W(0) from the fifth address of a maximum of 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(4) to W(11) to the SDRAMs 110 and 111 in a sampling period T11 (T3).
[0059] The DSP 106 also starts writing audio data W(0) from the fourth address of a maximum of 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(5) to W(12) to the SDRAMs 110 and 111 in a sampling period T12 (T4).
[0060] The DSP 106 also starts writing audio data W(0) from a third address of a maximum of 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(6) to W(13) to the SDRAMs 110 and 111 in a sampling period T13 (T5).
[0061] The DSP 106 also starts writing audio data W(0) from the second address of a maximum of 1024 other buffer memories 107 out of the 8192 buffer memories 107, and burst-transfers eight words of audio data W(7) to W(14) to the SDRAMs 110 and 111 in a sampling period T14 (T6).
[0062] As described above, in sampling period T7 among successive sampling periods T0 to T7 having the number of burst lengths (first number), the DSP 106 performs control so as to burst transfer audio data having the number of words equal to the number of burst lengths between the first buffer memory in Fig. 3(A) and the SDRAMs 110 and 111. Also, in a sampling period T0 (T8) different from sampling period T7 among successive sampling periods T0 to T7 having the number of burst lengths, the DSP 106 performs control so as to burst transfer audio data having the number of words equal to the number of burst lengths between the second buffer memory 107 in Fig. 3(B) and the SDRAMs 110 and 111.
[0063] The DSP 106 starts writing audio data one word at a time from an arbitrary address in the buffer memory 107 in sequence at the sampling period, and can impart a delay time of a sampling period unit to the audio data by shifting the phase of the period in which the audio data is burst transferred from the buffer memory 107 to the SDRAMs 110 and 111 in sampling period units.
[0064] 4A and 4B are diagrams showing burst transfers from the SDRAMs 110 and 111 to the buffer memory 107.
[0065] Fig. 4(A) is a diagram showing a method of accessing the third buffer memory 107. The third buffer memory 107 in Fig. 4(A) is a buffer memory different from the first buffer memory 107 in Fig. 3(A) and the second buffer memory 107 in Fig. 3(B), and is a maximum of 1024 of the 8192 buffer memories 107. The third buffer memory 107 is a ring buffer capable of storing 8 words of audio data.
[0066] In a sampling period T0, the DSP 106 reads out 8 words of audio data written in FIG. 3(A) or (B) from the address indicated by the read pointer of the SDRAM 110 and 111. For example, the DSP 106 reads out 8 words of audio data W(0) to W(7) written in FIG. 3(A) from the address indicated by the read pointer of the SDRAM 110 and 111. The difference between the address indicated by the write pointer and the address indicated by the read pointer of the SDRAM 110 and 111 corresponds to the delay time of the delayed signal relative to the original sound. Then, the DSP 106 burst-transfers 8 words of audio data W(0) to W(7) from the SDRAM 110 and 111 to the third buffer memory 107, and writes the 8 words of audio data W(0) to W(7) to the third buffer memory 107.
[0067] In a sampling period T0, the DSP 106 generates a delayed signal by reading one word of audio data W(0) stored in a first address of the third buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0068] In a sampling period T1, the DSP 106 generates a delayed signal by reading one word of audio data W(1) stored in the second address of the third buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0069] In a sampling period T2, the DSP 106 generates a delayed signal by reading one word of audio data W(2) stored in a third address of the third buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0070] Similarly, in sampling periods T3 to T6, the DSP 106 generates a delayed signal by reading out the audio data W(3) to W(6) stored in the fourth to seventh addresses of the third buffer memory 107. Then, the DSP 106 synthesizes the audio data of the original sound converted by the analog / digital converter 105 with the delayed signal.
[0071] In a sampling period T7, the DSP 106 generates a delayed signal by reading one word of audio data W(7) stored in the eighth address of the third buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0072] Similarly, in sampling periods T8 to T15, the DSP 106 writes the audio data W(8) to W(15) written to the SDRAMs 110 and 111 to the third buffer memory 107, and sequentially reads out the audio data W(8) to W(15). Thereafter, the DSP 106 repeats the same process.
[0073] As described above, the DSP 106 controls the burst transfer of audio data of a burst length from the SDRAMs 110 and 111 to the third buffer memory 107 at time intervals of 8 sampling periods, which corresponds to the number of words (8 words) for which the burst transfer of the burst length is performed, and sequentially reads out the audio data stored in the third buffer memory 107 one word at a time during the sampling periods.
[0074] Fig. 4(B) is a diagram showing a method of accessing the fourth buffer memory 107. The fourth buffer memory 107 in Fig. 4(B) is a buffer memory different from the first to third buffer memories 107, and is a maximum of 1024 of the 8192 buffer memories 107. The fourth buffer memory 107 is a ring buffer capable of storing 8 words of audio data.
[0075] In a sampling period T1, the DSP 106 reads out 8 words of audio data written in Figure 3 (A) or (B) from addresses indicated by the read pointers of the SDRAMs 110 and 111. For example, the DSP 106 reads out 8 words of audio data W(0) to W(7) written in Figure 3 (A) from addresses indicated by the read pointers of the SDRAMs 110 and 111. The DSP 106 then burst-transfers the 8 words of audio data W(0) to W(7) from the SDRAMs 110 and 111 to the fourth buffer memory 107, and writes the 8 words of audio data W(0) to W(7) to the fourth buffer memory 107.
[0076] In a sampling period T1, the DSP 106 generates a delayed signal by reading one word of audio data W(0) stored in a first address of the fourth buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0077] In a sampling period T2, the DSP 106 generates a delayed signal by reading one word of audio data W(1) stored in the second address of the fourth buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0078] In a sampling period T3, the DSP 106 generates a delayed signal by reading one word of audio data W(2) stored in the third address of the fourth buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0079] Similarly, in sampling periods T4 to T7, the DSP 106 generates a delayed signal by reading out the audio data W(3) to W(6) stored in the fourth to seventh addresses of the fourth buffer memory 107. Then, the DSP 106 synthesizes the audio data of the original sound converted by the analog / digital converter 105 with the delayed signal.
[0080] In a sampling period T8 (T0), the DSP 106 generates a delayed signal by reading one word of audio data W(7) stored in the eighth address of the fourth buffer memory 107. Then, the DSP 106 synthesizes the original audio data converted by the analog / digital converter 105 with the delayed signal.
[0081] Similarly, in sampling periods T9 to T16, the DSP 106 writes the audio data W(8) to W(15) written to the SDRAMs 110 and 111 to the fourth buffer memory 107, and sequentially reads out the audio data W(8) to W(15). Thereafter, the DSP 106 repeats the same process.
[0082] The DSP 106 controls the burst transfer of audio data of a burst length from the SDRAMs 110 and 111 to the fourth buffer memory 107 at time intervals of 8 sampling periods, which corresponds to the number of words (8 words) for which the burst transfer of the burst length is performed, and sequentially reads out the audio data stored in the fourth buffer memory 107 one word at a time during the sampling period.
[0083] As described above, in sampling period T0 of successive sampling periods T0 to T7 having the number of burst lengths (first number), the DSP 106 performs control so as to burst transfer audio data having the number of words equal to the number of burst lengths between the third buffer memory in Fig. 4(A) and the SDRAMs 110, 111. Also, in sampling period T1 different from sampling period T0 of successive sampling periods T0 to T7 having the number of burst lengths, the DSP 106 performs control so as to burst transfer audio data having the number of words equal to the number of burst lengths between the fourth buffer memory 107 in Fig. 4(B) and the SDRAMs 110, 111.
[0084] The DSP 106 can impart a delay time in sampling period units to the audio data by shifting the phase of the cycle in which data is burst-transferred from the SDRAMs 110 and 111 to the buffer memory 107 in sampling period units.
[0085] The SDRAMs 110 and 111 can write or read audio data to or from 1024 of the 9192 buffer memories 107 by burst transfer during each of the sampling periods T0 to T7.
[0086] 3(A) and (B), the DSP 106 can perform burst transfer from the buffer memory 107 to the SDRAMs 110 and 111 in all sampling periods T0 to T7. Also, as shown in FIG. 4(A) and (B), the DSP 106 can perform burst transfer from the SDRAMs 110 and 111 to the buffer memory 107 in all sampling periods T0 to T7.
[0087] This allows the DSP 106 to generate not only a delay signal having a delay time that is a multiple of eight of the sampling period, but also a delay signal having a delay time in units of the sampling period.
[0088] When the DSP 106 reads the audio data W(0) written to the buffer memory 107 at a sampling period T0 as shown in FIG. 3(A) from the buffer memory 107 at a sampling period T0 as shown in FIG. 4(A), it can generate a delayed signal having a delay time that is a multiple of 8 of the sampling period.
[0089] In addition, when the DSP 106 reads audio data W(0) written to the buffer memory 107 at a sampling period T0 as shown in FIG. 3(A) from the buffer memory 107 at a sampling period T1 as shown in FIG. 4(B), it can generate a delayed signal having a delay time of (a multiple of 8 of the sampling period) + (sampling period) × 1.
[0090] In addition, when the DSP 106 reads the audio data W(0) written to the buffer memory 107 at a sampling period T0 as shown in FIG. 3(A) from the buffer memory 107 at a sampling period T2, it can generate a delayed signal having a delay time of (a multiple of 8 of the sampling period) + (sampling period) × 2.
[0091] Similarly, when the DSP 106 reads audio data W(0) written to the buffer memory 107 at sampling period T0 as shown in FIG. 3(A) from the buffer memory 107 at sampling periods T3 to T7, it can generate a delayed signal having a delay time of (multiple of 8 of the sampling period) + (sampling period) × 3 to (multiple of 8 of the sampling period) + (sampling period) × 7.
[0092] In addition, when the DSP 106 reads audio data written to the buffer memory 107 at a sampling period T1 from the buffer memory 107 at a sampling period T0, it can generate a delayed signal having a delay time of (a multiple of 8 of the sampling period) - (sampling period) x 1.
[0093] As described above, the DSP 106 uses the 9192 buffer memories 107 to enable burst transfer of the SDRAMs 110 and 111 in all sampling periods T0 to T7. This allows the DSP 106 to generate a large number of delayed signals with different delay times and synthesize the original audio data with the large number of delayed signals, thereby achieving high-quality reverb.
[0094] It should be noted that the above-mentioned embodiments are merely examples of the implementation of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these. In other words, the present invention can be implemented in various forms without departing from its technical concept or main features. [Explanation of symbols]
[0095] 100 Digital signal processing device 101 CPU 102 Program ROM 103 Work RAM 104 Bus 105 Analog / Digital Converter 106 DSP 107 Buffer Memory 108 Digital / Analog Converter 109 Bus 110,111 SDRAM
Claims
1. a first buffer memory for storing audio data; a DRAM for burst-transferring audio data of a burst length; a control means for controlling the writing of audio data into said first buffer memory one word at a time in a sampling period, and for controlling the burst transfer of said audio data of said burst length from said first buffer memory to said DRAM at a time interval of a number of sampling periods corresponding to the number of words for which said burst transfer of said burst length is performed, said control means is capable of imparting a delay time of a sampling period to said audio data by shifting a phase of a period for burst transfer from said first buffer memory to said DRAM in units of a sampling period in accordance with an address at which writing of audio data into said first buffer memory starts in sequence one word at a time in said sampling period.
2. Further, a second buffer memory for storing audio data is provided; 2. The digital signal processing apparatus according to claim 1, wherein said control means controls so that audio data of said burst length is burst-transferred from said DRAM to said second buffer memory at time intervals of a number of sampling periods corresponding to the number of words for which burst transfer of said burst length is performed, and reads out the audio data stored in said second buffer memory one word at a time in said sampling periods.
3. 3. The digital signal processing device according to claim 2, wherein said control means is capable of imparting a delay time of a sampling period unit to said audio data by shifting a phase of a period for burst transfer from said DRAM to said second buffer memory in sampling period units.
4. 4. The digital signal processing device according to claim 1, wherein the DRAM is an SDRAM.
5. a first buffer memory for storing audio data; A method for controlling a digital signal processing device having a DRAM for burst-transferring audio data of a burst length, comprising the steps of: writing audio data into said first buffer memory one word at a time in a sampling period; and controlling the burst transfer of audio data of the burst length from the first buffer memory to the DRAM at a time interval of a number of sampling periods corresponding to the number of words for which the burst transfer of the burst length is performed, a delay time of one sampling period to the audio data, the delay time being set to one sampling period by shifting a phase of a period for burst transfer from the first buffer memory to the DRAM in units of one sampling period in accordance with an address at which writing of audio data one word at a time in the first buffer memory begins in the sampling period.
Citation Information
Patent Citations
Address circuit
JP1983002935A
Address generating circuit
JP1987057067A
Signal delay device and digital signal processor
JP1997244642A
Digital signal processor for sound waveform data
JP2003108122A
Memory controller of music creation device
JP2011007888A
