How rochakdh/noiseclassificationandreduction works
DeNoiser is a Streamlit audio app for uploading a WAV file or recording from a microphone, denoising it, and displaying both the reduced-noise output and a predicted noise class. The denoising path runs through a callback into spectral feature preparation, model inference, and audio reconstruction; classification is a separate model-based operation invoked by the interface. The tree and excerpts support these main flows, but do not show details of the trained models or dataset contents.
Main entry points: streamlit.py Streamlit interface · implementer.py Denoising pipeline · classification.py Audio classifier · recordedFile.wav Recorded WAV
Components 13
User interface
- Streamlit interface
streamlit.py - Denoise callback
callbacks.py
Audio input
- Microphone recorder
sound.py - Recorded WAV
src/recorded/recordedFile.wav - Browse audio
src/browsefromhere
Denoising
- Denoising pipeline
implementer.py - Denoising model
src/models/sekte_model.h5 - Denoised WAV
src/output/output.wav
Noise classification
- Audio classifier
classification.py - Classification model
src/models/new_audio_classification.hdf5 - Class labels data
src/newdf.csv
Other components
- User
- Path configuration
paths_src.py
Connections 21
- User → Streamlit interface: chooses audio
streamlit.py - Streamlit interface → Microphone recorder: starts recording
streamlit.py - Microphone recorder → Recorded WAV: writes recording
sound.py - Streamlit interface → Recorded WAV: selects recording
streamlit.py - Streamlit interface → Browse audio: selects upload
streamlit.py - Streamlit interface → Denoise callback: registers callback
streamlit.py - Denoise callback → Denoising pipeline: invokes
callbacks.py - Denoising pipeline → Denoising model: loads model
implementer.py - Denoising pipeline → Recorded WAV: reads recording
implementer.py - Denoising pipeline → Browse audio: reads upload
implementer.py - Denoising pipeline → Denoised WAV: writes result
implementer.py - Streamlit interface → Audio classifier: requests class
streamlit.py - Audio classifier → Class labels data: reads labels
classification.py - Audio classifier → Classification model: loads model
classification.py - Audio classifier → Recorded WAV: reads recording
classification.py - Audio classifier → Browse audio: reads upload
classification.py - Streamlit interface → Denoised WAV: plays result
streamlit.py - Streamlit interface → Path configuration: uses configured paths
streamlit.py - Microphone recorder → Path configuration: uses configured paths
sound.py - Denoising pipeline → Path configuration: uses configured paths
implementer.py - Audio classifier → Path configuration: uses configured paths
classification.py