Skip to content

Commit

Permalink
force an interface click to set noise suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalsman committed Nov 25, 2023
1 parent d4a466c commit 5ac9a91
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 248 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ for comments and code.
MIT license

# TODO
- offer to reload on failed noise suppression toggle
- maybe try autoGainControl
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def index():

@app.route('/record') # show recording UI
def record():
return render_template('record.html') # see for more detailed comments
return render_template('record.html',
force_click='forceClick' in request.args)

@app.route('/upload-audio', methods=['POST'])
def upload_audio():
Expand Down
Loading

0 comments on commit 5ac9a91

Please sign in to comment.