|
@@ -98,8 +98,8 @@
|
|
|
" print(\"Audio input stream started.\")\n",
|
|
|
" t0 = time.time()\n",
|
|
|
" stream.start()\n",
|
|
|
- " with open(cfg['csv_path'], 'a') as f:\n",
|
|
|
- " f.write(\",\".join([str(x) for x in (t0,)]) + \"\\n\")\n",
|
|
|
+ " with open(cfg['csv_path'], 'a') as f_csv:\n",
|
|
|
+ " f_csv.write(\",\".join([str(x) for x in (t0,)]) + \"\\n\")\n",
|
|
|
"\n",
|
|
|
" f.write(MicrophoneController.queue.get())\n",
|
|
|
"\n",
|
|
@@ -225,7 +225,6 @@
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- "attachments": {},
|
|
|
"cell_type": "markdown",
|
|
|
"metadata": {},
|
|
|
"source": [
|
|
@@ -345,7 +344,6 @@
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- "attachments": {},
|
|
|
"cell_type": "markdown",
|
|
|
"metadata": {},
|
|
|
"source": [
|
|
@@ -614,7 +612,7 @@
|
|
|
"name": "python",
|
|
|
"nbconvert_exporter": "python",
|
|
|
"pygments_lexer": "ipython3",
|
|
|
- "version": "3.10.8"
|
|
|
+ "version": "3.8.8"
|
|
|
},
|
|
|
"vscode": {
|
|
|
"interpreter": {
|