This Python project performs audio signal processing and analysis, focusing on convolution of audio signals with impulse responses. It uses the ThinkDSP library for digital signal processing operations.
- Load and analyze different audio inputs (examples: caja, guitarra, palmadas)
- Apply various impulse responses (examples: estudio de grabación, plaza che, catedral)
- Perform convolution between input audio and impulse response
- Generate and display time-domain plots, frequency spectra, and spectrograms
- Audio playback of original, impulse, and convolved signals
- Python 3.x
- matplotlib
- numpy
- ThinkDSP library
- Clone this repository
- Install the required packages
- The script will automatically download
thinkdsp.py
if it's not present in the working directory.
Run the Jupyter notebook or Python script. The program will prompt you to:
- Choose an input audio (1: caja, 2: guitarra, 3: palmadas)
- Select an impulse response (1: estudio de grabación, 2: plaza che, 3: catedral, 4: precaution)
The script will then generate various plots and audio outputs for analysis.
- Time-domain plots of input signal, impulse response, and convolved output
- Frequency spectra of input, impulse response, and output
- Spectrograms of input, impulse response, and output
- Audio playback of input, impulse response, and convolved output
This project is designed to run in a Jupyter notebook environment, which allows for interactive audio playback and plot display. Some modifications may be needed to run it as a standalone Python script.