micmon/notebooks/dataset.ipynb

301 lines
222 KiB
Text
Raw Normal View History

2020-10-27 15:21:32 +01:00
{
"cells": [
{
"cell_type": "markdown",
"source": [
"This notebook scans for labelled audio samples in a directory,\n",
"extracts the spectrum of the samples and creates dataset files\n",
"with the spectrum data to train the audio detection model."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
2020-10-28 18:12:19 +01:00
"outputs": [],
2020-10-27 15:21:32 +01:00
"source": [
"import os\n",
"\n",
"from micmon.audio import AudioDirectory, AudioPlayer, AudioFile\n",
"from micmon.dataset import DatasetWriter\n",
"\n",
2020-10-28 18:12:19 +01:00
"basedir = os.path.expanduser(os.path.join('~', 'datasets', 'baby-monitor'))\n",
"audio_dir = os.path.join(basedir, 'audio')\n",
"datasets_dir = os.path.join(basedir, 'datasets')\n",
2020-10-27 15:21:32 +01:00
"audio_dirs = AudioDirectory.scan(audio_dir)\n",
"cutoff_frequencies = [250, 7500]"
]
},
{
"cell_type": "markdown",
"source": [
"Play some audio samples"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
2020-10-28 18:12:19 +01:00
"execution_count": 2,
2020-10-27 15:21:32 +01:00
"outputs": [],
"source": [
2020-10-28 18:12:19 +01:00
"for audio_dir in audio_dirs:\n",
" with AudioFile(audio_dir.audio_file, start='19:40', duration=5) as reader, \\\n",
2020-10-27 15:21:32 +01:00
" AudioPlayer() as player:\n",
" for sample in reader:\n",
" player.play(sample)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
2020-10-28 18:12:19 +01:00
{
"cell_type": "markdown",
"source": [
"Plot the audio for each of the first 10 seconds of each audio file."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": 4,
"outputs": [
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z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33/s+Fi3zJm/GRf87yc4VOFMiC7adBgX/elTvOciT5AXvKIQqnaDqj5gUJnjpe89ZeeRwAD6JYk09vJKTyzd4eHZGICFPxMFpSdrMOq3C7Gp5ETYffU8Ni+v2IdVRMNWoXu0rN5XjuLj3vm0SxlwP/2/JdshpcTynQEvpPKqWsN+xceto1Z1b6a1JnOL31pdeWWtZbvdWoZV7qDtR7zJkfPu2qaZRs3s8zDyN5aeRekCC38mYj7dVorjlXV49otdjrW8e9/+Flf/fXmT9mOna5ukurXLc+8WPXf+oYpqXP+PFfjjom2GmYkZPTOlCrOfvlvR75UHjlmTP3qqxlZQlld6Y/ZZZPL31wdLOgZ6aalJMItJTKiua8AvX19n+5xGAwv/JOIPH23B3z7ZGe9uBPFS2x390CKMnbMkqnM46c8D8zagus694A03ELm9FQcdmpl0nNQA+HLHURT9bjGKfrfY0E5jL8xneW9dCQpnzbc1e3208RAKZ8035PAxf1/ds6s2yjTOTbx8NJK1QIyUEuMeXhyRmfDddSV4c3Uxfr/AH685Fv4Jwup9x8MmyHpi6U7fHoRo8MuO7BYqH5wsGEsAWx3423+85TAGPbAAa/Ydx2oXaxdeQgO7VMxTmGLsBq7XtYhsu/tw+6trAACr9oZmQ8t2WgftLXEZHGfm1ZX7LdvtZP/RUzWYM38T6uNcPMZqAK1rkDh8ogY/f2VNk9nhkRPVjtKe+DXusfBPEK56chnOeXRpvLthSTjRLiEN3ijS9LdYQU0
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAAA9IElEQVR4nO2dd5wU5f3HP9+7o3PUO9qBHFWkKUUEFVFAwRJRYxJiLDEa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j3f6SvvvvJKfKeZY+BmPjZHIITgOj9MRsLir0FYbL9CIsxaPEB6xPx/sbYU3xv+i91S03JZNj9dEZ60JT/mVtBW7DyMCR+sxH3vrwg/j3S9TPt/Va07f4eVwyecV/smcywlIqJhvmenqcUsU2HOm10mTo0alVV6pIInCCbtYPE3IOiFJcpF4OQf9Jz1gUgVXWek20xRt1YG2UdA0BPzSoVz9qBNSKsV05Rz4GhV2HlkP8LCLQGH7vOzv4t6PkA9Zt1umrPW6Yu/rjibZkJ5Ylm0Re2o3lBajjP+OBOvfLVVeywMkwxY/G1wMrHIJgQ7ubCLALJj7+GK6AclAF3zkayFborMOU1q8yyO9HRi1a4jrqZj3cJu2wx/y9ffOb/3g8eqooa4MoyXsPgb1NYJpblGtqPLqHRUR2B1JwmT3Ycq8Mepa/HBUnX7RJnFW8Od1okOUVRVzXy3ZEfM51TJayLeQWVNbULNddHOPfCRGRj+p1mJGwDDWGDxN5Cdn0QEIQTmbSxDdW0dpqzwvuqmKqFKxdLt3+PFuZtx93vLXb8WBWxaoW0N3Oqg2dBmtaViaYlm7L6bQei+BzcOdvmlzAY3XhB0DANhCXZ2fB9j1VSGiYW
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAABng0lEQVR4nO19d5gdxZX9qUnKGcVRRAhlEELknLMxDgte4+x1wsben8PC2osjNjZeR5xYJ2xjY2OyyUHkIEQQygHlnHOcmfr98V5Pn+6p26/qdffMSK/O9/Hx1NOhurrq1q0bzlVaa3h4eHh4VBaq2roBHh4eHh6tDy/8PTw8PCoQXvh7eHh4VCC88Pfw8PCoQHjh7+Hh4VG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28BN27M2H8O1r987Enwzx/KVgq3Qd0a+lMjB1vhyls4WcwZJjeHGZORQuqAjhH2B3QkZts8cewM+fKgzobzwwx+q+0hyRxk48BPSsHz6Nk4thjMb7WLUiim17DhjDxF5dana2uWLJxl0Yft2D+N5Dc8X3DGzdf32l/Zd5/MkTBQXBJrQuKTN7zmozlUewuNgugrY7JUlI/Mdt0/Hsgg040KjLpmiwMfuk1Ut4F5wXE+ZfXl6OG8qI599zoBF3Tl+Bs3/4dOJ5gfC/fNIgq/sGSV4AUCvsgmpbwTZcUcI/acvNn+DO6SvE8wKwNi6Frkkp8b9JqGD00tubMkkC+dSfX8MHfz9NjBOPH9/f0IQ7pi1PTE5h/PO1Qh/95tnF6NPVHNnAu/jDD5NNJSZkKQiuu+stnPejZzK73/yELbnU7M27Qg2vobHg5PzLy8vE9zSZQFwQKjO62Vnr2qP
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAABuyUlEQVR4nO19d7hdRbn+O6ek917JIZ0klEAITTpCAK8giIKi2JWLP/Xq9QriVa+KYrvXCoiigh0rvfeSkAKE9H7Se3KSnJRT5/fH3muvb2bPt9bMKnufnL3e58mTfdZeZfasmW+++cr7CSklMmTIkCFDZaGq3A3IkCFDhgylRyb8M2TIkKECkQn/DBkyZKhAZMI/Q4YMGSoQmfDPkCFDhgpETbkbYItBgwbJurq6cjcjQ4YMGY4qLFiwYJeUcrB+/KgR/nV1dZg/f365m5EhQ4YMRxWEEOtNxzOzT4YMGTJUIDLhnyFDhgwViEz4Z8iQIUMFIhP+GTJkyFCByIR/hgwZMlQgMuGfIUOGDBWITPhny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Zl5qT86EfwjWklTucpVB5ATBkRZeuM760YuBztI3Y5ag22fByxIl+/OM7zyDd93xivN1XARO3De2u7EJv0ugYDn3DocwwtM2CsixFU5nWwn/nl2iNsYanvN7457kTIrUhEt3Aa5hnwDwq5fWou7mRyL50Lwu1s1npSgRmQn/ENBQtrg2/6iIYgLwhGFa3CMchw9tqi48bvj1XPw9xEywdd8RvBGBRC+OYzcIN/3xdfz3vxZbOT+DwL3BLjXmKZik5u/anz3ylammH9NPOX7FScVFbKLE+XcE0P497dgBhc9
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAABseklEQVR4nO19d7wdVbX/d53b0nsvkB5IAgkhhN5CC+UREEtUFH36w4Ll+Z74AuJP/Wl8iCh2EETFp4JUQek9hBaSQEJ6Lzek3PR+k3vv/v1xzpxZM3evmb2nnHOTO18/mLlzpuzZs2fttVf5LlJKIUOGDBkytC7kyt2ADBkyZMhQemTCP0OGDBlaITLhnyFDhgytEJnwz5AhQ4ZWiEz4Z8iQIUMrRGW5G2CKHj16qEGDBpW7GRkyZMhwRGHOnDlblVI9/fuPGOE/aNAgzJ49u9zNyJAhQ4YjCkS0Vrc/M/tkyJAhQytEJvwzZMiQoRUiE/4ZMmTI0AqRCf8MGTJkaIXIhH+GDBkytEJkwj9DhgwZWiEy4Z8hQ4YMrRCxhT8RDSSil4loMREtJKKvF/Z3I6LniWh54d+u7JybiGgFES0lokvitiFDhgxHPhqbFB58Zz0amzKa+VIgCc2/AcB/KaWOB3AagBuIaBSAaQBeVEoNB/Bi4W8UfpsKYDSAyQB+S0QVCbQjQ4YMRzD+9vZafOuR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7X8++B7un7XeSDHx3sv9Fvg7zhEw9Xdv4d6Zq8V3GNRVnrBONrRN7P+bUigyQxF8amlweCWJ1IQ/EfVlf14NwIkEegLAVCK
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD4CAYAAAAEhuazAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAABlbklEQVR4nO19d5wcxbX1qdkkraRVzllCWSQhi5yEyJhgjA3GzzjigI2NsbF4OBtweMb2hyM4gkkGY4IRWWSQBApIKOewytIqS5vr+2Omp2/31u2umu6e2d2p4x/WbE9Pd3V11a1bN5wrpJSwsLCwsCgupArdAAsLCwuL/MMKfwsLC4sihBX+FhYWFkUIK/wtLCwsihBW+FtYWFgUIUoL3QBd9OrVSw4bNqzQzbCwsLBoU5g3b94uKWVv//E2I/yHDRuGuXPnFroZFhYWFm0KQogNquPW7GNhYWFRhLDC38LCwqIIYYW/hYWFRRHCCn8LCwuLIoQV/hYWFhZFCCv8LSwsLIoQVvhbWFhYFCGs8C8QnvtgK3YfrCt0MywsLIoUVvgXADWH6vHlB+fj8/fbpDULC4vCwAr/AqC+sRkAsGDj3sI2xMLComhhhb+FhYVFEcIK/wJAwpbOtLCwKCys8C8AbNlkCwuLQsMKfwsLC4sihBX+FhYWFkWIyMJfCDFYCPGqEGKZEGKJEOLrmeM9hBAvCSFWZf7tTn5zqxBitRBihRDi/KhtaGuwVh8LC4tCIw7NvxHAzVLKcQBOAnCDEGI8gOkAZkopRwGYmfkbme+uBjABwAUA/iCEKImhHW0G0hr9LSwsCozIwl9KuVVKOT/z+QCAZQAGArgMwH2Z0+4DcHnm82UAHpFS1kkp1wFYDWBK1Ha0JVjZb2FhUWjEavMXQgwDcDyA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Va+vLd+DwBg4aa9eWmTFf4++J3AT72/GSfeOTPWhCnV2KeDIhdwE0pX8HaLEGFwzxtrMeXOlvb/zXvTg3pdgF+AQz61oJKUwDV/no3jfvxS/m5KcPxPXsLn/jGX/d50Z0KVi4MxhQ02NUv8O5PTQAV9swS+cP88TPqJft+9ryHcdJ75rVVp81G+hOXj86rxQMSFxv9Yf3x9DU68cyZmr3VDZudv3BPpHtptyctd2gTUg21uZjVetjWoMqUZkrDpcY5d03vl0jRnt7N57xHP8SghtPnU/PcdqceCjXtjv242XV+jV98KsINT6m+dhMR1u93F9nBMwj9t9kl/pgJMQmrtdil0Ql91zD6O6dEE33hkQTZM1xQ3P7YQ331SP7lu7c6DGDZ9RjY/A/CO65pDDfjF8ysAALfPWJo9bm3+ecYuJuLD5duI740k4fDlLtlo6EsIatuR+iY8+4H+DmXCgCoAue0q8in8Z3ywLZHrxpWrQPviT6+vMW1ELJDSXcTocw3v1cn4WjrRS0n5+598fwtueTw/zt+pd70OAPjDa6uzx+h8fGGJO+5KUynlOUnCCv8Q7M/YN59eGJ8tNYlXy2n+QfkGFHszUU5US/HjB08vxlcenM9us7l1o28X82pS+axzk9StnMm9OyCgYPWOA6HXoQuuTk1b4fkcz9M1NUs4+X90Xe6XQ6WwRdXh0UtJO+HziTomCGTOOtfUQ+ddlw75CXawwt8PnwBbl6E7mB9iFjDhB6KCOq4on/1MKF4jydjViWdfGDAx525Im8AO1HpNCWFKei5KfJcOyWQ5vrp8R4ukqyBnaxQ4GtzybbyAf2FJeAIYFfg6WiE9Iy5z5UtLt7cw65nCjEMrfNCM7G2+60gazc0S+3zh4pzZb/Fm993QpMHzJ/RNpnE+WOEfgs17wrlu5m2owfE/eQnPaZpEqIbclIMJaMairXjMF7rmFD/xo5EUjNkaoNW7bePbs3Zn2pa8yqetNiZQlCYpq89n/vEePnffXM9zhsn
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"for audio_dir in audio_dirs:\n",
" with AudioFile(audio_dir.audio_file, start=0, duration=4) as reader:\n",
" for sample in reader:\n",
" sample.plot_audio()"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
2020-10-27 15:21:32 +01:00
{
"cell_type": "markdown",
"source": [
"Plot the spectrum of the audio samples in the first 10 seconds of each audio file."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
2020-10-28 18:12:19 +01:00
"execution_count": 3,
2020-10-27 15:21:32 +01:00
"outputs": [
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAAAPN0lEQVR4nO3df4zkd13H8efLO0ApQvlxELi72jM5KKfycylVUStVuWuNpwl/XJEfNpBLDVU0JvYIUWP4pwY1QChcLvUsqOH+gAZOelIN/iDGgN0qlF7Lwdlib3vVXkVRIbEcffvHzMEwzO7Mbr97O/OZ5yPZ7Hy/38/Ovj+7s6/5zGc+3++mqpAkzb7v2ugCJEndMNAlqREGuiQ1wkCXpEYY6JLUCANdkhoxNtCTHE7yUJK7ljmeJO9OcjLJnUle0n2ZkqRxJhmh3wzsXuH4HmBn/2M/8L7HXpYkabXGBnpVfRL48gpN9gIfqJ5PARcmeXZXBUqSJrO5g/vYCpwa2F7q73twuGGS/fRG8VxwwQUvveSSSzr49mrV5x74yjdv/9DWp2xgJdL0uOOOOx6uqi2jjnUR6Bmxb+T1BKrqEHAIYGFhoRYXFzv49mrVxQdu/ebtxRuu2sBKpOmR5F+XO9bFKpclYPvA9jbgdAf3K0lahS4C/Sjw+v5ql8uAr1TVd0y3SJLW19gplyQfBC4HnpFkCfgd4HEAVXUQOAZcCZwEvgZcs17FSpKWNzbQq+rqMccLeHNnFUmS1sQzRSWpEQa6JDX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TknSGJOM0C8FTlbVvVX1CHAE2DvUZi/wger5FHBhkmd3XKskaQWpqpUbJK8GdlfVm/rbrwNeXlXXDbT5GHBDVf19f/sTwPVVtTh0X/v
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAAAPTklEQVR4nO3dbYylZ13H8e/PXYpSlPKwENhd3TVZKPWBp7FURa0istsaVxNebJEHG8imhioaE7uEqDG+qUENEAqbTV0LatgX0MBKV6rBB2IMuFOF0m1ZGFvsDlvtVBQVEsvC3xfnbDmezsy5Z/bMzjnX+X6SyZz7uq8553/NnPOba677vs+kqpAkTb9v2ewCJEnjYaBLUiMMdElqhIEuSY0w0CWpEQa6JDViZKAnOZrk4ST3rLA/Sd6ZZCHJ3UlePP4yJUmjdJmh3wbsXWX/PmBP/+Mg8J4LL0uStFYjA72qPg58aZUu+4H3Vc8ngMuSPHtcBUqSutk6hvvYDpwZ2F7stz003DHJQXqzeC699NKXXH755WN4eGm6feaLX37s9vdtf8omVqJpcNdddz1SVduW2zeOQM8ybcu+n0BVHQGOAMzNzdX8/PwYHl6abrsO3fHY7fmbr93ESjQNkvzLSvvGcZbLIrBzYHsHcHYM9ytJWoNxBPpx4HX9s12uAr5cVY9bbpEkbayRSy5J3g9cDTwjySLwW8ATAKrqMHACuAZYAL4KXL9RxUqSVjYy0KvquhH7C3jT2CqSJK2LV4pKUiMMdElqhIEuSY0w0CWpEQa6JDXCQJekRhjoktQIA12SGmGgS1IjDHRJaoSBLkmNMNAlqREGuiQ1wkCXpEYY6JLUCANdkhphoEtSIwx0SWqEgS5JjTDQJakRBrokNcJAl6RGGOiS1AgDXZ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uelZ6GJJ0WnZ7lciYbDPbTt1y1gjORpJXV9Bm6JK0layboXn6R1Lo1E3RJal1zQfdMXNJa1VzQJWmtMuiS1Ig1GXQvy0hq0ZoMuiS1yKBLUiPWfNC9/CKpFWs+6JLUCoMuSY0w6JLUCIMuSY0w6JLUCIMuSY0w6JLUCIM+YKHnpPtcdUmrgUGXpEYYdElqhEFfQJfLLF6KkXQmMeiS1AiDLkmNWL/SE2jFiUsvT99y1Sldhnn6lqsmNSVJa4xBX6LBcC/n7S/nfUhqk0E/gy10pt819Kfy4LPU713uB7ozxVpZ53LzxGV5GPRVaPiHYdTlnuEfkqWO6fK9xk06sxj0NW45orzU3yEM3neX713sgeVUvh61hlN94DqV/xYL3dbpfgD1gXv1MOhacWfKc/lP5TLTpNbQ9TLbcjygnewD3alayQfxk/161PyWup7l0CnoSbYBHwXWAbdX1S1Dx9M/fiXwDeD9VfVPE56rJJ2RzpSTkrHPQ0+yDrgV2A5sBa5OsnVo2HZgS/9jF/DxCc9TkjRGlxcWXQLMVtWTVXUM2A/sGBqzA/h09TwAnJvkDROeqyRpEamqxQck7wK2VdV1/e33Au+sqhsHxtwN3FJV/9Dfvg+4uapmhm5rF70zeIALgcOnOP/zgedP8TZWG9e8NrjmteFk1vwDVTU16kCXa+gZsW/4UaDLGKpqL7C3w312kmSmqqYndXurgWteG1zz2jDpNXe55DIHbBrY3ggcPYkxkqRl1CXoDwJbkmxOchawEzgwNOYAcE16LgW+XlXPTniukqRFjL3kUlXHk9wI3EvvaYv7qupQkuv7x/cAB+k9ZXGW3tMWr12+KX+HiV2+WUVc89rgmteGia557C9FJUmrg++HLkmNMOiS1IhVGfQ
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0c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vv0habwx6B8Zd0npg0CWpEQb9DHjmLulsYtB7YtwlrbV1/1ouZ7uVvNaMJK2EQV+mLi/stdwzdaMvqQ8G/XnUJdyLjfFVJc8O/jfV2cygr5EuZ/GLjRmP+2hkFgvOcn6yMFZabf5UujoM+ga03DuAlX48frvL/UfcdfyZ3Il1uU3v6FaXce+PQdeq6vJTxnJvZyU/iSz3Tmk5cxq/E1sNZ3LHuhp31qu15sVus6+59vU9X2h+k8YsNr5PnYKeZBfwfmATcHtV3TJ2PMPjVwHfAN5RVf/U81wlrZA/ZUx2JtE/Wx6yPPFx6Ek2AbcCu4GdwDVJdo4N2w3sGL7tAz7Y8zwlSRN0eWLRpcBsVZ2oqqeBw8CesTF7gI/WwL3A+Ule2fNcJUlLSFUtPSB5M7Crqt413H4b8KaqunFkzKeAW6rqH4bbnwVurqqZsdvax+AMHuAi4PgZzv9lwJNneBvrjWveGFzzxrCSNf9AVU0tdKDLNfQssG/8XqDLGKrqIHCww9fsJMlMVU33dXvrgWveGFzzxtD3mrtccpkDto1sbwVOrWCMJGkVdQn6fcCOJNuTnAPsBY6MjTkCXJuBy4CvVdXjPc9VkrSEiZdcqup0khuBuxk8bPFQVR1Lcv3w+AHgKIOHLM4yeNjidas35Wfp7fLNOuKaNwbXvDH0uuaJvxSVJK0Pvh66JDXCoEtSI9Zl0JPsSnI8yWyS/Ws9n9WQZFu
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAAAObElEQVR4nO3df6zdd13H8efLlqEb4vhxIdBWV5OyUQ3jx7XM39OptJuxmvBHh/xaWJolVNGYuBKixvAPJmrAsK1pRhmooX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8M+grwTF3SajDoq2S5Z+7+Rx4Xh+X+C026kAz6RabL2f143BeLzHL3SxeKJygrw6A35nzi3vfj87Xcn1N0nd/5POdiY1bCxR69lZ7fxb7+i5FB10VrqctS5xPTvqLfZa5djH6/pZ5nJf/yPZfHC83tXHT92vP5S/Zc17PaJyvL1SnoSXYC7wM2AHdW1XvGjmd4/Hrg68Bbq+qfep6r1CR/iH5++voXVAuXIie+Dj3JBuA2YBewHbgxyfaxYbuAbcOPvcAdPc9TkjRBlzcW7QBmq+qRqnoaOAzsHhuzG/hwDXwWuDzJS3qeqyRpCamqpQckrwd2VtXNw+03Aa+tqn0jY+4B3lNV/zDc/jRwa1XNjD3XXgZn8ABXAifPc/4vBJ48z+dYa1zz+uCa14dzWfMPVNXUQge6XEPPAvvG/xboMoaqOggc7PA9O0kyU1XTfT3fWuCa1wfXvD70veYul1zmgC0j25uB0+cwRpK0groE/RiwLcnWJJcAe4AjY2OOAG/OwDXA16rq8Z7nKklawsRLLlV1Jsk+4F4GL1s8VFUnktwyPH4AOMrgJYuzDF62eNPKTfnb9Hb5Zg1xzeuDa14fel3zxB+KSpLWBu+HLkmNMOiS1Ig1GfQkO5OcTDKbZP9qz2clJNmS5G+TPJT
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"text/plain": "<Figure size 432x288 with 1 Axes>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8vihELAAAACXBIWXMAAAsTAAALEwEAmpwYAAAOWklEQVR4nO3db4xld13H8ffHXYq2iAU6ENhd7ZoslNVQKGOp/6tV2W2NqwkPtsgfG5pNk1arMbFLiBrDE0zUIKGw2dSloKb7ABpYYaUa/EMMATtVLN2WLWOL3WGrnVpFUxLLwtcH95RcLnfmntm90+H+5v1KJnPPOb+58/t1dt/37Llzb1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bL5+pT875zqnzcKgayb0jcS0HqBWGt9nfuthrQ+m67G2s3ngntaYtc5pvW+fq/V6UOr1Wy5J9iQ5mWQxycExx5PkXd3xe5NcNv2pSpJWMzHoSbYAtwJ7gd3AtUl2jwzbC+zqPg4A753yPCVJE/Q5Q78cWKyqh6rqKeAosG9kzD7gAzXwaeDCJC+e8lwlSatIVa0+IHkdsKeqru+23wi8pqpuGhrzUeAdVfUP3fYngFuqamHkvg4wOIMHeBlw8hznfxHw+Dnex6xxzZuDa94czmbN31dVc+MO9HlSNGP2jT4K9BlDVR0GDvf4nr0kWaiq+Wnd3yxwzZuDa94cpr3mPpdcloAdQ9vbgdNnMUaStI76BP1uYFeSnUnOA/YDx0bGHAPe1P22yxXAl6vq0SnPVZK0iomXXKrqTJKbgLuALcCRqjqR5Ibu+CHgOHA1sAh8Bbhu/ab8TaZ2+WaGuObNwTVvDlNd88QnRSVJs8G3z5WkRhh0SWrETAZ90lsRtCDJjiR/m+SBJCeS3Nztf36Sv07yhe7
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
2020-10-28 18:12:19 +01:00
"for audio_dir in audio_dirs:\n",
" with AudioFile(audio_dir.audio_file, start=0, duration=4) as reader:\n",
2020-10-27 15:21:32 +01:00
" for sample in reader:\n",
" sample.plot_spectrum(low_freq=cutoff_frequencies[0],\n",
" high_freq=cutoff_frequencies[1])"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
{
"cell_type": "markdown",
"source": [
"Save the spectrum information and labels of the samples to a\n",
"different compressed file for each audio file."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
2020-10-28 18:12:19 +01:00
"execution_count": 5,
2020-10-27 15:21:32 +01:00
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
2020-10-28 18:12:19 +01:00
"Processing audio sample /home/blacklight/datasets/baby-monitor/audio/2020-10-25_16-36-00\n",
"Processing audio sample /home/blacklight/datasets/baby-monitor/audio/2020-10-24_19-53-00\n",
"Processing audio sample /home/blacklight/datasets/baby-monitor/audio/2020-10-24_17-25-00\n"
2020-10-27 15:21:32 +01:00
]
}
],
"source": [
2020-10-28 18:12:19 +01:00
"for audio_dir in audio_dirs:\n",
" dataset_file = os.path.join(datasets_dir, os.path.basename(audio_dir.path) + '.npz')\n",
" print(f'Processing audio sample {audio_dir.path}')\n",
2020-10-27 15:21:32 +01:00
"\n",
2020-10-28 18:12:19 +01:00
" with AudioFile(audio_dir.audio_file, audio_dir.labels_file) as reader, \\\n",
2020-10-27 15:21:32 +01:00
" DatasetWriter(dataset_file,\n",
" low_freq=cutoff_frequencies[0],\n",
" high_freq=cutoff_frequencies[1]) as writer:\n",
" for sample in reader:\n",
" writer += sample"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}