<commit_before>#include "testApp.h"

// TODO: develop credits, including 
// - audioOutputExample source code
// - <NAME>'s contributions: 1) working through math for linear tone/mouse relationship, and 2) square wave

// TODO:
// - debug elaphantitis of 8th particle system (being huge when it shouldn't be)
// - clean remnants of Partisynth code out from testApp since it no longer synthesizes anything or has any particles
// - kinput > use kinetic data to drive partisynth pan (x), pitch (y), and volume (z)
// - aggregate screenshake, and screenflicker into main app so that any user can affect it
// - init() > has soundstream issues > should make this into a global "setup" function that can be called from testApp instead of having to be inside testApp so it can be packaged with "synth" when I make that into an addon

//--------------------------------------------------------------
void testApp::setup(){
    
	ofSetFrameRate(60);
    updatePartisynths = 0;
    
    numPartisynths = 8;
    // numPartisynths = 0;
    
    // Partisynth creation
    partisynths.clear();
    for (int i=0; i < numPartisynths; i++) {
        Partisynth ps;
        partisynths.push_back(ps);
    }
    <commit_msg>Quick fix for screen tearing when flashing in the upper frequencies.<commit_after>#include "testApp.h"

// TODO: develop credits, including 
// - audioOutputExample source code
// - <NAME>'s contributions: 1) working through math for linear tone/mouse relationship, and 2) square wave

// TODO:
// - debug elaphantitis of 8th particle system (being huge when it shouldn't be)
// - clean remnants of Partisynth code out from testApp since it no longer synthesizes anything or has any particles
// - kinput > use kinetic data to drive partisynth pan (x), pitch (y), and volume (z)
// - aggregate screenshake, and screenflicker into main app so that any user can affect it
// - init() > has soundstream issues > should make this into a global "setup" function that can be called from testApp instead of having to be inside testApp so it can be packaged with "synth" when I make that into an addon

//--------------------------------------------------------------
void testApp::setup(){
    
    ofSetVerticalSync(TRUE);
	ofSetFrameRate(60);
    updatePartisynths = 0;
    
    numPartisynths = 8;
    // numPartisynths = 0;
    
    // Partisynth creation
    partisynths.clear();
    for (int i=0; i < numPartisynths; i++) {
        Partisynth ps;
        partisynths.push_back(ps);
    }
    
{'fraction_non_alphanumeric': 0.13370696557245795, 'fraction_numerical': 0.007205764611689352, 'mean_word_length': 2.6375545851528384, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '2045470', 'n_tokens_mistral': 738, 'n_tokens_neox': 695, 'n_words': 295}