<commit_before>/*
 * Microphone Status
 *
 * Shows the current status of the microphone (or really any device)
 *
 * Requirements:
 *     - AutoHotkey v1.1.+ (maybe)
 */

VERSION := "0.0.1"

; BUG: if some fatal error happens and app closes it doesn't close the whole
; application. Thus needs this to say only have one running.
#SingleInstance force
#NoEnv

; TODO: move to config file / create a config screen
;device_id := 8
;component_type := "Master"
IniRead, device_id, config.ini, sound_device, device_id
IniRead, component_type, config.ini, sound_device, component_type
IniRead, always_on_top, config.ini, app, always_on_top, True
IniRead, mute_hotkey, config.ini, app, mute_hotkey, ^!m

; shouldn't have to change these
refresh_rate := 2000  ; in msec, 500 is probably as low as you should go
muted_img := "img_muted.png"
unmuted_img := "img_unmuted.png"
<commit_msg>Bump version to 0.2.0<commit_after>/*
 * Microphone Status
 *
 * Shows the current status of the microphone (or really any device)
 *
 * Requirements:
 *     - AutoHotkey v1.1.+ (maybe)
 */

VERSION := "0.2.0"

; BUG: if some fatal error happens and app closes it doesn't close the whole
; application. Thus needs this to say only have one running.
#SingleInstance force
#NoEnv

; TODO: move to config file / create a config screen
;device_id := 8
;component_type := "Master"
IniRead, device_id, config.ini, sound_device, device_id
IniRead, component_type, config.ini, sound_device, component_type
IniRead, always_on_top, config.ini, app, always_on_top, True
IniRead, mute_hotkey, config.ini, app, mute_hotkey, ^!m

; shouldn't have to change these
refresh_rate := 2000  ; in msec, 500 is probably as low as you should go
muted_img := "img_muted.png"
unmuted_img := "img_unmuted.png"

{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.016477272727272726, 'mean_word_length': 4.537735849056604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6705558', 'n_tokens_mistral': 620, 'n_tokens_neox': 586, 'n_words': 211}