|
@@ -379,7 +379,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 6,
|
|
|
+ "execution_count": 89,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -387,7 +387,7 @@
|
|
|
" \"device\": [1, 24],\n",
|
|
|
" \"n_channels\": 14,\n",
|
|
|
" \"sounds\": {\n",
|
|
|
- " \"noise\": {\"amp\": 0.3, \"duration\": 5.0, \"channels\": [9]},\n",
|
|
|
+ " \"noise\": {\"amp\": 0.01, \"duration\": 10.0, \"channels\": [6]}, # 69 DBA (amp 0.01, volume 0.1)\n",
|
|
|
" \"target\": {\"freq\": 660, \"amp\": 0.3, \"duration\": 0.015, \"window\": 0.005, \"iti\": 0.1, \"number\": 10, \"channels\": [5]}\n",
|
|
|
" },\n",
|
|
|
" \"sample_rate\": 44100,\n",
|
|
@@ -398,34 +398,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 12,
|
|
|
- "metadata": {},
|
|
|
- "outputs": [
|
|
|
- {
|
|
|
- "data": {
|
|
|
- "text/plain": [
|
|
|
- "True"
|
|
|
- ]
|
|
|
- },
|
|
|
- "execution_count": 12,
|
|
|
- "metadata": {},
|
|
|
- "output_type": "execute_result"
|
|
|
- }
|
|
|
- ],
|
|
|
- "source": [
|
|
|
- "sc.stream.stopped"
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": 14,
|
|
|
- "metadata": {},
|
|
|
- "outputs": [],
|
|
|
- "source": []
|
|
|
- },
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": 15,
|
|
|
+ "execution_count": 87,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
@@ -434,16 +407,17 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 4,
|
|
|
+ "execution_count": 88,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "sc.play_non_blocking('target', 0)"
|
|
|
+ "sc.noise() # 5 is 3\n",
|
|
|
+ "#sc.play_non_blocking('noise', 0)"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 5,
|
|
|
+ "execution_count": 85,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|