Claims
- 1. A digital signal processor for adding harmonic content to a stream of digital input values representing an arbitrary input audio signal to produce a stream of digital output values representing an output audio signal, comprising:
- a priority encoder for determining a priority value based on a magnitude of one of said digital input values, said priority value being inversely related to a bit number representing the first bit from the left which differs in polarity from a sign bit;
- a bit shifter for bit shifting said digital input value by an amount of bits dependent on said priority value to produce a digital output value, whereby said stream of output values has increased harmonic content relative to said stream of input values; and
- a translation offset adder for adding a number to said digital output values, said number determined by said priority value.
- 2. The processor of claim 1 further including a scale factor multiplier for multiplying said digital output value by a factor determined by said priority value.
- 3. The processor of claim 1 further including a wave modulator, said wave modulator generating a wave value dependent on said output value.
- 4. The processor of claim 3 wherein said wave modulator is a lookup table.
- 5. The processor of claim 1 wherein said bit shifter is a barrel shifter.
- 6. A digital signal processor for adding harmonic content to a stream of digital input values representing an arbitrary input audio signal to produce a stream of digital output values representing an output audio signal, comprising:
- a priority encoder for determining a priority value based on a magnitude of one of said digital input values, said priority value being inversely related to a bit number representing the first bit from the left which differs in polarity from a sign bit; and
- a bit shifter for bit shifting said digital input value by an amount of bits dependent on said priority value to produce a digital output value, whereby said stream of output values has increased harmonic content relative to said stream of input values.
- 7. A method for generating entries of a lookup table of a digital signal processor for adding harmonic content to a stream of digital input values representing an arbitrary input audio signal to produce a stream of digital output values, said input values having a range of values from a negative integer to a positive integer, comprising the steps of:
- determining a priority value equal to a constant minus a bit number representing the first bit from the left which differs in polarity from a sign bit from said negative integer to said positive integer, and
- bit shifting each integer from said negative integer to said positive integer by an amount of bits equal to said priority value to produce a set of table values for said lookup table.
- 8. The method of claim 7 wherein said amount of bits is equal to said priority value.
- 9. The method of claim 7 wherein said lookup table has discontinuities.
Parent Case Info
This is a continuation of application No. 08/544,862, filed Oct. 18, 1995, now abandoned, which is a continuation of application No. 07/905,559, filed Jun. 29, 1992, now U.S. Pat. No. 5,524,074, issued Jun. 4, 1996.
US Referenced Citations (4)
Non-Patent Literature Citations (2)
Entry |
TTL Devices, Texas Instruments, specification pp. 3-555--3-556. |
Digital Wave-Shaping Synthesis, Marc Le Brun, Journal of the Audio Engineering Society, Apr. 1979, vol. 27, No. 4. |
Continuations (2)
|
Number |
Date |
Country |
Parent |
544862 |
Oct 1995 |
|
Parent |
905559 |
Jun 1992 |
|