This distortion plugin is modeled after the Boss DS-1. You can install it from the BETA store.
Another implementation of this pedal is already in the store. This implementation sounds a bit different though.
5 Likes
Hi,Dave
I have checked your DS1 code, and I want to know why it is necessary to x 2.05 before clipping and x 0.302344 after clipping, is it to match the voltage value of the sampling point signal and clipping point?
In addition, I am trying to write code for the MOD, and I want to know if there is a corresponding sample value with a corresponding voltage value in the circuit modeling?
pub fn process(&mut self, input: f32) -> f32 {
let filtered = self.lowpass_filter.process(input);
let upsampled = self.upsample_fir.upsample(filtered * 2.05);
let clipped = Self::clip(upsampled);
self.downsample_fir.downsample(clipped) * 0.302344 // 0.604688 * 0.5
}