Spaces:
Sleeping
Sleeping
Delete wienerFilter.ipynb
Browse files- wienerFilter.ipynb +0 -51
wienerFilter.ipynb
DELETED
|
@@ -1,51 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"cells": [
|
| 3 |
-
{
|
| 4 |
-
"cell_type": "code",
|
| 5 |
-
"execution_count": 2,
|
| 6 |
-
"id": "a680a4b0-f69e-4645-9790-2f70f2bcf48f",
|
| 7 |
-
"metadata": {},
|
| 8 |
-
"outputs": [],
|
| 9 |
-
"source": [
|
| 10 |
-
"import scipy.signal\n",
|
| 11 |
-
"def wiener_filter(audio):\n",
|
| 12 |
-
" \n",
|
| 13 |
-
" '''\n",
|
| 14 |
-
" The Wiener filter is designed to minimize the impact of noise by applying an adaptive filtering process. \n",
|
| 15 |
-
" It tries to estimate the original, clean signal by taking into account both the noisy signal and the statistical properties of the noise. \n",
|
| 16 |
-
" The Wiener filter is particularly useful when dealing with stationary noise (constant background noise, like white noise).\n",
|
| 17 |
-
" '''\n",
|
| 18 |
-
" return scipy.signal.wiener(audio)"
|
| 19 |
-
]
|
| 20 |
-
},
|
| 21 |
-
{
|
| 22 |
-
"cell_type": "code",
|
| 23 |
-
"execution_count": null,
|
| 24 |
-
"id": "b4eaa3f1-770f-4260-8a84-0d7afe5ea3b4",
|
| 25 |
-
"metadata": {},
|
| 26 |
-
"outputs": [],
|
| 27 |
-
"source": []
|
| 28 |
-
}
|
| 29 |
-
],
|
| 30 |
-
"metadata": {
|
| 31 |
-
"kernelspec": {
|
| 32 |
-
"display_name": "Python 3 (ipykernel)",
|
| 33 |
-
"language": "python",
|
| 34 |
-
"name": "python3"
|
| 35 |
-
},
|
| 36 |
-
"language_info": {
|
| 37 |
-
"codemirror_mode": {
|
| 38 |
-
"name": "ipython",
|
| 39 |
-
"version": 3
|
| 40 |
-
},
|
| 41 |
-
"file_extension": ".py",
|
| 42 |
-
"mimetype": "text/x-python",
|
| 43 |
-
"name": "python",
|
| 44 |
-
"nbconvert_exporter": "python",
|
| 45 |
-
"pygments_lexer": "ipython3",
|
| 46 |
-
"version": "3.11.7"
|
| 47 |
-
}
|
| 48 |
-
},
|
| 49 |
-
"nbformat": 4,
|
| 50 |
-
"nbformat_minor": 5
|
| 51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|