Esempio n. 1
0
void zoneManager::onReact(ofPtr<zone> z) {

    z->setIsFired(true);
    z->react();
    z->setChanged(CLAMOUR_ON_OFF); //still needed ?
    scMessenger::startSynth(z->getName(), *z, z->getSoundData());
    implementReactions(z, true);

}
Esempio n. 2
0
void zoneManager::offReact(ofPtr<zone> z) {

    z->setIsFired(false);

    if(z->getEnvType() == CLAMOUR_ASR){
        scMessenger::stopSynth(z->getName(), z->getSoundData());
        z->setChanged(CLAMOUR_ON_OFF); // is this still needed
    }
    implementReactions(z, false);

}