<commit_before>/*
 * Config_SW.h
 *
 * Created on: 30 March 2017
 * author:    <NAME> (<EMAIL>)
 * Source :  https://github.com/Protonerd/FX-SaberOS
 * This tab contains all settings necessary to define your saber board's electronic software configuration
 */

#include "Config_HW.h"

#if not defined CONFIG_SW_H_
#define CONFIG_SW_H_


/*
 * DEFAULT CONFIG PARAMETERS
 * Will be overriden by EEPROM settings
 * once the first save will be done
 *************************************/
// memory base in EEPROM for configuration variables, i.e. the config block will start at EEPROM address 32
#define MEMORYBASE       32
#define VOL          20
#define SOUNDFONT       3
#define SWING         1000
#define CLASH_THRESHOLD 15 // 10 was the original value in LSOS, Jason's value changed it to 6, but it resulted in false clash trigges at more forceful swings
/************************************/

#if defined LEDSTRINGS
  #define CONFIG_VERSION     "L01"
#endif
#if defined STAR_LED
  #define CONFIG_VERSION     "L02"
  static const uint8_t rgbFactor = 255;
#endif
#if defined PIXELBLADE
  #define CONFIG_VERSION     "L03"
  static const uint8_t rgbFactor = 255;
#endif
#if defined ADF_PIXIE_BLADE
  #define CONFIG_VERSION     "L05"
  static const uint8_t rgbFactor = 255;
#endif

/*
 * SOFTWARE SWITCHES FOR DFPLAYER CHISET
 *************************************/

#ifdef ADF_PIXIE_BLADE
  #define OLD_DPFPLAYER_LIB
  #include "Adafruit_Pixie.h"<commit_msg>changed back clash threshold to the golden value of 10<commit_after>/*
 * Config_SW.h
 *
 * Created on: 30 March 2017
 * author:    <NAME> (<EMAIL>.de)
 * Source :  https://github.com/Protonerd/FX-SaberOS
 * This tab contains all settings necessary to define your saber board's electronic software configuration
 */

#include "Config_HW.h"

#if not defined CONFIG_SW_H_
#define CONFIG_SW_H_


/*
 * DEFAULT CONFIG PARAMETERS
 * Will be overriden by EEPROM settings
 * once the first save will be done
 *************************************/
// memory base in EEPROM for configuration variables, i.e. the config block will start at EEPROM address 32
#define MEMORYBASE       32
#define VOL          20
#define SOUNDFONT       3
#define SWING         1000
#define CLASH_THRESHOLD 10 // 10 was the original value in LSOS, Jason's value changed it to 6, but it resulted in false clash trigges at more forceful swings
/************************************/

#if defined LEDSTRINGS
  #define CONFIG_VERSION     "L01"
#endif
#if defined STAR_LED
  #define CONFIG_VERSION     "L02"
  static const uint8_t rgbFactor = 255;
#endif
#if defined PIXELBLADE
  #define CONFIG_VERSION     "L03"
  static const uint8_t rgbFactor = 255;
#endif
#if defined ADF_PIXIE_BLADE
  #define CONFIG_VERSION     "L05"
  static const uint8_t rgbFactor = 255;
#endif

/*
 * SOFTWARE SWITCHES FOR DFPLAYER CHISET
 *************************************/

#ifdef ADF_PIXIE_BLADE
  #define OLD_DPFPLAYER_LIB
  #include "Adafruit_Pixie.h"
{'fraction_non_alphanumeric': 0.13952702702702702, 'fraction_numerical': 0.029054054054054056, 'mean_word_length': 3.9932546374367623, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1586315', 'n_tokens_mistral': 1029, 'n_tokens_neox': 899, 'n_words': 328}