Audio-SpectraCLI 3.1__tar.gz → 3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/PKG-INFO +94 -6
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/PKG-INFO +94 -6
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/setup.cfg +1 -1
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/setup.py +1 -1
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI/__init__.py +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI/main.py +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/SOURCES.txt +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/dependency_links.txt +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/requires.txt +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/top_level.txt +0 -0
- {Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Audio-SpectraCLI
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2
|
|
4
4
|
Summary: AudioSpectraCLI is a command-line tool that provides real-time FFT visualization of audio spectra. It captures audio input from the microphone and displays the corresponding frequency spectrum directly in the terminal window, allowing users to monitor and analyze audio signals without the need for graphical interfaces.
|
|
5
5
|
Home-page: https://github.com/AdityaSeth777/Audio-SpectraCLI
|
|
6
6
|
Author: Aditya Seth
|
|
@@ -20,7 +20,7 @@ License-File: LICENSE
|
|
|
20
20
|
|
|
21
21
|
Audio Spectrum Visualization is a Python project that visualizes real-time audio input as a spectrum using Fast Fourier Transform (FFT). It provides an interactive CLI interface for users to start the visualization and exit the program.
|
|
22
22
|
|
|
23
|
-
## Current Features (with respect to 3.
|
|
23
|
+
## Current Features (with respect to 3.2)
|
|
24
24
|
|
|
25
25
|
- Real-time visualization of Fast Fourier Transform (FFT) spectrum of audio input.
|
|
26
26
|
- Support for adjusting parameters such as duration, sampling rate, and block size.
|
|
@@ -35,6 +35,7 @@ Audio-SpectraCLI/
|
|
|
35
35
|
|
|
36
36
|
│ CODE_OF_CONDUCT.md
|
|
37
37
|
│ Contributing.md
|
|
38
|
+
│ Dockerfile
|
|
38
39
|
│ LICENSE
|
|
39
40
|
│ Readme.md
|
|
40
41
|
│ requirements.txt
|
|
@@ -53,7 +54,7 @@ Audio-SpectraCLI/
|
|
|
53
54
|
main.py
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
## Installation & Usage
|
|
57
|
+
## Installation & Usage (Using PIP)
|
|
57
58
|
|
|
58
59
|
1. Install using pip
|
|
59
60
|
|
|
@@ -64,7 +65,7 @@ pip install Audio-SpectraCLI
|
|
|
64
65
|
2. Import and use modules
|
|
65
66
|
|
|
66
67
|
- Create a Python file.
|
|
67
|
-
- You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/
|
|
68
|
+
- You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
68
69
|
|
|
69
70
|
```
|
|
70
71
|
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
@@ -77,10 +78,97 @@ audio_visualizer = AudioSpectrumVisualizer(
|
|
|
77
78
|
audio_visualizer.start_visualization()
|
|
78
79
|
```
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
81
82
|
|
|
82
83
|
---
|
|
83
84
|
|
|
85
|
+
## Examining & Usage for fun :D (Using Docker)
|
|
86
|
+
|
|
87
|
+
1. Prerequisites
|
|
88
|
+
You should have docker installed on your machine. You can download and install Docker from [here](https://www.docker.com/products/docker-desktop).
|
|
89
|
+
2. Pulling the Docker Image
|
|
90
|
+
|
|
91
|
+
You can pull the pre-built Docker image from Docker Hub using the following command:
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
docker pull adityaseth777/audio-spectracli
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
3. Viewing Files Inside the Docker Container
|
|
98
|
+
For seeing the files inside the Docker container for debugging purposes, you can run an interactive shell session:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
docker run --rm -it --entrypoint /bin/bash audio-spectracli
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
4. Use the 'ls' command to view the files and get a proper understanding of the file structure :
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
ls
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
5. You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
114
|
+
|
|
115
|
+
# Creating an instance of AudioSpectrumVisualizer with custom parameters.
|
|
116
|
+
audio_visualizer = AudioSpectrumVisualizer(
|
|
117
|
+
duration=5, frequency_range=(50, 5000), color='red')
|
|
118
|
+
|
|
119
|
+
# Starting the audio spectrum visualization
|
|
120
|
+
audio_visualizer.start_visualization()
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Building the Docker Image Locally (for fun :D)
|
|
128
|
+
|
|
129
|
+
If you prefer to build the Docker image locally, follow these steps:
|
|
130
|
+
|
|
131
|
+
1. Clone the repository :
|
|
132
|
+
|
|
133
|
+
```sh
|
|
134
|
+
git clone https://github.com/AdityaSeth777/Audio-SpectraCLI.git
|
|
135
|
+
cd Audio-SpectraCLI
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
2. Build the Docker image:
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
docker build -t audio-spectracli .
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
3. Viewing Files Inside the Docker Container
|
|
145
|
+
For seeing the files inside the Docker container for debugging purposes, you can run an interactive shell session:
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
docker run --rm -it --entrypoint /bin/bash audio-spectracli
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
4. Use the 'ls' command to view the files and get a proper understanding of the file structure :
|
|
152
|
+
|
|
153
|
+
```sh
|
|
154
|
+
ls
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
5. You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
161
|
+
|
|
162
|
+
# Creating an instance of AudioSpectrumVisualizer with custom parameters.
|
|
163
|
+
audio_visualizer = AudioSpectrumVisualizer(
|
|
164
|
+
duration=5, frequency_range=(50, 5000), color='red')
|
|
165
|
+
|
|
166
|
+
# Starting the audio spectrum visualization
|
|
167
|
+
audio_visualizer.start_visualization()
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
171
|
+
|
|
84
172
|
## Upcoming Features
|
|
85
173
|
|
|
86
174
|
- CLI endpoints.
|
|
@@ -113,7 +201,7 @@ Contact: [contact@adityaseth.in]
|
|
|
113
201
|
|
|
114
202
|
## 🙋♂️ Support
|
|
115
203
|
|
|
116
|
-
💙 If you like this project, give it a ⭐ and share it with friends
|
|
204
|
+
💙 If you like this project, give it a ⭐ and share it with friends!`<br><br>`
|
|
117
205
|
[☕ Buy me a coffee](https://www.buymeacoffee.com/adityaseth)
|
|
118
206
|
|
|
119
207
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Audio_SpectraCLI
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2
|
|
4
4
|
Summary: AudioSpectraCLI is a command-line tool that provides real-time FFT visualization of audio spectra. It captures audio input from the microphone and displays the corresponding frequency spectrum directly in the terminal window, allowing users to monitor and analyze audio signals without the need for graphical interfaces.
|
|
5
5
|
Home-page: https://github.com/AdityaSeth777/Audio-SpectraCLI
|
|
6
6
|
Author: Aditya Seth
|
|
@@ -20,7 +20,7 @@ License-File: LICENSE
|
|
|
20
20
|
|
|
21
21
|
Audio Spectrum Visualization is a Python project that visualizes real-time audio input as a spectrum using Fast Fourier Transform (FFT). It provides an interactive CLI interface for users to start the visualization and exit the program.
|
|
22
22
|
|
|
23
|
-
## Current Features (with respect to 3.
|
|
23
|
+
## Current Features (with respect to 3.2)
|
|
24
24
|
|
|
25
25
|
- Real-time visualization of Fast Fourier Transform (FFT) spectrum of audio input.
|
|
26
26
|
- Support for adjusting parameters such as duration, sampling rate, and block size.
|
|
@@ -35,6 +35,7 @@ Audio-SpectraCLI/
|
|
|
35
35
|
|
|
36
36
|
│ CODE_OF_CONDUCT.md
|
|
37
37
|
│ Contributing.md
|
|
38
|
+
│ Dockerfile
|
|
38
39
|
│ LICENSE
|
|
39
40
|
│ Readme.md
|
|
40
41
|
│ requirements.txt
|
|
@@ -53,7 +54,7 @@ Audio-SpectraCLI/
|
|
|
53
54
|
main.py
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
## Installation & Usage
|
|
57
|
+
## Installation & Usage (Using PIP)
|
|
57
58
|
|
|
58
59
|
1. Install using pip
|
|
59
60
|
|
|
@@ -64,7 +65,7 @@ pip install Audio-SpectraCLI
|
|
|
64
65
|
2. Import and use modules
|
|
65
66
|
|
|
66
67
|
- Create a Python file.
|
|
67
|
-
- You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/
|
|
68
|
+
- You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
68
69
|
|
|
69
70
|
```
|
|
70
71
|
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
@@ -77,10 +78,97 @@ audio_visualizer = AudioSpectrumVisualizer(
|
|
|
77
78
|
audio_visualizer.start_visualization()
|
|
78
79
|
```
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
81
82
|
|
|
82
83
|
---
|
|
83
84
|
|
|
85
|
+
## Examining & Usage for fun :D (Using Docker)
|
|
86
|
+
|
|
87
|
+
1. Prerequisites
|
|
88
|
+
You should have docker installed on your machine. You can download and install Docker from [here](https://www.docker.com/products/docker-desktop).
|
|
89
|
+
2. Pulling the Docker Image
|
|
90
|
+
|
|
91
|
+
You can pull the pre-built Docker image from Docker Hub using the following command:
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
docker pull adityaseth777/audio-spectracli
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
3. Viewing Files Inside the Docker Container
|
|
98
|
+
For seeing the files inside the Docker container for debugging purposes, you can run an interactive shell session:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
docker run --rm -it --entrypoint /bin/bash audio-spectracli
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
4. Use the 'ls' command to view the files and get a proper understanding of the file structure :
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
ls
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
5. You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
114
|
+
|
|
115
|
+
# Creating an instance of AudioSpectrumVisualizer with custom parameters.
|
|
116
|
+
audio_visualizer = AudioSpectrumVisualizer(
|
|
117
|
+
duration=5, frequency_range=(50, 5000), color='red')
|
|
118
|
+
|
|
119
|
+
# Starting the audio spectrum visualization
|
|
120
|
+
audio_visualizer.start_visualization()
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Building the Docker Image Locally (for fun :D)
|
|
128
|
+
|
|
129
|
+
If you prefer to build the Docker image locally, follow these steps:
|
|
130
|
+
|
|
131
|
+
1. Clone the repository :
|
|
132
|
+
|
|
133
|
+
```sh
|
|
134
|
+
git clone https://github.com/AdityaSeth777/Audio-SpectraCLI.git
|
|
135
|
+
cd Audio-SpectraCLI
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
2. Build the Docker image:
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
docker build -t audio-spectracli .
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
3. Viewing Files Inside the Docker Container
|
|
145
|
+
For seeing the files inside the Docker container for debugging purposes, you can run an interactive shell session:
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
docker run --rm -it --entrypoint /bin/bash audio-spectracli
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
4. Use the 'ls' command to view the files and get a proper understanding of the file structure :
|
|
152
|
+
|
|
153
|
+
```sh
|
|
154
|
+
ls
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
5. You can use [Example.py](https://github.com/AdityaSeth777/Audio-SpectraCLI/blob/main/tests/main.py) as a reference or use the following code :
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
from Audio_SpectraCLI import AudioSpectrumVisualizer
|
|
161
|
+
|
|
162
|
+
# Creating an instance of AudioSpectrumVisualizer with custom parameters.
|
|
163
|
+
audio_visualizer = AudioSpectrumVisualizer(
|
|
164
|
+
duration=5, frequency_range=(50, 5000), color='red')
|
|
165
|
+
|
|
166
|
+
# Starting the audio spectrum visualization
|
|
167
|
+
audio_visualizer.start_visualization()
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Once you have activated the audio_visualizer instance, feel free to use it wherever in the program. It consists of several parameters (which gives more control to the user), so make sure to configure and add those before using it in your code.
|
|
171
|
+
|
|
84
172
|
## Upcoming Features
|
|
85
173
|
|
|
86
174
|
- CLI endpoints.
|
|
@@ -113,7 +201,7 @@ Contact: [contact@adityaseth.in]
|
|
|
113
201
|
|
|
114
202
|
## 🙋♂️ Support
|
|
115
203
|
|
|
116
|
-
💙 If you like this project, give it a ⭐ and share it with friends
|
|
204
|
+
💙 If you like this project, give it a ⭐ and share it with friends!`<br><br>`
|
|
117
205
|
[☕ Buy me a coffee](https://www.buymeacoffee.com/adityaseth)
|
|
118
206
|
|
|
119
207
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = Audio-SpectraCLI
|
|
3
|
-
version = 3.
|
|
3
|
+
version = 3.2
|
|
4
4
|
author = Aditya Seth
|
|
5
5
|
author_email = contact@adityaseth.in
|
|
6
6
|
description = AudioSpectraCLI is a command-line tool that provides real-time FFT visualization of audio spectra. It captures audio input from the microphone and displays the corresponding frequency spectrum directly in the terminal window, allowing users to monitor and analyze audio signals without the need for graphical interfaces.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{Audio_SpectraCLI-3.1 → Audio_SpectraCLI-3.2}/Audio_SpectraCLI.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|