diff --git a/README.md b/README.md index ce08ca6..f459a5e 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ for comments and code. MIT license # TODO -- offer to reload on failed noise suppression toggle +- maybe try autoGainControl diff --git a/main.py b/main.py index 24ec30f..57fbac1 100644 --- a/main.py +++ b/main.py @@ -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(): diff --git a/templates/record.html b/templates/record.html index 713f1c5..0ab615f 100644 --- a/templates/record.html +++ b/templates/record.html @@ -60,7 +60,7 @@ background-color: lightgreen; /* background */ color: black; /* text */ margin: 0; /* No margins */ - box-sizing: border-box; /* Ensures padding is included in the total width and height */ + box-sizing: border-box; /* Include padding in total width and height */ -webkit-appearance: none; /* Removes default styling on iOS */ appearance: none; /* Removes default styling on other browsers */ } @@ -82,7 +82,6 @@ meter { flex: 1; /* Allows the meter to grow */ - /* Remove inline styles for width from the HTML and control it here if necessary */ } /* Flex container for buttons */ @@ -154,279 +153,290 @@

Apple Safari users: -