Buffer audible levels / normalisation


#1

Hi all!
I am new with JUCE and have been trying to transfer a MATLAB physical model to a prototype audio plugin. I have managed to overcome some first technical issues but now my problem is the scale of the values into the audio buffer. Even in MATLAB, the first output attack samples are as small as ~1e-10 and then the sustain values reach up to ~1e-05 but there, it is easy to normalise the whole output vector after the total processing (or even just listen to the output with the soundsc command without normalising). With JUCE the only possible “solution” I have thought of is scaling every sample by an arbitrary constant factor but this does not produce any audible results either. Has anyone else faced any similar problems or maybe has something to suggest
Thanks :slight_smile: