Method and system for selectively and variably attenuating audio data
AssigneeInternational Business Machines Corporation
InventorsGeorge Kokkosoulis, Daniel Anthony Temple
Life of this patent
Estimating the term…
Abstract
A method and system for selectively and variably attenuating audio data are disclosed. A high-volume control value as selected by a user is first received, and this high-volume control value defines a volume output level for high amplitude audio samples. An attenuation factor is then determined by utilizing the high-volume control value. Each sample from an incoming audio data stream is conditionally attenuated with the attenuation factor such that high amplitude audio data get compressed while low amplitude audio data remain unaffected. Finally, the attenuated samples are sent to an output.
Claims9
A method for selectively and variably attenuating audio data, said method comprising the steps of:
- receiving a high-volume output control value as selected by a user, wherein said high-volume output control value defines a volume output level for high amplitude audio samples;
- determining an attenuation factor utilizing said high-volume output control value by calculating y max = 10 D - A 20 n = x max x max - y max L = x max - y max x max n
- wherein A is said high-volume output control value in decibels, D is the maximum decibel range, xmax represents the maximum absolute input sample amplitude, ymax represents the maximum absolute output decimal sample amplitude, L is a coefficient, and n is said attenuation factor;
- attenuating each sample from an incoming audio data stream with said attenuation factor;
- and
- outputting said attenuated samples.
An audio system capable of selectively and variably attenuating audio data, comprising:
- means for receiving a high-volume output control value as selected by a user, wherein said high-volume output control value defines a volume output level for high amplitude audio samples;
- means for determining an attenuation factor utilizing said high-volume output control value by calculating y max = 10 D - A 20 n = x max x max - y max L = x max - y max x max n
- wherein A is said high-volume output control value in decibels, D is the maximum decibel range, xmax represents the maximum absolute input sample amplitude, ymax represents the maximum absolute output decimal sample amplitude, L is a coefficient, and n is said attenuation factor;
- means for attenuating each sample from an incoming audio data stream with said attenuation factor;
- and
- means for outputting said attenuated samples.
A computer program product residing on a computer usable medium for selectively and variably attenuating audio data, said computer program product comprising:
- program code means for receiving a high-volume output control value as selected by a user, wherein said high-volume output control value defines a volume output level for high amplitude audio samples;
- program code means for determining an attenuation factor utilizing said high-volume output control value by calculating y max = 10 D - A 20 n = x max x max - y max L = x max - y max x max n
- wherein A is said high-volume output control value in decibels, D is the maximum decibel range, xmax represents the maximum absolute input sample amplitude, ymax represents the maximum absolute output decimal sample amplitude, L is a coefficient, and n is said attenuation factor;
- program code means for attenuating each sample from an incoming audio data stream with said attenuation factor;
- and
- program code means for outputting said attenuated samples.
Dependencies are inferred from the claim text.