void CloudsVisualSystemMemory::selfSetup() { generate(); // sound fMainGain = 0; mainGain.value(0); synth.setOutputGen(buildSynth() * mainGain); }
// selfSetup is called when the visual system is first instantiated // This will be called during a "loading" screen, so any big images or // geometry should be loaded here void CloudsVisualSystemConnectors::selfSetup(){ gain = 0; tonicSamples.push_back(TonicSample("WindChimes1.mp3")); generator.setup(); // generator.setBounds(ofVec3f(-500,-500,-500), ofVec3f(500,500,500), 5); // sound #ifdef TONIC_SOUNDS synth.setOutputGen(buildSynth()); #endif }