So I tried your solution, I set "slew(true);", but I can still hear some noise, it's very low volume though so I have to pay attention to hear it, it's already an improvement. I compared it again...
Type: Posts; User: ghostintranslation
So I tried your solution, I set "slew(true);", but I can still hear some noise, it's very low volume though so I have to pay attention to hear it, it's already an improvement. I compared it again...
I will try it later today :)
You can get the code here: https://github.com/ghostintranslation/drone , if you look into Voice.h there is the GUI design of one voice, and then this synth has 4...
I haven't tried your version yet but I intend to.
In the meantime here is a video of the synth I had the gain issue with, the Mix parameter does a "spiral motion" to mix the 4 voices in little by...
I see, I guess if that were to be added to the library that could be the right implementation. In my case my simple "multiplier += (smoothness * (multiplierTarget - multiplier)) / 1000;" seems to do...
Indeed, I did a little something starting from the mixer object, might need some tweaking but it works, no more noise and adjustable slew:
#ifndef audiosmoothamplifer_h_
#define...
So first with this code:
#include <Audio.h>
AudioOutputI2S i2s2;
AudioSynthWaveformSine sine; //xy=243,108
AudioConnection patchCord3(sine, 0, i2s2, 0);
AudioConnection...
Yes well beyond what a pot do if it is directly linked to that setting, but I do smoothing on it to avoid noise and hearable steps. I read the pots every so many ms to set a "value target" and then...
Ah I will definitely try that!
Well I would like to be able to do a change from 0 to 1 of the gain in no more than 1 second and smooth enough that it doesn't feel steppy.
In my example...
I see,
An object for a gain slew could be a solution, that sounds a little out of my capabilities though but I can have a look.
and there is no way to boost the Audio processing so it updates...
So it depends on the step increment and the frequency of increment.
For exemple with an increment of 0.0001 I need to increment a step every 1ms to stop hearing it, which means it takes 10s to go...
You mean the extreme click would also be happening at much lower intensity when going from 0.01 to 0.02, but doing it fast enough would then generate this frequency?
That could be...
I...
I just tried something and that changes a little bit what I thought. I removed the amp and I'm varying the amplitude of the sine instead. That generates the same noise:
#include <Audio.h>
...
Here is a recording of what I hear when varying the amp gain value constantly:
24530
Hi,
I'm using Teensy 4.0 with the audio adapter.
I was working on a synth when I started to notice that varying the gain value of an amp object with a potentiometer was generating a side high...