Skip to content

Commit

Permalink
devnotes, minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoft committed Feb 13, 2016
1 parent 4e48f96 commit 9519681
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions doc/devnotes.txt
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 3 additions & 3 deletions wcfmarchiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")):
Expand Down

0 comments on commit 9519681

Please sign in to comment.