Skip to content

Audalign Other Functions

Ben Miller edited this page Jun 15, 2021 · 8 revisions

Audalign Core Functions

getters and setters for:

  • hash_style: used for fingerprinting only

  • accuracy: used for fingerprinting only

  • freq_threshold: used for every technique

  • multiprocessing: used throughout audalign

  • num_processors: used throughout audalign. If None, uses all system processes.

  • save_fingerprinted_files: saves fingerprints to file in either json or pickle.

  • load_fingerprinted_files: loads fingerprints from either json or pickle file.

  • filter_duplicates: used internally, shouldn't use this unless manually messing with fingerprints.

  • clear_fingerprints: Clears all fingerprints.

  • fingerprint_directory: fingerprints directory for use in recognize.

  • fingerprint_file: fingerprints file for use in recognize.

Helpful and Useful Functions

  • write_processed_file: writes audio file to another audio file after regular processing. 1 channel, normalized, 16 bit, 44100 hertz.
  • plot: plots peaks calculated on spectrogram of audio file.
  • get_metadata: returns metadata returned from ffmpeg.
  • write_shifted_file: like write_processed_file but places given seconds of silence in front.
  • convert_audio_file: converts audio file to given format if ffmpeg supports it.
  • remove_noise_file: wrap around timsainburg's Noisereduce
  • remove_noise_directory: wrap around timsainburg's Noisereduce
Clone this wiki locally