fx dependencies

This commit is contained in:
adamnsandle
2024-10-09 09:26:39 +00:00
parent 6e6da04e7a
commit 001d57d6ff

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "b3e57018",
"id": "76aa55ba",
"metadata": {},
"source": [
"# Pyaudio Microphone Streaming Examples\n",
@@ -19,7 +19,7 @@
},
{
"cell_type": "markdown",
"id": "fceba3a7",
"id": "4a4e15c2",
"metadata": {},
"source": [
"## Dependencies\n",
@@ -29,7 +29,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "efe93780",
"id": "24205cce",
"metadata": {
"ExecuteTime": {
"end_time": "2024-10-09T08:47:34.056898Z",
@@ -38,17 +38,17 @@
},
"outputs": [],
"source": [
"#!pip install numpy==2.0.2\n",
"#!pip install torch==2.4.1\n",
"#!pip install matplotlib==3.9.2\n",
"#!pip install torchaudio==2.4.1\n",
"#!pip install numpy>=1.24.0\n",
"#!pip install torch>=1.12.0\n",
"#!pip install matplotlib>=3.6.0\n",
"#!pip install torchaudio>=0.12.0\n",
"#!pip install soundfile==0.12.1\n",
"#!apt install python3-pyaudio (linux) or pip install pyaudio (windows)"
]
},
{
"cell_type": "markdown",
"id": "8bfc4a6f",
"id": "cd22818f",
"metadata": {},
"source": [
"## Imports"
@@ -57,7 +57,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "adb0a385",
"id": "994d7f3a",
"metadata": {
"ExecuteTime": {
"end_time": "2024-10-09T08:47:39.005032Z",
@@ -91,7 +91,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cff8154c",
"id": "ac5c52f7",
"metadata": {},
"outputs": [],
"source": [
@@ -103,7 +103,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b7251534",
"id": "ad5919dc",
"metadata": {},
"outputs": [],
"source": [
@@ -116,7 +116,7 @@
},
{
"cell_type": "markdown",
"id": "bea37012",
"id": "784d1ab6",
"metadata": {},
"source": [
"### Helper Methods"
@@ -125,7 +125,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cfc5e492",
"id": "af4bca64",
"metadata": {},
"outputs": [],
"source": [
@@ -148,7 +148,7 @@
},
{
"cell_type": "markdown",
"id": "e893068b",
"id": "ca13e514",
"metadata": {},
"source": [
"## Pyaudio Set-up"
@@ -157,7 +157,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1463d9e7",
"id": "75f99022",
"metadata": {},
"outputs": [],
"source": [
@@ -171,7 +171,7 @@
},
{
"cell_type": "markdown",
"id": "3f44a55a",
"id": "4da7d2ef",
"metadata": {},
"source": [
"## Simple Example\n",
@@ -181,7 +181,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b363165c",
"id": "6fe77661",
"metadata": {},
"outputs": [],
"source": [
@@ -191,7 +191,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3a7a187c",
"id": "23f4da3e",
"metadata": {},
"outputs": [],
"source": [
@@ -231,7 +231,7 @@
},
{
"cell_type": "markdown",
"id": "1b4fc36a",
"id": "fd243e8f",
"metadata": {},
"source": [
"## Real Time Visualization\n",
@@ -244,7 +244,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f398cf2d",
"id": "d36980c2",
"metadata": {},
"outputs": [],
"source": [
@@ -254,7 +254,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d5e26840",
"id": "5607b616",
"metadata": {},
"outputs": [],
"source": [
@@ -311,7 +311,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9f348860",
"id": "dc4f0108",
"metadata": {},
"outputs": [],
"source": [