From 95196811f9ce9c71766dbdc9a4c1711067a7ba84 Mon Sep 17 00:00:00 2001 From: tkoft Date: Sat, 13 Feb 2016 17:40:57 -0500 Subject: [PATCH] devnotes, minor changes --- doc/devnotes.txt | 7 +++++++ wcfmarchiver.py | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 doc/devnotes.txt diff --git a/doc/devnotes.txt b/doc/devnotes.txt new file mode 100644 index 0000000..46210bd --- /dev/null +++ b/doc/devnotes.txt @@ -0,0 +1,7 @@ +Ideas: + +Specify max files and max size on disk? Or max amount of time, and use some math to get #files or size on disk. + +Lowercase and uppercase q to quit + +If the program is closed or terminated, unexpectedly or not, during the padding interval after a silent recording that was deleted, anything recorded during that padding will NOT be saved. This could be solved by writing to a temp file and deleting it at the top of loop. \ No newline at end of file diff --git a/wcfmarchiver.py b/wcfmarchiver.py index 468668d..f1c87b4 100644 --- a/wcfmarchiver.py +++ b/wcfmarchiver.py @@ -33,13 +33,13 @@ 'PadMin' : '5', 'WaveOutputFilename':'wcfm', 'MaxFiles' : '200', - 'DeleteOld' : 'False'} + 'DeleteOld' : 'False', + 'Threshold' : '333',} config['RECORD'] = { 'Chunk' : '1024', 'Format' : '8', #pyaudio.paInt16 = 8 'Channels' : '2', - 'Rate' : '44100', - 'Threshold' : '333'} + 'Rate' : '44100',} # Parse config.ini for configuration settings if (os.path.isfile("config.ini")):