JUCECmakeRepoPrototype icon indicating copy to clipboard operation
JUCECmakeRepoPrototype copied to clipboard

Running project PluginWithCustomModule_Standalone plays painful white noise by default

Open rosshoyt opened this issue 2 years ago • 3 comments

After cloning this repo and setting up a CLion project using the root CMakeLists.txt, I built and ran the PluginWithCustomModule_Standalone | Debug configuration. Once running, the application blasted white noise out of my speakers. This were the audio output settings by default:

default-audio-output

My speakers were not on too loud at the time, but wanted to give you a heads up. I'd imagine other users might experience the same thing. I can look into a fix for this but don't have time until next week.

Regardless, thank you for these helpful CMake examples!

rosshoyt avatar Aug 20 '22 00:08 rosshoyt

~~Sounds like a juce::AudioBuffer hasn't has been allocated without being cleared.~~

That is the code in that project, this is the expected behaviour, I guess!

jamierpond avatar Aug 20 '22 00:08 jamierpond

Yes, this is intentional. That project just plays white noise from a code in a shared module.

If you feel this is too loud, however, I can certainly make it softer!

eyalamirmusic avatar Aug 20 '22 07:08 eyalamirmusic

@eyalamirmusic that might be a good idea! When I first ran the project, my speakers weren't on too loud yet it was still jarring when the sound started and I had to scramble to turn down speakers.

rosshoyt avatar Aug 20 '22 19:08 rosshoyt