Hey Jules,
Was wondering if you would be interested in extending the functionality of AudioSampleBuffer to reduce a bit of repetition? Here are some ideas:
/** Applies a gain multiple to all of the channels in their entirety */
void applyGain (float gain) noexcept
{
applyGain (0, size, gain);
}
/** Applies a range of gains to all the channels, from their start to end*/
void applyGainRamp (float startGain, float endGain) noexcept
{
applyGainRamp (0, size, startGain, endGain);
}
