Two-channel programmable sound generator with volume control
First Claim
1. A multi-channel programmable sound generator, comprising:
- (a) at least a first channel for generating at least a digital output serving as a tone signal;
(b) at least a second channel for generating at least a digital output selectively switchable between a tone signal and a noise signal;
(c) clock means for generating clock signals for timing control of said first channel and said second channel;
(d) a mixer for mixing the output of said first channel and the output of said second channel in a time-multiplexing manner to produce a mixed signal; and
(e) a volume controller, taking the mixed signal and a software-specified control signal as inputs, for generating a pulse train having a pulse width varied in accordance with the software-specified control signal.
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a programmable sound generator for generating digital outputs of tone and noise signals used for producing computer sound effects. The programmable sound generator includes at least two channels generating digital output serving as either tone signal or noise signal. A mixer is used to process the outputs of the channels in a digital, time-sharing manner. A volume controller coupled to the mixer is used to control the volume of the sound in a digital pulse width modulation (PWM) manner. Also, the volume controller allows its output to become floating when the programmable sound generator is not in use so as to allow another sound generating means to share the same sound transducing means. In the programmable sound generator, the tone generation and the noise generation share the same hardware, which allows low-cost production of the programmable sound generator.
30 Citations
27 Claims
-
1. A multi-channel programmable sound generator, comprising:
-
(a) at least a first channel for generating at least a digital output serving as a tone signal; (b) at least a second channel for generating at least a digital output selectively switchable between a tone signal and a noise signal; (c) clock means for generating clock signals for timing control of said first channel and said second channel; (d) a mixer for mixing the output of said first channel and the output of said second channel in a time-multiplexing manner to produce a mixed signal; and (e) a volume controller, taking the mixed signal and a software-specified control signal as inputs, for generating a pulse train having a pulse width varied in accordance with the software-specified control signal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A multi-channel programmable sound generator, comprising:
-
(a) at least a first channel for generating at least a digital output serving as a tone signal; (b) at least a second channel for generating at least a digital output selectively switchable between a tone signal and a noise signal; (c) clock means for generating clock signals for timing control of said first channel and said second channel; (d) a first volume controller, taking the digital output of said first channel and a first software-specified control signal as inputs, for generating a pulse train as output having a first pulse width varied in accordance with the software-specified control signal; (e) a second volume controller, taking the digital output of said second channel and a second software-specified control signal as inputs, for generating a second pulse train as output having a pulse width varied in accordance with the software-specified control signal; and (f) a mixer for mixing the output of said first volume controller and the output of said second volume controller as output in a time-multiplexing manner. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A multi-channel programmable sound generator having just digital output without analog output, comprising:
-
(a) at least a first channel for generating at least a digital output selectively switchable between a tone signal and a noise signal; (b) at least a second channel for generating at least a digital output selectively switchable between a tone signal and a noise signal; (c) clock means for generating clock signals for timing control of said first channel and said second channel; (d) mixer means for mixing the output of said first channel and the output of said second channel in a time-multiplexing manner to produce a mixed signal; and (e) PWM volume control means, including (i) a software-specified control signal having a number of bits with a value corresponding to desired volume; (ii) PWM pulse generating means, under control by the sound volume control signal, for generating a pulse train having a pulse width varied in accordance with the software-specified control signal; and (iii) logic means, receiving the pulse train, for applying pulse width modulation to the mixed signal from said mixer means under control by the pulse train. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A programmable sound generator for generating a digital output selectively switchable between a tone signal and a noise signal, comprising:
-
(a) an N-stage LFSR for generating a digital output serving as an N-bit tone signal; (b) an M-stage LFSR, cooperating with said N-stage LFSR, for generating a digital output serving as an (N+M)-bit noise signal; (c) first multiplexing means, for selecting either an XOR output signal from said M-stage LFSR or the output bit from the last stage of said M-stage LFSR as output which is subsequently fed to said N-stage LFSR, said M-stage LFSR being combined with said N-stage LFSR into an (N+M) stage LFSR when the output bit from the last stage of said M-stage LFSR as output; (d) second multiplexing means, working in synchronism with said first multiplexer means, for selecting between an (N-1)-input NOR gate and an (N+M-1)-input NOR gate. (e) a T-type flip-flop for performing duty-cycle modulation on output of said (N-1)-input NOR gate subsequently delayed by a D-type flip-flop into 50% duty-cycle signal serving as the digital output of said programmable sound generator; and (f) third multiplexer means, working in synchronism with said first multiplexer means and said second multiplexer means, for selecting the tone signal or the noise signal as output of said second channel.
-
-
27. A method of generating multi-channel digital sounds, comprising the following steps of:
-
(1) generating a first digital sound signal serving as a first tone signal; (2) generating a second digital sound signal selectively switchable between a second tone signal and a second noise signal; (3) generating clock signals for timing control of the generation of the first digital sound signal and the second digital sound signal; (4) mixing the first digital sound signal and the second digital sound signal in a time-multiplexing manner to produce a mixed signal; (5) controlling the volume of the mixed signal by generating a pulse train having a pulse width varied in accordance with a software-specified control signal; and (6) directing the pulse train to a digital sound transducer so as to produce audible sound.
-
Specification