Skip to content

Version 1.2.0

Choose a tag to compare

@davewalker5 davewalker5 released this 13 Apr 20:11
· 18 commits to main since this release
6d5379c

Configuration Profiles

  • Added support for multiple named configuration profiles in the config.json file
  • The file now has the following structure:
{
    "default": {

    },
    "heterodyne": {

    }
}
  • It's a dictionary of dictionaries, each one representing a named set of parameters
  • On the command line, the profile to use is specified using:
--profile "<name>"
  • This can be specified for the spectrogram plotting, noise detection and audio processing options
  • If no profile is specified, the default profile is used
  • For example, to process a file using the heterodyne processing parameters, the command line would be:
source ./venv/bin/activate
python -m spectrogram --config config.json --profile "heterodyne" --input /path/to/audio/file.wav --output /path/to/output/file.wav --process