_ _ _ ____ _ ____ _ ___
/ _ _ __| (_) ___ / ___| _ __ ___ ___| |_ _ __ __ _ / ___| | |_ _|
/ _ | | | |/ _` | |/ _ _______ | '_ / _ / __| __| '__/ _` | | | | | |
/ ___ |_| | (_| | | (_) |_____|__) | |_) | __/ (__| |_| | | (_| | |___| |___ | |
/_/ ___,_|__,_|_|___/ |____/| .__/ ___|___|__|_| __,_|____|_____|___|
|_|
Audio-SpectraCLI/
├── .gitignore
├── CODE_OF_CONDUCT.md
├── Contributing.md
├── Dockerfile
├── LICENSE
├── Readme.md
├── requirements.txt
├── setup.cfg
├── setup.py
├── .github/
│ └── workflows/
│ ├── docker-publish.yml
│ ├── label.yml
│ └── python-publish.yml
├── Audio_SpectraCLI/
│ ├── main-old.py
│ ├── main.py
│ └── __init__.py
└── tests/
├── ├── test-old.py
├── └── test.py
└── audiospectra-cli/
├── assets
├── dist
├── src/
│ ├── test
│ ├── extension.test.ts
│ └── extension.ts
├── audio-spectracli-extension-v.vsix
├── CHANGELOG.md
├── ebuild.js
├── eslint.config.mjs
├── package.json
├── package-lock.json
├── README.md
├── sample.py
└── tsconfig.json
Follow these steps to use the Audio-SpectraCLI extension in Visual Studio Code:
Open Visual Studio Code
Install the Audio-SpectraCLI Extension
Ctrl+Shift+X on Windows/Linux or Cmd+Shift+X on macOS).Activate the Extension
F1 or Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS.>Audio-SpectraCLI: Add Sample Code or >Audio-SpectraCLI: View Status.Using the Commands
Audio-SpectraCLI: Add Sample Code from the Command Palette.Audio-SpectraCLI: View Status from the Command Palette.Verify the Extension
Customize as Needed
Note: If you encounter issues, check the extension's README or reach out to [email protected] support for troubleshooting.
Enjoy using Audio-SpectraCLI in VS Code!
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. Also, the user can modify (wrt v4.1.0) the Duration (in seconds), Sampling Rate (in Hz), and Block Size.
pip install Audio-SpectraCLI
from Audio_SpectraCLI import AudioSpectrumVisualizer
from PyQt5.QtWidgets import QApplication
# Creating an instance of AudioSpectrumVisualizer with custom parameters
app = QApplication([])
audio_visualizer = AudioSpectrumVisualizer(
duration=5, fs=22050, block_size=1024, frequency_range=(1000, 5000), color='red')
# Starting the audio spectrum visualization
audio_visualizer.show()
app.exec_()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. Also, the user can modify (wrt v4.1.0) the Duration (in seconds), Sampling Rate (in Hz), and Block Size.
brew install pyaudio
pip install Audio-SpectraCLI
from Audio_SpectraCLI import AudioSpectrumVisualizer
from PyQt5.QtWidgets import QApplication
# Creating an instance of AudioSpectrumVisualizer with custom parameters
app = QApplication([])
audio_visualizer = AudioSpectrumVisualizer(
duration=5, fs=22050, block_size=1024, frequency_range=(1000, 5000), color='red')
# Starting the audio spectrum visualization
audio_visualizer.show()
app.exec_()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. Also, the user can modify (wrt v4.1.0) the Duration (in seconds), Sampling Rate (in Hz), and Block Size.
You can pull the pre-built Docker image from Docker Hub using the following command:
docker pull adityaseth777/audio-spectraclidocker run --rm -it --entrypoint /bin/bash audio-spectraclilsfrom Audio_SpectraCLI import AudioSpectrumVisualizer
from PyQt5.QtWidgets import QApplication
# Creating an instance of AudioSpectrumVisualizer with custom parameters
app = QApplication([])
audio_visualizer = AudioSpectrumVisualizer(
duration=5, fs=22050, block_size=1024, frequency_range=(1000, 5000), color='red')
# Starting the audio spectrum visualization
audio_visualizer.show()
app.exec_()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. Also, the user can modify (wrt v4.1.0) the Duration (in seconds), Sampling Rate (in Hz), and Block Size.
If you prefer to build the Docker image locally, follow these steps:
git clone https://github.com/AdityaSeth777/Audio-SpectraCLI.git
cd Audio-SpectraCLIdocker build -t audio-spectracli .docker run --rm -it --entrypoint /bin/bash audio-spectraclilsfrom Audio_SpectraCLI import AudioSpectrumVisualizer
from PyQt5.QtWidgets import QApplication
# Creating an instance of AudioSpectrumVisualizer with custom parameters
app = QApplication([])
audio_visualizer = AudioSpectrumVisualizer(
duration=5, fs=22050, block_size=1024, frequency_range=(1000, 5000), color='red')
# Starting the audio spectrum visualization
audio_visualizer.show()
app.exec_()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. Also, the user can modify (wrt v4.1.0) the Duration (in seconds), Sampling Rate (in Hz), and Block Size.
Check the Contributing page.
MIT © Aditya Seth
I will be improving this project.
Contact: [email protected]
? If you like this project, give it a and share it with friends!