Python tools to train CNN on ENF Spectrograms from Audio Sources
- python environment for pyenf tools
- Python Version = 3.6.13
- Environments used are mentioned in environment-enfenv.yml
- python environment for training CNN models with fastai library
- Python Version = 3.11.5
- Environments used are mentioned in environment-enfdnn.yml
- the script to generate spectrograms from audio files
- environment: enfenv
- input: input_dir variable that stores the name of directory with WAV files
- output: output_dir variable that stores the name of directory where spectrograms in PNG format will be stored
- edit input/output variables and run the script from command line
python pyENF_spectrogram_gen.py
- notebook to interactively inspect spectrograms from audio files
- environment: enfenv
- a script to cut WAV file to create a forged data
- directory that contains script to generate a video of consequent set of spectrogram samples
- directory with training code for Noise and Forging detectors
- a script to inspect presence of ENF in audio recording by cross correlation with power recording