Shortcuts

flash.core.data.utilities.loading.load_spectrogram

flash.core.data.utilities.loading.load_spectrogram(file_path, sampling_rate=16000, n_fft=400)[source]

Load a spectrogram from an image or audio file.

Parameters
  • file_path (str) – The file to load.

  • sampling_rate (int) – The sampling rate to resample to if loading from an audio file.

  • n_fft (int) – The size of the FFT to use when creating a spectrogram from an audio file.

Read the Docs v: stable
Versions
latest
stable
0.8.2
0.8.1.post0
0.8.1
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
Downloads
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.