Hey guys! I just started JUCE for a few days, I got some C++ coding experience but I am totally new to the JUCE framework. I got some questions that I can’t quite figure out!
Here is my project idea, I want to build some thing like a compressor, but not quite. I want my plugin to first look at the max volume level of my audio file. After getting the max volume level, when I play the track with this plugin on, I want the plugin to scale every sample of that track to the same volume level as the max level. So, when I play this track, no matter when, I am going to hear the same volume constantly.
So I guess this is my question:
I do not know how to read the level of a sample from an audio. Is there a function for this?
How does this VST plugin get the max level of this audio before playing through it, and use that level as the max to scale every other samples in the audio?
Maybe some suggestions on this project?
Again, I am very new to JUCE, and I am also kinda new to this audio engineering. I don’t even know if I am using the right terminologies (volume, level, etc…), so bare with me if I asked something stupid or tell me if I am not clear enough