Sound source system, method and program

The sound source system aligns clock phases and controls connections between sound source cores using a switch matrix and shared memory, addressing DSP resource sharing challenges and achieving efficient signal processing with reduced latency.

JP7578112B2Active Publication Date: 2024-11-06CASIO COMPUTER CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022046539
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-23
Publication Date
2024-11-06
Estimated Expiration
2042-03-23

AI Technical Summary

Technical Problem

Existing sound source systems face challenges in sharing DSP resources between multiple sound source cores without increasing circuit scale, and there is a lack of efficient signal transfer and processing capabilities between these cores.

Method used

A sound source system that aligns the phases of clocks and controls connections between sound source cores using a phase control unit and connection control unit, employing a switch matrix circuit and shared memory to facilitate efficient DSP resource sharing without increasing circuit scale.

Benefits of technology

The system effectively shares DSP resources among sound source cores while maintaining a compact circuit design, enabling efficient signal processing and reduced latency in musical sound data transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007578112000001
    Figure 0007578112000001
  • Figure 0007578112000002
    Figure 0007578112000002
  • Figure 0007578112000003
    Figure 0007578112000003
Patent Text Reader

Abstract

To share DSP resources among multiple sound source cores without increasing the circuit size of a sound source system.SOLUTION: A sound source system is configured with: a plurality of sound source cores that process musical sound data; a phase control unit that aligns the phases of clocks that define input / output timing of the musical sound data to / from the sound source cores among the plurality of sound source cores; and a connection control unit that controls connections among the plurality of sound source cores so that the musical sound data with the aligned clock phases is transferred among the plurality of sound source cores.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The disclosure herein relates to an audio source system, method, and program. [Background technology]

[0002] A sound source system having a plurality of sound source cores is known. For example, Patent Document 1 discloses a specific configuration of this type of sound source system.

[0003] The sound source system described in Patent Document 1 mixes digital musical sound data output from multiple sound source cores in a mixer, applies effect processing to the mixed digital musical sound data, adds the digital musical sound data that has been subjected to effect processing, converts it into an analog signal, and outputs it. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 7-129161 Summary of the Invention [Problem to be solved by the invention]

[0005] In this way, the tone generator system described in Patent Document 1 is configured to perform effect processing and the like on the digital musical sound data output from multiple tone generator cores connected in parallel in a circuit downstream of the tone generator cores. However, in this configuration, for example, it is not possible to input the signal of one tone generator core to another tone generator core and further process the sound using the DSP (Digital Signal Processor) resources of the other tone generator core. In addition, if the DSP resources of multiple tone generator cores are made shareable between tone generator cores, the circuit scale of the tone generator system may become large.

[0006] The present invention has been made in consideration of the above circumstances, and its object is to provide a sound source system, method, and program that can share DSP resources between multiple sound source cores without increasing the circuit scale. [Means for solving the problem]

[0007] A tone generator system according to one embodiment of the present invention includes a plurality of tone generator cores for processing musical sound data, a phase control unit for aligning the phases of a clock that defines the input and output timing of the musical sound data to the tone generator cores between the plurality of tone generator cores, and a connection control unit for controlling connections between the plurality of tone generator cores so that musical sound data with the aligned clock phases is transferred between the plurality of tone generator cores. a shared memory shared among the plurality of tone generator cores; Equipped with One of the multiple sound source cores applies a first effect process and a second effect process to the first musical sound data transferred without going through the shared memory and the second musical sound data transferred through the shared memory, respectively, and the first effect process is a process that requires smaller latency when transferring the musical sound data than the second effect process. Effect of the Invention

[0008] According to one embodiment of the present invention, there is provided a sound source system, method and program that allows multiple sound source cores to share DSP resources without increasing the circuit scale. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing a configuration of a sound source system according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram showing the configuration of a sound source core provided in a sound source system according to an embodiment of the present invention; [Diagram 3] 2 is a block diagram showing the configuration of a reset pulse input / output circuit provided in a tone generator core according to an embodiment of the present invention; FIG. [Figure 4] FIG. 1 is a timing chart of I2S (Inter-IC Sound Interface) data. [Diagram 5] 1 is a block diagram showing a configuration of a switch matrix circuit provided in a sound source system according to an embodiment of the present invention. [Figure 6]2 is a diagram showing an example of effect processing by a DSP provided in a sound source system according to one embodiment of the present invention. FIG. [Figure 7A] FIG. 11 is a diagram showing the latency when digital musical sound data is transferred in I2S format in one embodiment of the present invention. [Figure 7B] FIG. 11 is a diagram showing the latency when digital musical sound data is transferred via a shared memory in an embodiment of the present invention. [Figure 8] FIG. 11 is a diagram showing an example of effect processing by a DSP provided in a sound source system according to a first modified example of the present invention. [Figure 9A] FIG. 11 is a block diagram showing a configuration for performing synchronous control of an operational counter according to a second modified example of the present invention. [Figure 9B] FIG. 11 is a block diagram showing a configuration for performing synchronous control of an operational counter according to a second modified example of the present invention. [Figure 10] FIG. 11 is a block diagram showing a configuration of a sound source system according to a third modified example of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] A sound source system, method, and program according to an embodiment of the present invention will be described in detail with reference to the drawings.

[0011] 1 is a block diagram showing the configuration of a sound source system 1 according to an embodiment of the present invention. The sound source system 1 is configured as, for example, an LSI (Large Scale Integration) and is built into an electronic musical instrument such as an electronic keyboard. The sound source system 1 is not limited to electronic musical instruments, and may also be built into smartphones, PCs (Personal Computers), tablet terminals, portable game consoles, feature phones, PDAs (Personal Digital Assistants), and the like.

[0012] 1, the sound source system 1 includes a CPU (Central Processing Unit) 10, a RAM (Random Access Memory) 11, a ROM (Read Only Memory) 12, a GPIO (General Purpose Input / Output) 13, a MEMIF (Memory Interface) 14, and a core unit 15. The various components of the sound source system 1 are connected via a bus 16. The various components of the sound source system 1 operate on a basic operating clock supplied by a clock generator (not shown).

[0013] The CPU 10 reads out the programs and data stored in the ROM 12 and uses the RAM 11 as a work area to comprehensively control the sound source system 1. That is, the sound source system 1 operates as a result of the CPU 10 executing the programs.

[0014] The CPU 10 is, for example, a single processor or a multi-processor, and includes at least one processor. If multiple processors are included, the CPU 10 may be packaged as a single device, or may be configured as multiple devices that are physically separated within the sound source system 1.

[0015] The RAM 11 is, for example, a static random access memory (SRAM), and operates at a higher speed than a dynamic random access memory (DRAM) 2, which will be described later. Therefore, the RAM 11 temporarily holds data and programs for processing that requires high speed operation. The RAM 11 holds programs and data read from the ROM 12, as well as other data required for communication.

[0016] As will be described later, the RAM 11 also operates as a shared memory shared among multiple sound source cores.

[0017] The ROM 12 is a non-volatile semiconductor memory such as a flash memory, an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), etc. The ROM 12 stores programs and data used by the CPU 10 to perform various processes.

[0018] In addition, the ROM 12 stores waveform data for each key number for each tone color (guitar, bass, piano, etc.).

[0019] The GPIO 13 is a general-purpose port mounted on the sound source system 1, which is an LSI. For example, a MIDI (Musical Instrument Digital Interface) device (not shown) is connected to the GPIO 13. In this case, MIDI data (an example of SMF (Standard MIDI File) data) conforming to the MIDI standard is input from the MIDI device via the GPIO 13.

[0020] The MEMIF 14 is an interface that is connected to, for example, an external DRAM 2. Compared to SRAM, the DRAM 2 has a slower data read / write speed but generally has a large capacity. Therefore, the DRAM 2 stores data that does not require high-speed processing or large capacity data, such as SMF data. In this case, the SMF data is input from the DRAM 2 via the MEMIF 14.

[0021] The music data input via the GPIO 13 or the MEMIF 14 is not limited to SMF data, and may be music data conforming to other standards.

[0022] The core unit 15 includes two tone generator cores 15CM and 15CS, and a switch matrix circuit 15SW. When the tone generator cores 15CM and 15CS are collectively described, they will be referred to as "tone generator core 15C."

[0023] The core unit 15 transmits the digital musical sound data generated by each sound source core 15C to the I 2 The audio signal is output in S format to the sound system 3. The number of sound source cores 15C provided in the core unit 15 is not limited to two, and may be three or more.

[0024] The sound system 3 includes a D / A converter, an amplifier, a speaker, etc. 2 It converts digital musical sound data input in S format into an analog signal, which is then amplified by an amplifier and output from a speaker, allowing musical sounds corresponding to MIDI data, for example, to be played.

[0025] The sound system 3 may also include input means such as an A / D converter, a microphone, etc. For example, the singing voice input from the microphone may be converted into digital data by the A / D converter, and then input to the core unit 15, where the singing voice may be processed, for example, by adding an effect to the singing voice.

[0026] 2 is a block diagram showing the configuration of the tone generator core 15C that processes digital musical sound data. In this embodiment, the tone generator core 15CM and the tone generator core 15CS have the same structure. Since there is no need to prepare multiple types of tone generator cores 15C with different structures, the cost of the tone generator system 1 can be reduced, and the tone generator cores 15C can be easily managed.

[0027] The sound source core 15C includes an n-channel (for example, 128-channel) sound source section 100, a mixer 102, a DSP 104, a BIF 106, an I 2 The device includes an S interface 108 , a reset pulse input / output circuit 110 , and an operation counter 112 .

[0028] The sound source unit 100 includes a bus interface (BIF) 100a, a sound generator (SG) 100b, a digital controlled filter (DCF) 100c, an equalizer (EQ) 100d, and a digital controlled amplifier (DCA) 100e.

[0029] The BIF 100a is an interface connected to each part of the sound source system 1 via the bus 16. For example, the CPU 10 instructs the sound source core 15C to read corresponding waveform data from among a plurality of waveform data stored in the ROM 12 according to MIDI data input to the GPIO 13. This instruction signal is input to the SG 100b via the BIF 100a.

[0030] The SG 100b reads waveform data from the ROM 12 in response to a command signal from the CPU 10, and generates digital musical tone data based on the read waveform data. The tone generator core 15C includes a tone generator section 100 with 128 channels, and can simultaneously generate a maximum of 128 musical tones.

[0031] The digital musical sound data generated by the SG 100b is output to the mixer 102 after undergoing digital filtering by the DCF 100c, equalization by the EQ 100d, and amplification by the DCA 100e.

[0032] The mixer 102 mixes digital musical tone data of up to 128 musical tones input from each sound source unit 100 and outputs the mixed data to the DSP 104 .

[0033] The DSP 104 applies effects to the digital music data input from the mixer 102, 2 The DSP 104 outputs the signal to the S interface 108. The DSP 104 is also connected to each unit of the sound source system 1 via the BIF 106.

[0034] I 2The S interface 108 transmits digital musical sound data between the DSPs 104 of the tone generator cores 15C or between the DSPs 104 and the switch matrix circuit 15SW. 2 This is an interface for transferring data in the S format. For convenience, I 2 Digital music data transferred in I S format is 2 S data".

[0035] I 2 S data includes a BCK signal, an LRCK signal, and a DATA signal. The BCK signal is a clock for latching the DATA signal, which is serial data, at its rising edge, and is sometimes called a bit clock. The LRCK signal distinguishes between the L and R channels of digital musical sound data and indicates the position of the most significant bit of the DATA signal, and is sometimes called a word clock. The DATA signal is a bit string of musical sound data.

[0036] I 2 The S interface 108 has three input ports and three output ports. 2 The S interface 108 provides I / O through each port. 2 Input and output S data. 2 The number of input ports and output ports provided in the S interface 108 is not limited to three each. The number of input ports and output ports may each be two or less, or may be four or more.

[0037] 3 is a block diagram mainly showing the configuration of the reset pulse input / output circuit 110. The CPU 10 outputs an instruction signal to the reset pulse input / output circuit 110 to instruct the circuit to issue a reset pulse at a predetermined timing (for example, when the tone generator system 1 is started up, or when the tone generator core 15CS, which has been stopped, is restarted as described later). The reset pulse input / output circuit 110 generates a reset pulse, which is an example of a trigger signal, in accordance with the instruction signal from the CPU 10, and outputs the generated reset pulse to the operation counter 112.

[0038] 3, the reset pulse input / output circuit 110 includes a setting register 110a, an edge detection section 110b, and an OR circuit 110c. Here, operation examples 1 and 2 of the reset pulse input / output circuit 110 will be described.

[0039] In the operation example 1, when an instruction signal to issue a reset pulse is received from the CPU 10, the value of the setting register 110a is changed from 0 to 1. The edge detection unit 110b detects a rising edge when the value of the setting register 110a is changed from 0 to 1, generates a pulse, and outputs the generated pulse to the OR circuit 110c as a reset pulse.

[0040] One input terminal T1 of the OR circuit 110c is connected to the edge detection unit 110b, and the other input terminal T2 is connected to another sound source core 15C. However, in the operation example 1, the input to the input terminal T2 is fixed to zero. Therefore, the OR circuit 110c outputs a reset pulse from the edge detection unit 110b to the operation counter 112 only when the reset pulse is input to the input terminal T1.

[0041] The operation counter 112 is, for example, a timing generator, and constantly generates a value mc that is an operation reference for the tone generator core 15C during operation of the tone generator system 1. The value mc is used to generate, for example, a BCK signal and a LRCK signal, which are clocks. For example, 2 A logic circuit implemented in the S interface 108 generates a BCK signal and a LRCK signal based on the value mc generated by the operation counter 112 .

[0042] When a reset pulse is input from the reset pulse input / output circuit 110 to the operation counter 112, the value mc generated by the operation counter 112 is reset to zero.

[0043] That is, when the CPU 10 inputs a reset pulse issuing instruction signal to each tone generator core 15C, the value mc is simultaneously reset to zero in each tone generator core 15C. After the value mc is reset, the count-up of the value mc is simultaneously restarted in each tone generator core 15C.

[0044] As a result, the values ​​mc of the operation counters 112 of the respective tone generator cores 15C are synchronized (substantially matched), so that the phases of the BCK and LRCK signals generated based on the values ​​mc are aligned between the two tone generator cores 15C.

[0045] There are individual differences in the operation counters 112 of each tone generator core 15C. Therefore, strictly speaking, the BCK signal and the LRCK signal are not synchronized but are in phase. However, since the individual differences in the operation counters 112 are small, it is practically acceptable to write that "the BCK signal and the LRCK signal are synchronized between the two tone generator cores 15C." Here, "the phases are aligned" means that, for example, even if the clock waveform is dulled or distorted due to factors such as the capacitance between wiring, or even if the clock is slightly shifted between the tone generator cores 15C due to delay, the high section and the low section of the clock waveform may be roughly aligned.

[0046] Furthermore, since the multiple operation counters 112 operate in synchronization, the fan-out of one operation counter 112 is reduced.

[0047] In operation example 1, the CPU 10 instructs all tone generator cores 15C to issue a reset pulse. In contrast, in operation example 2, the CPU 10 instructs only the tone generator core 15CM set as the master to issue a reset pulse.

[0048] In the second operational example, the reset pulse input / output circuit 110 of the tone generator core 15CM outputs a reset pulse not only to the operation counter 112 but also to the other tone generator cores 15CS that are set as slaves.

[0049] The OR circuit 110c of the tone generator core 15CM has the input to the input terminal T2 fixed to zero, similar to the operation example 1. Therefore, similar to the operation example 1, the OR circuit 110c of the tone generator core 15CM outputs a reset pulse from the edge detection unit 110b to the operation counter 112 only when the reset pulse is input to the input terminal T1.

[0050] On the other hand, the input to the input terminal T2 of the OR circuit 110c of the tone generator core 15CS is not fixed. Also, since the tone generator core 15CS does not generate a reset pulse, there is no input to the input terminal T1. Therefore, the OR circuit 110c of the tone generator core 15CS outputs a reset pulse from the tone generator core 15CM to the operation counter 112 only when the reset pulse is input to the input terminal T2.

[0051] In operation example 2, simply by instructing the tone generator core 15CM to issue a reset pulse, the value mc is simultaneously reset to zero in each tone generator core 15C, and the phases of the BCK signal and the LRCK signal are aligned between the two tone generator cores 15C.

[0052] In either operation example 1 or 2, the tone generator core 15C of the same structure can be used, so there is no need to prepare multiple types of tone generator cores 15C.

[0053] In this way, the CPU 10 operates as a phase control section that supplies a reset pulse, which is an example of a trigger signal, to each of the multiple tone generator cores 15C by executing the program stored in the ROM 12. When a reset pulse is supplied to each of the multiple tone generator cores 15C, the values ​​mc of the operation counters 112 are synchronized between the multiple tone generator cores 15C, and each of the multiple tone generator cores 15C generates a BCK signal and an LRCK signal, which are an example of a clock, based on the value mc of the operation counters 112 in the synchronized state. In other words, the CPU 10 operating as a phase control section aligns the phases of the clocks (BCK signal and LRCK signal) that define the input / output timing of digital musical sound data to the tone generator cores 15C, between the multiple tone generator cores 15C.

[0054] Figure 4 shows the I 24 is a timing chart of S data. Fig. 4 shows a transfer example in which two channels of data are transferred in one sampling, and a faster transfer example in which four channels of data are transferred in one sampling. In the former transfer example, L channel data and R channel data are transferred in that order during one sampling. In the latter transfer example, L channel data, R channel data, L channel data and R channel data are transferred in that order during one sampling.

[0055] In any of the transfer examples, the BCK signal and the LRCK signal are generated based on the value mc shown in the top row of FIG.

[0056] It should be noted that the scope of the present invention also includes configurations in which data from more channels, such as 8, 16, or 32 channels, is transferred during one sampling period.

[0057] In addition, the transfer format for digital music data is I 2 The format is not limited to the S format, and may be another format such as left justified or right justified.

[0058] Fig. 5 is a block diagram showing the configuration of a switch matrix circuit 15SW that can be connected to each of the multiple tone generator cores 15C. As shown in Fig. 5, the switch matrix circuit 15SW includes six selector switches 150 to 155. The selector switches 150 to 155 are 9 to 1 selector switches and 1-bit selector switches.

[0059] The switch matrix circuit 15SW has nine inputs. Specifically, the I 2 There are inputs from three output ports provided in the S interface 108 (six inputs in total: IN1 to IN6) and three inputs in total (IN7 to IN9) from the outside (for example, the sound system 3). The switch matrix circuit 15SW also has six systems for distributing and outputting. 2There are outputs to three input ports (total of six distribution outputs: OUT1 to OUT6) provided in the S interface 108. Note that in the switch matrix circuit 15SW, the input from the sound source core 15C is outputted through to the outside. For this reason, the switch matrix circuit 15SW is configured to have six 9 to 1 selector switches.

[0060] For example, consider a case where two systems of LR signals from sound source core 15CS are input to sound source core 15CM in order to process the LR signals (digital musical sound data) of sound source core 15CS in sound source core 15CM. In this case, for example, IN4 and OUT1 are connected by selecting bit 4, i.e., IN4, in selector switch 150. Similarly, IN5 and OUT2 are connected by selecting bit 5, i.e., IN5, in selector switch 151. As a result, the L signal and R signal input from sound source core 15CS to IN4 and IN5 are output from OUT1 and OUT2, respectively, and input to sound source core 15CM.

[0061] As another example, consider a case where an external input signal is input to tone generator core 15CS. In this case, for example, IN7 and OUT6 are connected by selecting bit 7, i.e., IN7, in selector switch 155. As a result, the external input signal input from outside to IN7 is output from OUT6 and input to tone generator core 15CS.

[0062] By configuring the switch matrix circuit 15SW in this way, various operation patterns of the switch matrix circuit 15SW can be set. For example, when the I 2 You can set the operation pattern to transfer S data from the sound source core 15CM to the sound source core 15CS. 2 You can set the operation pattern for transferring S data.

[0063] The same switch matrix circuit 15SW can be used whether the switch matrix circuit is mounted in a product that employs the former operation pattern or in a product that employs the latter operation pattern. Since the same switch matrix circuit 15SW can be used between different products, for example, cost reduction can be achieved.

[0064] For example, when the phases of the BCK and LRCK signals are not aligned between the two tone generator cores 15C, 2 Consider the case where I S data is passed between two sound source cores 15C. In this case, 2 It is necessary to provide a switch matrix for all of the BCK signal, LRCK signal, and DATA signal of the S data, and therefore each of the selector switches 150 to 155 must be configured as a 3-bit selector switch.

[0065] In contrast, in this embodiment, as described above, the phases of the BCK signal and the LRCK signal are aligned between the two tone generator cores 15C. 2 Of the S data, there is no need to provide a switch matrix for the BCK signal and the LRCK signal. For the DATA signal, each of the selector switches 150 to 155 can be configured with a 1-bit selector switch, so the circuit scale of the switch matrix circuit 15SW can be kept small. In other words, the signals whose connections are controlled by the switch matrix circuit 15SW do not include clock signals (BCK signal and LRCK signal), so the circuit scale of the switch matrix circuit 15SW can be kept small.

[0066] Fig. 6 is a diagram showing an example of effect processing by DSP 104. In Fig. 6, mixer 102 and DSP 104 provided in sound source core 15CM are denoted as "mixer 102M" and "DSP104M," respectively, and mixer 102 and DSP 104 provided in sound source core 15CS are denoted as "mixer 102S" and "DSP104S," respectively.

[0067] 6, the DSP 104M includes system effect processing sections 202, 204, master effect processing sections 206, 208, insertion effect processing sections 210, 212, and adders 220, 222, and 224. The DSP 104S includes insertion effect processing sections 302, 304, and 306, and adders 320, 322, and 324.

[0068] The system effect processors 202 and 204 apply system effects (for example, effects such as reverb that are generally applied to the entire musical sound as background sound by connecting to the send / return terminal) shared by each sound source core 15C. Therefore, the system effect processors 202 and 204 are connected not only to the mixer 102M of the DSP 104M but also to the DSP 104S.

[0069] Here, in the insertion effect processors 210, 212, 302, 304, 306 and the system effect processor 204, the amplifiers for the output signals to the left side in FIG.

[0070] 6 function as return volumes for signals returning from the system effects processing units 202, 204. However, the chorus which is the system effects processing unit 204 in this embodiment can also function as an insertion effect. When making the chorus of the system effects processing unit 204 function as an insertion effect, the send volume of that processing unit to the system effects processing unit 202 can be set to 0, and the send volumes of each of the insertion effects processing units 210, 212, 302, 304, 306 to the system effects processing unit 204 can be set to 0.

[0071] An adder 220 arranged in front of the system effect processor 202 adds digital musical sound data (waveform data for reverb processing) output from the mixer 102M, the system effect processor 204, and the insertion effect processors 210 and 212, and further adds digital musical sound data output from the DSP 104S (more specifically, waveform data for reverb processing output from the insertion effect processors 302, 304, 306 and added by the adder 320). The system effect processor 202 generates a reverb musical sound using the waveform data input from the adder 220, and outputs the waveform data of the generated reverb musical sound.

[0072] An adder 222 arranged in front of the system effect processor 204 adds digital musical sound data (waveform data for chorus processing) output from the mixer 102M and the insertion effect processors 210 and 212, and further adds digital musical sound data output from the DSP 104S (more specifically, waveform data for chorus processing output from the insertion effect processors 302, 304, 306 and added by the adder 322). The system effect processor 202 generates chorus musical sounds using the waveform data input from the adder 222, and outputs the waveform data of the generated chorus musical sounds.

[0073] The master effect processors 206 and 208 are downstream of the system effect processors and insertion effect processors, and apply a master effect shared by the tone generator cores 15C. For this reason, the master effect processors 206 and 208 are connected to the system effect processors and insertion effect processors, as well as the mixer 102M.

[0074] The adder 224, which is located before the master effect processor 206, adds the waveform data output from the mixer 102M, the system effect processors 202, 204, and the insertion effect processors 210, 212, and further adds the waveform data output from the DSP 104S (more specifically, the waveform data output from the mixer 102S and the insertion effect processors 302, 304, 306 and added by the adder 324).

[0075] The master effect processor 206 performs a compressor process on the digital musical sound data obtained by the addition in the adder 224. The master effect processor 208 performs an equalizer process on the digital musical sound data after the compressor process by the master effect processor 206. The digital musical sound data after the equalizer process is 2 The signal is output to the sound system 3 via the S interface 108.

[0076] The master effect processors 206 and 208 adjust the volume difference and frequency characteristics at the final output stage of the musical tones to adjust the overall musical tones. Therefore, for direct sounds that do not pass through the system effects, it is desirable to minimize the latency and to add signals with as much phase alignment as possible between the multiple tone generator cores 15C in the adder 224 and input them to the master effect processor 206.

[0077] The insertion effect processors 210 and 212 apply insertion effects only to the digital musical sound data input from the mixer 102M. That is, the insertion effect processors 210 and 212 apply effects that are not shared by the sound source cores 15C. For example, the insertion effect processors 210 and 212 apply different insertion effects (such as flanger and phaser, for example) from each other.

[0078] The insertion effect processors 302, 304, and 306 apply insertion effects only to the digital musical sound data input from the mixer 102S. That is, the insertion effect processors 302, 304, and 306 also apply effects that are not shared by the sound source cores 15C.

[0079] The output signals of the insertion effect processors 210, 212, 302, 304, 306 are directed to the left side of Fig. 6 (the mixer 102M or 102S side) and are split into a signal that passes through the system effect and a direct sound signal that does not pass through the system effect and is directed to the right side of Fig. 6. It is desirable for the direct sound to have less latency than the background sound that passes through system effects such as reverb and chorus.

[0080] In this embodiment, the digital musical sound data generated by the tone generator core 15CS is transferred to the tone generator core 15CM via the switch matrix circuit 15SW or via the shared memory. Figure 7A shows the latency when the digital musical sound data is transferred via the switch matrix circuit 15SW. Figure 7B shows the latency when the digital musical sound data is transferred via the shared memory.

[0081] In this embodiment, a RAM 11 (SRAM) with small single access latency is used as the shared memory.

[0082] As shown in FIG. 7A, when the signal passes through the switch matrix circuit 15SW, I 2 S data is written, and the written I 2 S data is transferred and the transferred I 2 The S data is written to a register of the DSP 104M. Therefore, the digital musical sound data generated by the sound source core 15CS is delayed by about two samples with respect to the digital musical sound data generated by the sound source core 15CM.

[0083] 7B, in the case of via the shared memory, a shared memory area is secured, the digital musical sound data is written into the secured shared memory area, the written digital musical sound data is read out from the shared memory area, and the read digital musical sound data is written into the cache memory of the DSP 104M. Therefore, the digital musical sound data generated by the tone generator core 15CS is delayed by about three samples with respect to the digital musical sound data generated by the tone generator core 15CM.

[0084] Depending on the operating conditions of the RAM 11, it is quite possible that the write latency and read latency in the shared memory may become larger. Therefore, the digital musical sound data generated by the sound source core 15CS may be delayed significantly with respect to the digital musical sound data generated by the sound source core 15CM.

[0085] That is, when the digital musical sound data is transferred via the switch matrix circuit 15SW, the latency is reduced compared to when the digital musical sound data is transferred via the shared memory.

[0086] As mentioned above, it is desirable that the direct sound from each insertion effect has a lower latency than the sound that passes through the system effect. Therefore, under the control of the CPU 10, the digital musical tone data output from the insertion effect processors 302, 304, and 306 of the mixer 102S and the DSP 104S (i.e., the waveform data after addition by the adder 324) is transferred from the tone generator core 15CS to the master effect processor 206 via a route with a small latency (i.e., via the switch matrix circuit 15SW).

[0087] However, there is a limit to the number of input / output paths via the switch matrix circuit 15SW, so that increasing the number of input / output paths requires increasing the number of inputs / outputs of the switch matrix circuit 15SW, which increases the circuit scale of the switch matrix circuit 15SW.

[0088] In contrast, when data is transferred via a shared memory, if a ring buffer is formed in the RAM 11, the number of paths through which data can be transferred becomes virtually unlimited. Also, by increasing the size of the ring buffer, the amount of data transferred per path can be increased. In this case, however, the latency until the written data is read increases. Also, as described above, the reverb and chorus processing by the system effect processors 202 and 204 can tolerate a slightly longer latency than the insertion effect processing.

[0089] Therefore, in this embodiment, digital musical sound data (i.e., waveform data after addition by adder 320) output from insertion effect processing units 302, 304, and 306 of DSP 104S is transferred from the tone generator core 15CS to the system effect processing unit 202 via a shared memory under the control of the CPU 10. Also, digital musical sound data (i.e., waveform data after addition by adder 322) output from insertion effect processing units 302, 304, and 306 of DSP 104S is transferred from the tone generator core 15CS to the system effect processing unit 204 via a shared memory under the control of the CPU 10.

[0090] In this manner, in this embodiment, by using the switch matrix circuit 15SW and the shared memory in combination, it is possible to transfer a large amount of data during one sampling while keeping the circuit scale of the switch matrix circuit 15SW small.

[0091] Note that the processing example shown in Fig. 6 is merely an example. Configurations that do not share reverb, chorus, compressor, and equalizer, and configurations that share insertion effects that are not shared in this embodiment, are also within the scope of the present invention. Also, configurations that perform other effect processing not exemplified in Fig. 6 are also within the scope of the present invention.

[0092] In this way, the CPU 10 operates as a connection control unit that controls the connections between the multiple tone generator cores 15C so that digital musical sound data with aligned clock (BCK signal and LRCK signal) phases is transferred between the multiple tone generator cores 15C by executing the program stored in the ROM 12. More specifically, the CPU 10 operating as a connection control unit controls the connections between the multiple tone generator cores 15C via the switch matrix circuit 15SW.

[0093] Moreover, one tone generator core 15CM among the plurality of tone generator cores 15C performs a first effect process and a second effect process on the first musical sound data and the second musical sound data from each of the plurality of tone generator cores 15C. The first musical sound data is digital musical sound data to which a first effect process (e.g., an insertion effect process) is performed in which the tolerance for latency during transfer is smaller than that of the second effect process (e.g., a reverb process, a chorus process), and the I 2 The second musical sound data is transferred in the S format. The second musical sound data is digital musical sound data to which a second effect process, which has a larger tolerance for latency during transfer than the first effect process, is applied, and is transferred between the multiple tone generator cores 15C via a shared memory. In addition, the first effect process is a process that requires a smaller latency during transfer of musical sound data than the second effect process.

[0094] As described above, in this embodiment, the phases of the BCK signal and the LRCK signal are aligned among the multiple sound source cores 15C, so even though the configuration allows effects to be shared among the multiple sound source cores 15C, each of the selector switches 150 to 155 can be configured as a 1-bit selector switch, and the circuit scale of the switch matrix circuit 15SW can be kept small.

[0095] In addition, the present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the functions executed in the above-mentioned embodiment may be implemented in appropriate combinations as much as possible. The above-mentioned embodiment includes various steps, and various inventions can be extracted by appropriate combinations of the multiple components disclosed. For example, if an effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention.

[0096] FIG. 8 is a diagram showing an example of effect processing by the DSP 104 in the first modified example of the present invention.

[0097] As described above, the digital musical sound data generated by the tone generator core 15CS is delayed with respect to the digital musical sound data generated by the tone generator core 15CM due to the latency during transfer. Therefore, in the first modification, a delay circuit 230 is provided after the system effect processors 202 and 204 and the insertion effect processors 210 and 212. The delay circuit 230 delays the input waveform data by, for example, two samples.

[0098] The waveform data delayed by the delay circuit 230 and the waveform data from the mixer 102M are added by an adder 226, and this added data is further added by an adder 224 to the waveform data transferred from the sound source core 15CS via the switch matrix circuit 15SW, and the resulting data is input to the master effect processing unit 206.

[0099] In other words, in variant example 1, digital musical sound data in which the phase difference between the digital musical sound data generated by the sound source core 15CS (waveform data that passes through the switch matrix circuit 15SW) and the digital musical sound data generated by the sound source core 15CM (waveform data that does not pass through the switch matrix circuit 15SW) is suppressed is input to the master effect processing unit 206.

[0100] In this way, the tone generator core 15CM includes a delay circuit 230 (an example of a phase difference suppressing section) that suppresses the phase difference of the musical sound data from each of the multiple tone generator cores 15C.

[0101] The method of controlling synchronization of the operation counters 112 among the multiple tone generator cores 15C is not limited to the method using a reset pulse.

[0102] 9A and 9B are diagrams corresponding to tone generator core 15CM and tone generator core 15CS, respectively, and are block diagrams showing the configurations of switch 110' and operation counter 112 according to Modification 2 of the present invention. The tone generator system 1 according to Modification 2 has the configurations shown in Figs. 9A and 9B instead of the configuration shown in Fig. 3.

[0103] The CPU 10 outputs a master enable signal of value 1 to the tone generator core 15CM set as the master, and outputs a master enable signal of value 0 to the tone generator core 15CS set as the slave. The master enable signal is a control signal for the switch 110'.

[0104] 9A, in the tone generator core 15CM, the switch 110' connects to the contact T11 in response to the master enable signal. This connects the operation counter 112 of the tone generator core 15CM to the inside of the tone generator core 15CM (the supply destination of the value mc), and disconnects the operation counter 112 of the tone generator core 15CS from the inside of the tone generator core 15CM.

[0105] 9B, in the tone generator core 15CS, the switch 110' connects to the contact T12 in response to the master enable signal. This disconnects the operation counter 112 of the tone generator core 15CS from the inside of the tone generator core 15CS (the supply destination of the value mc), and connects the operation counter 112 of the tone generator core 15CM to the inside of the tone generator core 15CS.

[0106] Therefore, the value mc generated by the operation counter 112 of the tone generator core 15CM is supplied to the inside of the tone generator core 15CM and also to the inside of the tone generator core 15CS. Since a common value mc is supplied to the two tone generator cores 15C, the phases of the BCK signal and the LRCK signal generated based on the value mc are aligned between the two tone generator cores 15C.

[0107] Depending on the tone generation state (for example, when there are few tones to be generated), it may not be necessary to operate at least one of the tone generator cores 15C. Therefore, in order to reduce the current consumption of the tone generator system 1, the supply of the basic operating clock to at least one of the tone generator cores 15C may be stopped depending on the tone generation state (in other words, depending on the processing status of the tone data).

[0108] Fig. 10 is a block diagram showing the configuration of a tone generator system 1 according to a third modification of the present invention. Fig. 10 shows a clock generator 17 that supplies a basic operating clock to each unit of the tone generator system 1. The clock generator 17 is an example of a basic operating clock supplying unit that supplies a basic operating clock for operating a plurality of tone generator cores 15C.

[0109] 10, in the third modification, a clock gating switch 18M is disposed between the clock generator 17 and the tone generator core 15CM. In addition, a clock gating switch 18S is disposed between the clock generator 17 and the tone generator core 15CS.

[0110] The CPU 10 writes a value to the setting register 19 according to the tone generation state of the musical tone. For example, when a value of 1 is written for the tone generator core 15CM, an enable signal of value 1 is output from the setting register 19 to the clock gating switch 18M. This causes the clock gating switch 18M to connect the clock generator 17 and the tone generator core 15CM, and the basic operation clock is supplied from the clock generator 17 to the tone generator core 15CM. When a value of 0 is written for the tone generator core 15CM, an enable signal of value 0 is output from the setting register 19 to the clock gating switch 18M. This causes the clock gating switch 18M to cut off the connection between the clock generator 17 and the tone generator core 15CM, and the supply of the basic operation clock from the clock generator 17 to the tone generator core 15CM is stopped. Therefore, the tone generator core 15CM stops.

[0111] The tone generator core 15CS operates in a similar manner, with the clock gating switch 18S connecting and disconnecting the clock generator 17 and tone generator core 15CS. While the clock generator 17 and tone generator core 15CS are connected, the clock generator 17 supplies a basic operating clock to the tone generator core 15CS. While the clock generator 17 and tone generator core 15CS are disconnected, the supply of the basic operating clock from the clock generator 17 to the tone generator core 15CS is stopped, and the tone generator core 15CS stops.

[0112] In this way, by executing the program stored in ROM 12, the CPU 10 operates as a supply control unit that controls the supply and stop of the basic operating clock to each of the multiple sound source cores 15C by the clock generator 17 (an example of a basic operating clock supply unit) depending on the processing status of the digital musical sound data.

[0113] In the configuration shown in Fig. 9, tone generator core 15CM supplies tone generator core 15CS with value mc. If tone generator core 15CM alone is stopped, tone generator core 15CS will not be supplied with value mc, causing a malfunction in the operation of tone generator core 15CS. Therefore, when there is only one tone generator core 15C that can be stopped, only tone generator core 15CS is stopped. Only when there are two tone generator cores 15C that can be stopped is tone generator core 15CM also stopped.

[0114] In the configuration shown in Fig. 9, even if the operation of only the tone generator core 15CS is resumed from the state in which the two tone generator cores 15C are stopped, the value mc is not supplied to the tone generator core 15CS. Therefore, a malfunction occurs in the operation of the tone generator core 15CS. Therefore, first, the operation of only the tone generator core 15CM is resumed, and then, if necessary, the operation of the tone generator core 15CS is also resumed.

[0115] 9, when the operation of the tone generator core 15CS is resumed, the value mc generated by the operation counter 112 of the tone generator core 15CM is also supplied to the inside of the tone generator core 15CS. Therefore, the phases of the BCK signal and the LRCK signal are aligned between the two tone generator cores 15C even after the operation is resumed.

[0116] 3, when the tone generator core 15CS resumes operation, a reset pulse is supplied to each tone generator core 15C. Therefore, in this case as well, the phases of the BCK signal and the LRCK signal are aligned between the two tone generator cores 15C even after the operation resumes.

[0117] The invention as described in the claims of the original application is set forth below. [Appendix 1] A plurality of sound source cores for processing musical sound data; a phase control unit that aligns the phases of a clock that defines the input / output timing of the musical sound data to the tone generator cores among the plurality of tone generator cores; a connection control unit that controls connections between the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; Sound source system. [Appendix 2] a switch matrix circuit connectable to each of the plurality of sound source cores; The connection control unit controls connections between the plurality of tone generator cores via the switch matrix circuit. 2. A sound source system as described in Appendix 1. [Appendix 3] The signals whose connection is controlled by the switch matrix circuit do not include the clock signal. Attachment 2: A sound source system as described in the appendix. [Appendix 4] Among the plurality of tone generator cores, the first tone data is 2 S (Inter-IC Sound Interface) format, 4. A sound source system according to any one of claims 1 to 3. [Appendix 5] A shared memory shared among the plurality of tone generator cores is further provided, The second musical sound data is transferred between the plurality of tone generator cores via the shared memory. Attachment 4: A sound source system as described in the appendix. [Appendix 6] one of the plurality of tone generator cores performs a first effect process and a second effect process on the first musical sound data and the second musical sound data from each of the plurality of tone generator cores, The first effect process is a process that requires a smaller latency in transferring the musical sound data than the second effect process. 6. The sound source system described in Appendix 5. [Appendix 7] The one tone generator core includes a phase difference suppression unit that suppresses a phase difference of the musical sound data from each of the plurality of tone generator cores. 6. A sound source system as described in Appendix 6. [Appendix 8] The phase control unit supplies a trigger signal to each of the plurality of sound source cores; when the trigger signal is supplied to each of the plurality of tone generator cores, values ​​of operation counters of the tone generator cores are synchronized among the plurality of tone generator cores; Each of the plurality of tone generator cores generates the clock based on a value of the operation counter in a synchronized state. 8. A sound source system according to any one of claims 1 to 7. [Appendix 9] a basic operation clock supply unit that supplies a basic operation clock for operating the plurality of tone generator cores; a supply control unit that controls the supply and stop of the basic operation clock to each of the plurality of tone generator cores by the basic operation clock supply unit according to a processing status of the musical sound data. 9. A sound source system according to any one of claims 1 to 8. [Appendix 10] The multiple sound source cores have the same structure. 10. A sound source system according to any one of claims 1 to 9. [Appendix 11] A method for controlling a sound source system having a plurality of sound source cores for processing musical sound data, aligning the phases of clocks that define the input / output timing of the musical sound data to / from the tone generator cores among the plurality of tone generator cores; causing the tone generator system to execute a process of controlling connections between the plurality of tone generator cores so that the musical sound data with the clock phases aligned is transferred between the plurality of tone generator cores; method. [Appendix 12] A program for controlling a sound source system having a plurality of sound source cores for processing musical sound data, aligning the phases of clocks that define the input / output timing of the musical sound data to / from the tone generator cores among the plurality of tone generator cores; causing the tone generator system to execute a process of controlling connections between the plurality of tone generator cores so that the musical sound data with the clock phases aligned is transferred between the plurality of tone generator cores; program. [Explanation of symbols]

[0118] 1: Sound source system 2: DRAM 3: Sound system 10: CPU 11: RAM 12: ROM 13: GPIO 14 :MEMIF 15: Core section 15C: Sound Core 15SW: Switch matrix circuit 16: Bus 100: Sound source section 102: Mixer 104: DSP 106 :BIF 108 :I 2 S Interface 110: Reset pulse input / output circuit 112: Operation counter 150~155: Selector switch

Claims

1. A plurality of sound source cores for processing musical sound data; a phase control unit that aligns the phases of a clock that defines the input / output timing of the musical sound data to the tone generator cores among the plurality of tone generator cores; a connection control unit that controls connections between the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; a shared memory shared among the plurality of tone generator cores; one of the plurality of tone generator cores performs a first effect process and a second effect process on the first musical sound data transferred without passing through the shared memory and the second musical sound data transferred through the shared memory, respectively; the first effect processing is processing that requires a smaller latency in transferring the musical sound data than the second effect processing; Sound source system.

2. A plurality of sound source cores for processing musical sound data; a phase control unit that aligns the phases of a clock that defines the input / output timing of the musical sound data to the tone generator cores among the plurality of tone generator cores; a connection control unit that controls connections between the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; The phase control unit supplies a trigger signal to each of the plurality of sound source cores; when the trigger signal is supplied to each of the plurality of tone generator cores, values ​​of operation counters of the tone generator cores are synchronized among the plurality of tone generator cores; Each of the plurality of tone generator cores generates the clock based on a value of the operation counter in a synchronized state. Sound source system.

3. A plurality of sound source cores for processing musical sound data; a phase control unit that aligns the phases of a clock that defines the input / output timing of the musical sound data to the tone generator cores among the plurality of tone generator cores; a connection control unit that controls connections between the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; a basic operation clock supply unit that supplies a basic operation clock for operating the plurality of tone generator cores; a supply control unit that controls the supply and stop of the basic operation clock to each of the plurality of tone generator cores by the basic operation clock supply unit according to a processing status of the musical sound data. Sound source system.

4. a switch matrix circuit connectable to each of the plurality of sound source cores; 4. The tone generator system according to claim 1, wherein the connection control unit controls connections between the plurality of tone generator cores via the switch matrix circuit.

5. 5. The sound source system according to claim 4, wherein the signals whose connections are controlled by the switch matrix circuit do not include the clock signal.

6. 2. The sound source system according to claim 1, wherein the first musical sound data is transferred between the plurality of sound source cores in an I2S (Inter-IC Sound Interface) format.

7. 4. The tone generator system according to claim 2, wherein the first tone data among the tone data is transferred in an I2S (Inter-IC Sound Interface) format between the plurality of tone generator cores.

8. A shared memory shared among the plurality of tone generator cores is further provided, 4. The tone generator system according to claim 2, wherein the second tone data of the tone data is transferred between the plurality of tone generator cores via the shared memory.

9. the first musical sound data among the musical sound data is transferred in an I2S (Inter-IC Sound Interface) format between the plurality of tone generator cores; one of the plurality of tone generator cores performs a first effect process and a second effect process on the first musical sound data and the second musical sound data from each of the plurality of tone generator cores, 9. The tone generator system according to claim 8, wherein the first effect processing is a processing that requires a smaller latency in the transfer of the tone data than the second effect processing.

10. 10. The sound source system according to claim 9, wherein said one sound source core includes a phase difference suppression section that suppresses a phase difference between said musical sound data from each of said plurality of sound source cores.

11. The phase control unit supplies a trigger signal to each of the plurality of sound source cores; when the trigger signal is supplied to each of the plurality of tone generator cores, values ​​of operation counters of the tone generator cores are synchronized among the plurality of tone generator cores; The sound source system according to claim 1 or 3, wherein each of the plurality of sound source cores generates the clock based on a value of the operation counter in a synchronized state.

12. a basic operation clock supply unit that supplies a basic operation clock for operating the plurality of tone generator cores; 3. The sound source system according to claim 1, further comprising a supply control unit that controls the supply and stop of the basic operation clock to each of the plurality of sound source cores by the basic operation clock supply unit depending on the processing status of the musical sound data.

13. 13. The sound source system according to claim 1, wherein the plurality of sound source cores are of the same structure.

14. A method for controlling a sound source system having a plurality of sound source cores for processing musical sound data, aligning the phases of clocks that define the input / output timing of the musical sound data to / from the tone generator cores among the plurality of tone generator cores; supplying a trigger signal to each of the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; when the trigger signal is supplied to each of the plurality of tone generator cores, values ​​of operation counters of the tone generator cores are synchronized among the plurality of tone generator cores; Each of the plurality of tone generator cores generates the clock based on the value of the operation counter in a synchronized state. method.

15. A program for controlling a sound source system having a plurality of sound source cores for processing musical sound data, aligning the phases of clocks that define the input / output timing of the musical sound data to / from the tone generator cores among the plurality of tone generator cores; supplying a trigger signal to each of the plurality of tone generator cores so that the tone data with the clock phases aligned is transferred between the plurality of tone generator cores; when the trigger signal is supplied to each of the plurality of tone generator cores, values ​​of operation counters of the tone generator cores are synchronized among the plurality of tone generator cores; Each of the plurality of tone generator cores generates the clock based on the value of the operation counter in a synchronized state. program.

Citation Information

Patent Citations

  • Electronic musical instrument

    JP1992184488A

  • Sound source integrated circuit with built-in effect adding device and sound source device using the same

    JP1993289660A

  • Electronic musical instrument

    JP1995129161A

  • Musical sound generating circuit

    JP1999202864A

  • Waveform data processing apparatus

    JP2004102136A