System and method for generating and attenuating digital tones

Music – Instruments – Electrical musical tone generation

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06677513

ABSTRACT:

FIELD OF THE INVENTION
This invention relates to the generation and attenuation of digital signals for input to a digital to analog converter to produce an audible tone. More specifically, it relates to use of a digital signal processor (DSP) to generate pulse coded modulation (PCM) values representing a set of predefined tones in a memory space and processing cycles efficient manner.
BACKGROUND OF THE INVENTION
A tone is a pure sine wave. Pulse coded modulation (PCM) data is a digital representation of an analog signal, such as a sine wave, at fixed time intervals.
Digital signal processors (DSPs) may be used to generate tones. This they do by generating electrical signals which are input to a digital to analog converter (DAC) to produce an analog electrical signal that will cause one of a set of tones to be produced with an appropriate audio amplifier and speaker. These processors usually have limited function, providing only fixed point operations and multiply, but not divide.
If a tone stops at a non-zero value, or the tone goes to zero at a high rate, or the sine is distorted by being attenuated at an increasing rate, the resulting sound will contain “clicks”, “pops”, or “thuds”. Since tone duration may be short (say, 0.1 seconds) and there may only be between 16,000 and 48,000 samples per second, the whole tone may contain only 1600 samples. Attenuation should be complete in about ten percent of these samples, and the solution should use little code and little memory.
For short tones the attenuation duration must also be short. As the duration of a sine or of a few sine oscillations approach the period of the attenuation duration, noiseless attenuation becomes difficult. Some distortion must be expected. For instance, a sine wave cannot be changed during a half wave and still be a pure sine wave.
Synchronization of digital video and digital audio data streams is a requirement of the art. Because digital video data is typically compressed on picture frames, and audio is typically compressed on frames of a fixed number of samples, synchronization following a discontinuity in the audio program has heretofore required that a certain frame boundary be identified as a sync point. There is, therefore, a need in the art for an improved method which avoids the need to re-synchronize video and audio data by allowing decode of the audio program to continue. In accordance with the present invention, this is accomplished by substituting a digital tone value for the audio program output value. This digital tone generation is an additional processing load on the DSP and it is desirable to minimize this load.
It is, therefore, an object of the invention to generate short tones with rapid attenuation while avoiding objectionable noise.
It is a further object of the invention to operate a digital signal processor in a memory space and processing cycles efficient manner to generate and attenuate tones.
It is a further object of the invention to attenuate a tone without creating, or at least minimizing, additional sounds or artifacts at the end of the tone, such as “clicks”, “pops”, or “thuds”.
It is a further object of the invention to produce a large number of tones and tone durations across and beyond the entire audio range.
It is a further object of the invention to produce a sine wave of highly accurate frequency.
It is a further objective of the invention to replace a segment of a playing audio stream with a tone of the same sampling frequency as the audio stream in order to maintain synchronization between audio and video data.
SUMMARY OF THE INVENTION
In accordance with the method of the invention, an audible tone is generated and attenuated over a wide frequency range, such as throughout and beyond the human audible range, the tone selectively being of short duration, including the steps of generating during a tone period a digital representation of the sine of a requested tone frequency and amplitude; generating during an attenuation period a digital representation of a moderately disturbed but continuous sine of decreasing amplitude; and generating during a decay period a digital representation of a continuous function which decays to zero from the zero approach point of the sine half wave.
In accordance with a further aspect of the method of the invention, the method includes during the attenuation period the steps of multiplying the amplitude value by a fractional constant at zero crossings; incrementing within zero passing zones the amplitude between subsequent samples by reduced values to further attenuate the tone and accumulate a “bank” of accumulated reductions in increments; and while approaching zero crossings the steps of generating a pure sine wave of maximum amplitude equal to the amplitude at the end of the prior quadrant; and during a decay period, the step of generating a digital representation, of a continuous function which decays exponentially to zero amplitude.
In accordance with the system of the invention, a digital signal processor is provided for generating and attenuating an audible tone over a wide frequency range, such as throughout and beyond the human audible range, the tone selectively being of short duration. Responsive to a request to generate a tone of a specified tone and sampling index, tone request logic determines an increment angle. Responsive to said increment angle and a periodic sampling interrupt, sample generation logic generates during a tone period a digital representation of the sine of a requested tone frequency and amplitude; generates during an attenuation period a digital representation of a moderately disturbed but continuous sine of decreasing amplitude; and generates during a decay period a digital representation of a continuous function which decays to zero from the zero approach point of the sine half wave.


REFERENCES:
patent: 4015220 (1977-03-01), Kaufman
patent: 4056692 (1977-11-01), Place
patent: 4061886 (1977-12-01), Callahan, Jr. et al.
patent: 4150599 (1979-04-01), Southard
patent: 4392406 (1983-07-01), Fritz
patent: 4399535 (1983-08-01), Southard
patent: 4483229 (1984-11-01), Tsukamoto et al.
patent: 4561337 (1985-12-01), Wachi
patent: 4577287 (1986-03-01), Chrin
patent: 4599583 (1986-07-01), Shimozono et al.
patent: 4761751 (1988-08-01), Canniff
patent: 4815352 (1989-03-01), Tsukamoto et al.
patent: 4839842 (1989-06-01), Pyi et al.
patent: 4888719 (1989-12-01), Yassa
patent: 4998281 (1991-03-01), Sakata
patent: 5146418 (1992-09-01), Lind
patent: 5243124 (1993-09-01), Kondratiuk et al.
patent: 5325422 (1994-06-01), Ladd
patent: 5338891 (1994-08-01), Masubichi et al.
patent: 5418734 (1995-05-01), Kawamura et al.
patent: 5418782 (1995-05-01), Wasilewski
patent: 5457701 (1995-10-01), Wasilewski et al.
patent: 5524087 (1996-06-01), Kawamura et al.
patent: 5689080 (1997-11-01), Gulick

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System and method for generating and attenuating digital tones does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for generating and attenuating digital tones, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for generating and attenuating digital tones will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3216604

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.