[linux-audio-dev] gain curves, interpolation, etc.

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] gain curves, interpolation, etc.
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: Wed Nov 29 2000 - 00:34:18 EET


i'm looking for ideas on efficient ways of representing a gain curve
so that it can be applied to audio data and modified.

originally, i thought i could use a break-point style structure, but
i'm not convinced this makes a lot of sense or is even computationally
feasible.

basically, i want to attach the gain curve object to a data structure
that represents a contiguous section of audio data, and apply the
curve to the data as it is is read (i.e. multiply them). extreme
efficiency is called for here. interpolating each and every frame's
gain value will not work.

another approach i considered was to store the actual gain values
one-or-one in a data buffer parallel to the one that holds the audio
data. but this doubles the data storage requirements for any sections
of audio with non-unity gain, and my sense that this is too great a
burden to pay.

any ideas ?


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Nov 29 2000 - 01:21:58 EET