Apparatus for generating sound through low frequency and noise modulation
FIELD OF THE INVENTION 
     The invention relates to an apparatus for generating sound, and more particularly to an apparatus for generating sound in which sound is generated in accordance with waveform data stored in registers. 
     BACKGROUND OF THE INVENTION 
     In one of conventional apparatuses for generating sound, musical sounds are synthesized by using higher harmonics which are produced in frequency-modulation. One of the frequency-modulation methods is a feedback frequency-modulation method in which a sinusoidal wave produced in a sinusoidal table is fed back with a predetermined feedback ratio, and the sinusoidal wave thus fed back is controlled to have a predetermined phase difference to provide a sinusoidal wave having a predetermined waveform. The synthesized wave thus obtained is further controlled to have a predetermined envelope by an envelope generator. 
     In the conventional apparatus for generating sound, however, there are resulted in following disadvantages. 
     Firstly, it is difficult to generate various kinds of sounds. Especially, it is not easy to generate sounds such as rhythm sound-effects sound or effects sound-vibrato. 
     Secondly, it is difficult to change a waveform of output sound and store data of predetermined waveforms into a register. Further, a construction of the apparatus or software program becomes complicated in a case where a voice signal is produced in addition to an artificial sound produced by waveform data. 
     Thirdly, it is difficult to adjust a depth of modulation in frequency-modulation of output sound 
     Fourthly, it is difficult to generate far and near sound in accordance with simple software program. 
     Fifthly, it is difficult to generate sound of a predetermined waveform, although this is concerned with the second disadvantage. 
     Finally, it is difficult to divide a channel sound into left and right stereo sounds. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is a first object of the invention to provide an apparatus for generating sound in which various kinds of sounds including rhythm sound-effects sound or effects sound-vibrato are generated. 
     It is a second object of the invention to provide an apparatus for generating sound in which a waveform of output sound is changed, data of predetermined waveform is stored into a register, and a voice signal is produced without inviting the complication of a construction or software program by waveform data. 
     It is a third object of the invention to provide an apparatus for generating sound in which a depth of frequency-modulation of output sound can be adjusted. 
     It is a fourth object of the invention to provide an apparatus for generating sound in which far and near sound is generated without inviting the complication of software program. 
     It is a fifth object of the invention to provide an apparatus for generating sound in which sound of a predetermined waveform is generated. 
     It is a sixth object of the invention to provide an apparatus for generating sound in which a channel sound is divided into left and right stereo sound. 
     According to a feature of the invention, an apparatus for generating sound comprises, 
     a plurality of sound generating channels each including means for storing waveform data at predetermined addresses, 
     means for mixing output sounds of said plurality of sound generating channels, and 
     means for controlling said means for storing to be accessed by a predetermined frequency whereby waveform data for generating one of said output sounds are read therefrom, 
     wherein said output sounds are generated in channels selected from said plurality of sound generating channels, and then mixed in said means for mixing to provide mixed sound. 
    
    
     BRIEF DESCRIPTION OF DRAWINGS 
     The invention will be described in more detail in conjunction with appended drawings wherein, 
     FIG. 1 is a block diagram showing an apparatus for generating sound in an embodiment according to the invention, 
     FIG. 2 is an explanatory diagram showing a group of registers in the embodiment, 
     FIGS. 3A and 3B are explanatory diagrams showing relations between a channel selecting register and channels and between addresses and registers in the embodiment 
     FIG. 4 is an explanatory diagram showing a relation between a content of upper two bits of a channel ON/sound volume register and a mode and operation in the embodiment, 
     FIG. 5 is an explanatory diagram showing a waveform register in the embodiment, 
     FIG. 6 is an explanatory diagram showing a pattern of a relation between addresses and waveform data in the waveform register in the embodiment, 
     FIG. 7 is an explanatory diagram showing a data conversion for storing a sinusoidal waveform into the waveform register in the embodiment, 
     FIG. 8 is an explanatory diagram showing a mode of frequency-modulation of output sound in the embodiment, 
     FIG. 9 is an explanatory diagram showing data of addition and subtraction in frequency-modulation in the embodiment, 
     FIGS. 10A, 10B and 10C are explanatory diagrams showing a mode in which addition and subtraction are performed between frequency data of output sound and frequency modulated data in the embodiment, 
     FIG. 11 is a timing chart showing a timing at which data are written into a register. 
    
    
     DESCRIPTION OF PREFERRED EMBODIMENTS 
     In FIG. 1, there is shown an apparatus for generating sound in an embodiment according to the invention in which six sound sources of channels 1 to 6 are provided. The channels 1 to 6 comprise register arrays 1 1  to 1 6 , respectively, each including registers to be described later. The apparatus further comprises a channel selecting register (R0) 2, a main sound volume adjusting register (R1) 3, a low frequency oscillator (LFO) frequency register (R8) 4, and a low frequency oscillator (LFO) control register (R9) 5. Each of the register arrays 1 1  to 1 6  includes a fine frequency adjusting register (R2), a rough frequency adjusting register (R3), a channel ON/sound volume register (R4), a left and right sound volume register (R5), and a waveform register (R6). Even more, the register arrays 1 5  and 1 6  of the channels 5 and 6 further includes a noise enable/noise frequency register (R7). In the channels 1 1  to 1 4 , there are provided waveform generators 6 1  to 6 4  for supplying output sounds to attenuators 7 1  to 7 4  in which the output sounds are converted from digital signal to analog signal, and adjusted to have predetermined sound volumes. On the other hand, one of outputs of a waveform generator 6 5  and a noise generator 8a, and one of outputs of a waveform generator 6 6  and a noise generator 8b are selected to be supplied to attenuators 7 5  and 7 6  in the channels 5 and 6 by selectors 9a and 9b. Outputs of the attenuators 7 1  to 7 6  are divided to be supplied to left and right attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6  in which the outputs are attenuated with predetermined attenuation factors to be mixed separately by left and right sounds. The left and right mixed signals are adjusted in main attenuators 11a and 11b to have predetermined sound volumes, and then passed through buffer amplifiers 12a and 12b to be supplied through output terminals LOUT and ROUT to a following stage. The register arrays 1 1  to 1 6 , the channel selecting register (R0) 2, the main sound volume adjusting register (R1) 3, the low frequency oscillator (LFO) frequency register (R8) 4, and the low frequency control register (R9) 5 are connected through data bus D0 to D7 (eight bits) 13 and address bus A0 to A3 (four bits) 14 to CPU (not shown) thereby receiving address signals and data therefrom. Each register described above is connected to a register control circuit 15 to which a chip selecting signal CS and a writing instruction signal WR0 are applied from the CPU so that data transferred through the data bus 13 from the CPU are written at an address designated by an address signal on the address bus 14 into one of the registers. 
     In FIG. 2, there are shown the aforementioned registers R0 to R9 each being of eight bits which will be explained as follows. 
     (1) channel selecting register (R0) 
     Channel selecting data &#34;ch SEL&#34; are stored in lower three bits. FIG. 3A shows a relation between channel selecting data 0 to 5 (hexadecinormal) and on of the channels 1 to 6 which is selected. For instance, if the channel selecting data are &#34;011&#34; (equal to &#34;3&#34;), the channel 4 &#34;ch 4&#34; is selected. 
     On the other hand, the registers R2 to R7 of the register arrays 1 1  to 1 6  and the other registers R1, R8 and R9 are addressed by the address signal A0 to A3 on the address bus 14. A relation thereof is shown in FIG. 3B. The address signal is one of the values 0 to 9 (hexadecinormal) dependent on a content of A0 to A3. For instance, if the address signal is &#34;2&#34; (0010), the fine frequency adjusting register R2 is selected. 
     (2) main sound volume adjusting register (R1) 
     The left and right attenuators 11a and 11b are controlled to adjust volumes of the left and right mixed sounds by the register (R1). Upper four bits &#34;LMAL&#34; are data for defining attenuation amount of the left attenuator 11a, while lower four bits &#34;RMAL&#34; are that for the right attenuator 11b. When the four bit data is &#34;F&#34;, sound volume is the maximum, and is decreased by approximately 3 dB in a case where a set value of the register (R1) is decreased by &#34;1&#34;. 
     (3) fine frequency adjusting register (R2) 
     Fine frequency adjusting data &#34;FRQ LOW&#34; of eight bits are set. 
     (4) rough frequency adjusting register (R3) 
     Rough frequency adjusting data &#34;FRQ HIGH&#34; of lower four bits are set. Here, data of twelve bits including the data &#34;FRQ LOW&#34; of eight bits as lower data and the data &#34;FRQ HIGH&#34; of four bits as upper data are obtained. If it is assumed that the twelve bit data are &#34;F&#34;, a frequency f 1  of a waveform output is defined in each channel as follows: ##EQU1## 
     In the above equation, &#34;7.16 MHz&#34; is a master frequency which is supplied from the CPU. 
     (5) channel ON/sound volume register (R4) 
     Sound output of each channel and the writing of the waveform register (R6) which will be described later are controlled in accordance with &#34;ch ON&#34; of the MSB, a direct D/A mode which will be described later is controlled in accordance with &#34;DDA&#34; of the second bit, and attenuation amounts of the attenuators 7 1  to 7 6  are controlled in accordance with &#34;AL&#34; of lower five bits 
     FIG. 4 shows the control which is conducted in accordance with a content of the MSB and second bit of the Register (R4). As apparent from the descriptions therein, sound output is supplied from a corresponding channel in a case where the MSB is &#34;1&#34;, while sound output is not supplied therefrom, and data on the data bus 13 are possible to be written into a corresponding waveform register (R6) in a case where the MSB &#34;ch ON&#34; is &#34;0&#34;. Further, an address counter for the waveform register (R6) is reset, and a direct D/A mode is possible to be performed in a case where the second bit &#34;DDA&#34; is &#34;1&#34;. The direct D/A mode is a mode in which data transferred through the data bus 13 from the CPU are passed through a corresponding one of the register arrays 1 1  to 1 6  and supplied directly to a corresponding one of the attenuators 7 1  to 7 6  without being passed through any of the waveform generators 6 1  to 6 6 . In the corresponding attenuator, the data thus transferred are converted from digital signal to analog signal to be supplied through the output terminals LOUT and ROUT to a following stage. 
     The lower five bits &#34;AL&#34; controls attenuation amounts of the attenuators 7 1  to 7 6  such that the maximum output is obtained when &#34;1F&#34; (hexadecinormal) is set therein, and an amplitude of output is decreased by 1.5 dB each time when a set value is decreased by &#34;1&#34;. 
     (6) left and right sound volume register (R5) 
     In each channel, the register (R5) controls a corresponding pair of the attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6  for adjusting left and right dividing sound volumes. Sound volume of left output is decided by upper four bits &#34;LAL&#34;, while that of right output by lower four bits &#34;RAL&#34;. When the &#34;LAL&#34; or &#34;RAL&#34; is &#34;F&#34; (hexadecinormal), the sound volume is the maximum, and is decreased by approximately 3 dB each time when a set value is decreased by &#34;1&#34;. 
     (7) waveform register (R6) 
     The waveform register (R6) is shown in FIG. 5 in which a word is composed of lower five bits for setting waveform data. As shown therein, the register (R6) includes thirty-two addresses &#34;0&#34;, &#34;1&#34;, &#34;2&#34;, ... &#34;1E&#34;, &#34;1F&#34; (hexadecinormal), and thirty-two waveform data corresponding to the addresses and defining one period of a waveform. Therefore, the thirty-two addresses are accessed in an order of address numbers by a predetermined frequency and number so that a sound signal of a predetermined frequency is produced in a corresponding one of the waveform generators 6 1  to 6 6 . 
     In FIG. 6, there is shown a relation between an address (horizontal axis) and an amplitude (vertical axis) in which the amplitude is increased from &#34;0&#34; to &#34;31&#34; by one each time when the address is increased from &#34;0&#34; to &#34;1F&#34; by one. In a case where a waveform register having data as shown in FIG. 6 is accessed in an order of address numbers by a predetermined frequency, a sawtooth wave sound is generated. 
     FIG. 7 shows a data conversion in which a sinusoidal waveform of one period is divided equally by thirty-two addresses so that thirty-two amplitudes corresponding to the thirty-two addresses are expressed by five bit words which are stored into the waveform register (R6). Accordingly, when the waveform register (R6) is addressed in an order of address numbers, a waveform pattern as shown in FIG. 7 is generated in a corresponding one of the waveform generators 6 1  to 6 6 . In a case where sound other than a sinusoidal waveform is generated, a waveform of the sound is observed in a waveform observing apparatus such as a synchroscope thereby being converted in regard to data thereof in the same manner as described in a case of a sinusoidal waveform. 
     The converted data are written into the waveform register (R6) in a following procedure. As explained in the channel ON/sound volume register (R4) in FIG. 4, a mode in which an address of the waveform register (R6) is increased by one each time when data are written thereinto in a case where both the upper two bits of the register (R4) are &#34;0&#34; (&#34;ch ON&#34; is &#34;0&#34;, and &#34;DDA&#34; is &#34;0&#34;). Thus, thirty-two words (thirty-two waveform data) are written into the thirty-two addresses thereof. At this stage, one of the channels 1 to 6 is selected by the channel selecting register (R0) 2, and address data &#34;A0 to A3&#34; of the address bus 14 is controlled to be &#34;6&#34; so that data are transferred through the data bus 13 from CPU to the waveform register (R6). When data are finished to be written thereinto, the upper two bits of the register (R4) are controlled to be &#34;10&#34; (&#34;ch ON&#34; is &#34;1&#34;, and &#34;DDA&#34; is &#34;0&#34;) to provide an output mode. When the starting address of the waveform register (R6) is wanted to be &#34;0&#34; at the moment that data are begun to be written thereinto, the upper two bits of the register (R4) are set to be &#34;00&#34; after the bits are once set to be &#34;01&#34;. Thus, an address counter for the waveform register (R6) is reset to be &#34;0&#34; in accordance with the control of software program. 
     In the aforementioned direct D/A mode, on the other hand, a preparation for generating sound is completed when the upper two bits of the register (R4) are set to be &#34;00&#34;, &#34;00&#34; is written into the waveform register (R6), and the upper two bits of the register (R4) are then set to be &#34;11&#34;. In the circumstance, when data are repeated to be written into the waveform register (R6), sound is generated because data are transferred to a corresponding one of the attenuators 7 1  to 7 6  (D/A converters) at each time of the data writing. In this case, although data are transferred to the waveform register (R6), the data may be considered to be passed therethrough. That is to say, a content of the register (R6) remains unchanged to be maintained therein. By adopting this mode, a voice can be supplied through the apparatus from the CPU to a following stage in place of an artificial sound supplied from the waveform register (R6). 
     (8) noise enable/noise frequency register (R7) 
     A change-over between noise sounds and musical sounds is controlled by the MSB bit &#34;NE&#34;. When the &#34;NE&#34; is &#34;1&#34;, the noise sounds are enabled to cease output of the musical sounds. Noise frequency is controlled by lower five bits. As described before, the noise generators 8a and 8b are provided in the channels 5 and 6. For this reason, the register (R7) is provided only in each of the channels 5 and 6. In the control of noise frequency, clock signal which is supplied to the noise generators 8a and 8b is controlled such that sound is shifted from low frequency to high frequency when a content of the lower five bits is varied from &#34;0&#34; to &#34;1F&#34;. The noise frequency f 2  is defined as follows: ##EQU2## 
     Where &#34;NF&#34; is a content of the lower five bits of the register (R7). The noise sound is a waveform of pseudo random, and output waveform is a rectangle wave which is applied to the generating of rhythm sound-effects sound. 
     (9) low frequency oscillator (LFO) frequency register 
     (R8) 4 
     A low frequency oscillator (LFO) is used for the control of frequency-modulation, and is composed of the register (R8) 4 and a frequency counter for musical sounds in the channel 2. Here, it is defined that the frequency-modulation is a frequency-modulation in which sound of the channel 1 is frequency-modulated by using a waveform data of the channel 2. A frequency f 3  of the low frequency oscillator (LFO) is controlled by the register (R8) 4, and the fine frequency adjusting register (R2) and the rough frequency adjusting register (R3) in the channel 2. Effects sound-vibrato is generated in accordance with the frequency modulation. 
     (10) low frequency oscillator (LFO) control register 
     (R9) 5 
     The register (R9) 5 includes the MSB &#34;LF TRG&#34; and lower two bits &#34;LF CTL&#34;. A low frequency oscillator (LFO) is reset to return to the initial state when &#34;1&#34; is written into the &#34;LF TRG&#34;. At this stage, a content at the address &#34;0&#34; of the waveform register (R6) in the channel 2 is an output which is used as frequency-modulation data, and the frequency-modulation is then stopped. While, the frequency-modulation is started when the &#34;LF TRG&#34; is &#34;0&#34;. That is to say, sound of the channel 1 is frequency-modulated by waveform data of the waveform register (R6) in the channel 2 to generate effects soundvibrato. 
     The lower two bits &#34;LF CTL&#34; controls a modulation degree of the frequency-modulation. FIG. 8 shows a relation between the low frequency oscillator (LFO) and the frequency-modulation. A frequency f 3  of the low frequency oscillator (LFO) which is an address frequency for addressing the waveform register (R6) in the channel 2 is defined as follows: ##EQU3## 
     Where F&#39; is data value (decimal) of twelve bits including eight bit data of the register (R2) in the channel 2 as lower data and four bit data of the register (R3) as upper data, and F&#34; is data value (decimal) of eight bits of the low frequency oscillator (LFO) register (R8) 4. The frequency-modulation of the channel 1 is performed by data of the waveform register R6 which is addressed in the channel 2 by the address frequency f 3 . That is to say, data of the waveform register (R6) in the channel 2 are added to or subtracted from the fine frequency adjusting register (R2) in the channel 1. 
     FIG. 9 shows frequency-modulation data (LFO data) corresponding to waveform data of waveform &#34;0&#34; to &#34;1F&#34; of the waveform register (R6) in the channel 2 whereby addition is performed in a case where the MSB of the waveform data is &#34;1&#34; (the waveform from &#34;10&#34; to &#34;1F&#34;), while subtraction is performed in a case where the MSB of the waveform data is &#34;0&#34; (the waveform &#34;0&#34; to &#34;F&#34;). Sound of the channel 1 is shifted in a direction of low frequency by the addition, and in a direction of high frequency by the subtraction. For instance, when the waveform data of an address which is addressed in the waveform register (R6) of the channel 2 are &#34;11100&#34;, lower four bits &#34;1100&#34; (=C) of the waveform data &#34;11100&#34; are added to four corresponding bits of the fine frequency adjusting register (R2) of the channel 1. 
     FIGS. 10A to 10C show four bits of the fine frequency adjusting register (R2) in the channel 1 to which the aforementioned lower four bits of the waveform data are added. That is to say, four bits of positions decided by a content of the lower two bits &#34;LF CTL&#34; of the low frequency oscillator (LFO) control register (R9) 5 are selected in the fine frequency adjusting register (R2) as follows: 
     (a) &#34;LF CTL&#34;=&#34;0&#34; 
     The low frequency oscillator (LFO) is turned off, and output of normal musical sound is obtained. 
     (b) &#34;LF CTL&#34;=&#34;1&#34; 
     Lower four bits of the waveform register (R6) of the channel 2 are added to or subtracted from lower four bits of the fine frequency adjusting register (R2) of the channel 1 to provide data by which a frequency of sound of the channel 1 is decided a shown in FIG. 10A. 
     (c) &#34;LF CTL&#34;=&#34;2&#34; 
     The lower four bits of the register (R6) of the channel 2 are added to or subtracted from middle four bits of the register (R2) of the channel 1 as shown in FIG. 10B. 
     (d) &#34;LF CTL&#34;=&#34;3&#34; 
     The lower four bit of the register (R6) of the channel 2 are added to or subtracted from upper four bits of the register (R2) of the channel 1 as shown in FIG. 10C. 
     FIG. 11 shows a timing at which data are set in the registers (R0 to R9). Data are set in one of the registers R0, R1, R8 and R9 wherein a chip is enabled in accordance with &#34;0&#34; of CEP0 signal, one of the registers is selected in accordance with the address A0 to A3 of the address bus 14, and data D0 to D7 which are set on the data bus 13 are written thereinto in accordance with &#34;0&#34; of the writing signal WR. On the other hand, data are set in one of the registers R2 to R7 wherein one of the channels 1 to 6 is set in the channel selecting register R0, and the same procedure as described above is thereafter performed to write data into a register in a channel thus selected. 
     Next, operations will be explained in the apparatus for generating sound in the embodiment according to the invention. 
     [OPERATION 1] 
     It is assumed that predetermined data are already written in the registers (R0 to R9). In the circumstance, the whole system in the apparatus is enabled when the chip selecting signal CS0 (=&#34;0&#34;) is applied to the register control circuit 15. When at least one of the channels and those of the registers are selected in accordance with a content of the channel selecting register (R0) and an address A0 to A3 on the address bus 14, the addresses &#34;0&#34; to &#34;1F&#34; of the waveform register (R6) are addressed in accordance with a frequency dependent on contents of the fine frequency adjusting register (R2) and the rough frequency adjusting register (R3) in the channel where the upper two bits of the channel ON/sound volume register (R4) are &#34;10&#34; so that output sound is generated in at least one of the waveform generators 6 1  to 6 6  in which waveform data of the waveform register (R6) are developed. The attenuation amounts of the attenuators 7 1  to 7 6  are set to be predetermined values in accordance with the lower four bits of the channel ON/sound volume register (R4), and the attenuation amounts of the attenuators 10a 1  and 10b 1  to 10a and 10b 6  are set by the left and right (LR) sound volume register (R5). Output sound of each channel is converted from digital signal to analog signal in a corresponding one of the attenuators 7 1  to 7 6 , and are adjusted to be a predetermined sound volume therein. The output sound is divided in each channel to be supplied to a corresponding pair of the attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6 , and the output sounds thus divided are mixed to provide left and right output sounds which are then controlled in the left and right main attenuators 11a and 11b set by the main sound volume adjusting register (R1) thereby providing the left and right output sounds with predetermined main sound volumes. The left and right stereo sounds of the main volumes thus adjusted are passed through the buffer amplifiers 12a and 12b to be supplied through the output terminals LOUT and ROUT to a following stage. 
     In the operation described above, when the MSB of the noise enable noise/frequency register (R7) is &#34;1&#34; in the channels 5 and 6, noise is generated in the noise generator 8a or 8b in accordance with a noise frequency of the lower five bits of the register (R7), and then selected to be supplied to the attenuator 7 5  or 7 6  by the selectors 9a or 9b thereby producing rhythm sound-effects sound. 
     Further, the MSB of the low frequency oscillator (LFO) control register (R9) is changed from &#34;1&#34; to &#34;0&#34;, frequency-modulation of output sound is started in the channel 1 again. At this moment, an address frequency f 3  by which the waveform register (R6) is addressed is decided by a content of the low frequency oscillator (R9) and contents of the fine and rough frequency adjusting registers (R2 and R3). In accordance with the access of the waveform register (R6), lower four bits of the waveform register (R6) are added to or subtracted from selected four bits of the fine frequency adjusting register (R2) in the channel 1 dependent on the &#34;LF CTL&#34; (lower two bits) of the low frequency oscillator (LFO) control register (R9) to result in frequency-modulation of output sound thereby producing effects sound-vibrato. 
     On the other hand, when upper two bits of the channel ON/sound volume register (R4) are &#34;11&#34;, there is realized a direct D/A mode in which voice sound is supplied from the CPU through the data bus 13 to at least a corresponding one of the register arrays 11 to 1 6  each time when the writing signal WR0 is applied to the register control circuit 15 in accordance with the resetting of the address counter for the waveform register (R6) to be transferred through a line which does not pass on a corresponding one of the waveform generators 6 1  to 6 6  to at least a corresponding one of the attenuators 7 1  to 7 6  in which voice sound is converted from digital signal to analog signal, and adjusted to be a predetermined sound volume thereby being supplied through the output terminals LOUT and ROUT in the same manner as described above. This results in the generation of voice sound which is utilized for effects sounds in place of artificial sound. 
     As apparent from the explanations, simultaneous generation of six musical sounds and of four musical sounds and two noise sounds and so on can be performed, although the number of waveform generators and noise generators is not limited to that of the embodiment. 
     [OPERATION 2] 
     An address A0 to A3 of the address bus 14 are controlled to be &#34;0000&#34;, and the channel selecting register (R0) is addressed from the CPU as shown in FIG. 3B. In the circumstance, &#34;0&#34; is written into lower three bits &#34;ch SEL&#34; thereof from the data bus 13 so that the channel 1b is selected as shown in FIG. 3A. Next, the address A0 to A3 are controlled to be &#34;0100&#34;, and the channel ON/sound volume register (R4) is addressed in the channel 1. Under the situation, predetermined data are written into upper two bits &#34;ch ON&#34; and &#34;DDA&#34; of the register (R4) to conduct following operations. 
     (a) &#34;ch ON&#34;=&#34;0&#34;, and &#34;DDA&#34;=0 
     The waveform register (R6) is addressed in accordance with an address &#34;0111&#34; on the address bus 14. The addresses of the waveform register (R6) are serially addressed, when a counted value of the internal address counter is increased by one as shown in FIG. 5, so that waveform data transferred through the data bus 13 ar written thereinto. Such waveform data can be stored in the waveform register (R6) by performing a data conversion of a predetermined waveform as explained before. In this case, the writing of waveform data is started from a non-fixed address dependent on a then-counted value of the internal address counter. 
     (b) &#34;ch ON&#34;=&#34;0&#34;, and &#34;DDA&#34;=1 
     After upper two bits of the register R4 are set as &#34;0&#34; and &#34;1&#34;, the two bits are set to be &#34;0&#34; and &#34;0&#34; so that the address counter for the register R4 is reset to be &#34;0&#34;. Thereafter, data are written thereinto in an order of the addresses &#34;0&#34; to &#34;1F&#34;. Thus, waveform data can be written into the waveform register (R6) in the channel 1. After the upper two bits of the channel ON/sound volume register (R4) are set to be &#34;1&#34; and &#34;0&#34;, respectively, so that output sound of the channel 1 is converted from analog signal to digital signal in the attenuator 7 1  and adjusted to have a predetermined sound volume, and then divided to be supplied to the attenuators 10a 1  and 10b 1  from which left and right output sounds of the channel 1 are supplied to the main attenuators 11a and 11b. 
     On the other hand, &#34;0&#34; (=&#34;ch ON&#34;) and &#34;1&#34; (=&#34;DDA&#34;) are written through the data bus 13 into the upper two bits of the channel ON/sound volume register (R4), and &#34;00&#34; are written into the waveform register (R6) so that the direct D/A mode is demanded. Thereafter, &#34;1&#34; (=&#34;ch ON&#34;) and &#34;1&#34; (=&#34;DDA&#34;) are written into the upper two bits of the register (R4) so that voice sound signals which are transferred through the data bus 13 are repeated to be written into the waveform register (R6), and supplied to the attenuator (D/A converter) 7 1  through a path which does not pass the waveform generator (R6) to provide voice sound output at each time of the writing of the waveform register (R6). In this case, although data are seemingly transferred to the waveform register (R6), a whole content of the waveform register (R6) is held to remain unchanged. 
     Although the operation of the channel 1 is explained above, the same operation is possible to be performed in the other channels 2 to 6 or in a plurality thereof simultaneously. 
     [OPERATION 3] 
     When lower two bits &#34;LF CTL&#34; of the low frequency oscillator control register (R9) are not zero, that is, the bits are one of &#34;1&#34;, &#34;2&#34; and &#34;3&#34;, a low frequency oscillator is turned on to produce a low frequency signal f 3 . The frequency f 3  is calculated in the aforementioned equation, and depends on contents of the fine and rough frequency register (R2 and R3) and on a content of the low frequency oscillator (LFO) frequency register (R8). When &#34;1&#34; is written into the MSB &#34;LF TRG&#34; of the low frequency oscillator (LFO) control register (R9) 5, the low frequency oscillator (LFO) is reset to return to the initial state. At this moment, frequency-modulation is stopped in a state that waveform data at the address &#34;0&#34; of the waveform register (R6) in the channel 2 is read out as frequency-modulation data. In the circumstance, &#34;0&#34; is written into the MSB &#34;LF TRG&#34; of the control register (R9), frequency-modulation is started again with the low frequency signal f 3  by which the waveform register (R6) of the channel 2 is serially addressed from the address &#34;0&#34; to the address &#34;1F&#34;. If the low frequency f 3  is high, an addressing speed is of a high speed, while the addressing speed is low if the low frequency f 3  is low. Waveform data of the waveform register (R6) in the channel 2 are accessed in an order of the addresses &#34;0&#34; to &#34;1F&#34; so that lower four bits of the waveform data are added to or subtracted from selected four bits of the fine frequency adjusting register (R2). At this moment, when the upper bit of the five bit waveform data is &#34;1&#34;, addition is performed, and when the upper bit is &#34;0&#34;, subtraction is performed. Here, when lower two bits &#34;LF OTL&#34; of the low frequency oscillator (LFO) control register (R9) is &#34;01&#34;, addition or subtraction is performed as shown in FIG. 10A, and when the &#34;LF CTL&#34; is &#34;10&#34; and &#34;11&#34; respectively, addition or subtraction is correspondingly performed as shown in FIGS. 10B and 10C. In this case, modulation degree is larger in FIG. 10B than in FIG. 10A, and larger in FIG. 10C than in FIG. 10B. In this manner, when waveform data of the waveform register (R6) in the channel 2 are added to a content of the fine frequency adjusting register (R2) in the channel 1, output sound of the channel 1 is frequency-modulated by the result of the addition or subtraction and a content of the rough frequency adjusting register (R3) thereby producing output sound of effects sound-vibrato in the channel 1. 
     [OPERATION 4] 
     A mixing mode is set when &#34;10&#34; are set into upper two bits &#34;ch ON&#34; and &#34;DDA&#34; of the channel ON/sound volume register (R4) in each of the channel 1 to 6 where the waveform register (R6) is addressed with a frequency decided by the frequency adjusting registers (R2 and R3) so that output sound is generated in each of the waveform generators 1 1  to 1 6  of the channels 1 to 6. The output sound is converted from digital signal to analog signal and adjusted to be a predetermined sound volume decided by lower five bits &#34;AL&#34; of the channel ON/sound volume register (R4) in each of the attenuators 7 1  to 7 6 . The output sound of the predetermined sound volume is than divided to be supplied to each left and right pair of the attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6  in which the output sound is adjusted to be predetermined levels in accordance with contents of upper four bits &#34;LAL&#34; and lower four bits &#34; RAL&#34; of the left and right sound volume register (R5). Therefore, left output sounds of the attenuators 10a 1  to 10a 6  and right output sounds of the attenuators 10b 1  to 10b 6  are separately mixed with each other to be supplied to the left and right main attenuators 11a and 11b in which the whole left and right sounds are adjusted in regard to sound volume to be supplied through the buffer amplifiers 12a and 12b to the output terminals LOUT and ROUT. As a result, the left and right sound outputs of predetermined sound volumes are obtained at the output terminals LOUT and ROUT. The attenuation amounts of the left and right main attenuators 11a and 11b are decided by the upper four bits &#34;LMAL&#34; and the lower four bits &#34;RMAL&#34; of the main sound volume register (R1). Accordingly, when it is assumed that the maximum sound volume is &#34;F&#34; (hexadecinormal), far and near sounds are generated in accordance with contents of the &#34;LMAL&#34; and &#34;RMAL&#34;. 
     [OPERATION 5] 
     Upper two bits &#34;ch ON&#34; and &#34;DDA&#34; of the channel ON/sound volume register (R4) are set as &#34;10&#34; in a corresponding channel so that a mixing mode is set to address the waveform register (R6) with a frequency decided by the fine and rough frequency adjusting registers (R2 and R3). As shown in FIG. 5, waveform data are stored at the addresses &#34;0&#34; to &#34;1F&#34; of the waveform register (R6) so that waveform data are developed in an order of addresses at each time when a counted value of the address counter for counting address frequency is increased by one thereby producing waveform in a corresponding one of the waveform generators 6 1  to 6 6 . In the corresponding channel, output sound is generated by repeating the addressing of the waveform register (R6) in a period of a waveform thus produced. Waveform of each channel is converted from digital signal to analog signal and adjusted to be a predetermined sound volume in each of the attenuators 7 1  to 7 6 , and divided to be supplied to each pair of the left and right attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6  in which left and right sounds are separately adjusted to be predetermined sound volumes. The left sounds of the channels are mixed to be supplied to the left main attenuator 11a, and the right sounds of the channels are mixed to be supplied to the right main attenuator 11b. The left and right sounds thus mixed are adjusted therein to be predetermined sound volumes and supplied through the buffer amplifiers 12a and 12b to the output terminals LOUT and ROUT. 
     The sound volume adjustment of the respective attenuators is performed in accordance with contents of the main sound volume adjusting register (R1), the channel ON/sound volume register (R4), and the left and right sound volume register (R5). As described before, output sound volume is changed by 3 dB when contents of the register (R1 and R5) are changed by one, and the former is changed by 1.5 dB when the latter is changed by one. 
     Here, it is assumed that contents of the registers are as follows: 
     (a) main sound volume adjusting register (R1) 
     &#34;LMAL&#34; is &#34;C&#34; (hexadecinormal) 
     &#34;RMAL&#34; is &#34;8&#34; (hexadecinormal) 
     (b) channel ON/sound volume register (R4) 
     upper four bits of &#34;AL&#34; are &#34;E&#34; (hexadecinormal) 
     sound volume is controlled in accordance with lower one bit of &#34;AL&#34; by 1.5 dB . 
     (c) left and right sound volume register (R5) 
     &#34;LAL&#34; is &#34;F&#34; (hexadecinormal) 
     &#34;RAL&#34; is &#34;8&#34; (hexadecinormal) 
     In accordance with the above assumptions, an attenuation value of the left output value will be calculated as follows because the maximum sound value is &#34;F&#34;. 
     
         (F-C)+(F-E)+(F-F)=4 
    
     
         4×3 dB=12 dB 
    
     Accordingly, a level down of 12 dB is resulted. 
     On the other hand, an attenuation value of the right output value will be calculated as follows: 
     
         (F-8)+(F-E)+(F-8)=15 
    
     
         15×3 dB=45 dB 
    
     Accordingly, a level down of 45 dB is resulted. Here, if it is assumed that a dynamic range is 45 dB in a circuit, no output sound is obtained at the right output terminal ROUT. 
     Further, the main sound volume adjusting register (R1) can be used for fade in and fade out of a whole sound and for a left to right shift of the whole sound, while the channel ON/sound volume register (R4) can be used for an output level adjustment of a channel sound, and the left and right sound volume register (R5) can be used for a left and right distribution of a channel sound and for an output level adjustment of the channel sound. 
     [OPERATION 6] 
     The channel selecting register (R0) is addressed in accordance with an address signal &#34;0&#34; (A0 to A3) on the address bus 14 so that data for selecting one of the channels 1 to 6 are set into lower three bits thereof. If the data are &#34;0&#34;, the channel 1 is selected. Next, the left and right sound volume register (R5) is addressed by address data &#34;5&#34; (A0 to A3) so that sound volume adjusting data are set into upper and lower four bits &#34;LAL&#34; and &#34;RAL&#34; respectively. Thus, sound volume adjusting levels are set into the left and right attenuators 10a 1  and 10b 1  to 10a 6  and 10b 6  of the channel 1 to 6. When upper two bits &#34;ch ON&#34; and &#34;DDA&#34; of the channel ON/sound volume register (R4) are set to be &#34;10&#34; in each channel, a mixing mode is set to address the waveform register (R6) with an address frequency decided by the frequency registers (R2 and R3). In accordance with the addressing of the waveform register (R6), waveform data are developed in the waveform generators 6 1  to 6 6  to produce output sounds which are converted from digital signals to analog signals and adjusted to be predetermined sound volumes in the attenuators 7 1  to 7 6 . The output sounds of the attenuators 7 1  to 7 6  are divided to be supplied to the left and right attenuators 10a 1  and 10b 1  to 10a 6  to 10b 6  in which predetermined attenuation amounts decided by the left and right sound volume register (R5) are given to output sounds of the channels. Thereafter, output sounds are supplied through the output terminals LOUT and ROUT to a following stage in the same manner as described before, although repeated explanations ar omitted here. 
     Although the invention has been described with respect to specific embodiment for complete and clear disclosure, the appended claims are not to thus limited but are to be construed as embodying all modification and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.