<commit_before>

#pragma once 

#include "ofMain.h"
#include "baseScene.h"
#include "ofxGui.h"
#include "appConstants.h"
#include "typographyManager.hpp"

#ifdef USE_MIDI_PARAM_SYNC
#include "ofxParameterMidiSync.h"
#endif

#ifdef USE_EXTERNAL_SOUNDS
#include "ofxOsc.h"
#endif

#ifdef USE_SCENE_TRANSITIONS
#include "ofxTween.h"
#endif

#define FADE_DELAY_MIN 1.4
#define FADE_DELAY_MAX 1.67

#define SCENE_PRE_TRANSITION_FADE   0.4
//#define SCENE_PRE_TRANSITION_SOUND 0.32
#define SCENE_PRE_TRANSITION_CURSOR 0.5

// I take care of scenes.

class sceneManager {

private:

	void nextScene(bool forward);
    
public:
    
    ~sceneManager();
    vector < baseScene * > scenes;
    int currentScene;
    
    void setup();
    void update();
    void draw();
    void drawType();
    
    void advanceScene();
    void regressScene();
    void screenGrab();
    
    float motion, frameBrightness;
    ofPoint centroid, lastCentroid;
    ofPixels lastFrame, currFrame;
  //void computeMotion(ofFbo &fbo);
    
    void startScene(int whichScene);
  
    ofFbo transitionFbo;
    ofFbo sceneFbo;
  //ofFbo dimmedSceneFbo;
    ofFbo codeFbo;
  //ofShader dimmerShader;
    ofxPanel * panel;
    
    ofParameter<float> codeEnergyDecayRate, codeEnergyPerFrame;
    ofxPanel codeControls;
    
    //----------------------------------------
    // sound
    
    ofSoundPlayer sceneChangeSound;
    ofSoundPlayer cursorBlinkSound;
    ofSoundPlayer animationStartSound;
    ofSoundPlayer parameterChangeSound;
    bool hasTriggeredCursorSound;
    bool hasTriggeredSceneChangeSound;
    
    void loadSounds();
    

    ofTrueTypeFont font;<commit_msg>Commenting out other declarations in sceneManager.h releated to the "dimmer"<commit_after>

#pragma once 

#include "ofMain.h"
#include "baseScene.h"
#include "ofxGui.h"
#include "appConstants.h"
#include "typographyManager.hpp"

#ifdef USE_MIDI_PARAM_SYNC
#include "ofxParameterMidiSync.h"
#endif

#ifdef USE_EXTERNAL_SOUNDS
#include "ofxOsc.h"
#endif

#ifdef USE_SCENE_TRANSITIONS
#include "ofxTween.h"
#endif

#define FADE_DELAY_MIN 1.4
#define FADE_DELAY_MAX 1.67

#define SCENE_PRE_TRANSITION_FADE   0.4
//#define SCENE_PRE_TRANSITION_SOUND 0.32
#define SCENE_PRE_TRANSITION_CURSOR 0.5

// I take care of scenes.

class sceneManager {

private:

	void nextScene(bool forward);
    
public:
    
    ~sceneManager();
    vector < baseScene * > scenes;
    int currentScene;
    
    void setup();
    void update();
    void draw();
    void drawType();
    
    void advanceScene();
    void regressScene();
    void screenGrab();
    
  //    float motion, frameBrightness;
  //    ofPoint centroid, lastCentroid;
  //    ofPixels lastFrame, currFrame;
  //void computeMotion(ofFbo &fbo);
    
    void startScene(int whichScene);
  
    ofFbo transitionFbo;
    ofFbo sceneFbo;
  //ofFbo dimmedSceneFbo;
    ofFbo codeFbo;
  //ofShader dimmerShader;
    ofxPanel * panel;
    
    ofParameter<float> codeEnergyDecayRate, codeEnergyPerFrame;
    ofxPanel codeControls;
    
    //----------------------------------------
    // sound
    
    ofSoundPlayer sceneChangeSound;
    ofSoundPlayer cursorBlinkSound;
    ofSoundPlayer animationStartSound;
    ofSoundPlayer parameterChangeSound;
    bool hasTriggeredCursorSound;
    bool hasTriggeredSceneChangeSound;
    
    void loadSounds();
    

    ofTrueTypeFont font;
{'fraction_non_alphanumeric': 0.10802012429712933, 'fraction_numerical': 0.007102693104468778, 'mean_word_length': 3.116930572472594, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6580972', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1150, 'n_words': 256}