SoundFileInformation#

class montreal_forced_aligner.data.SoundFileInformation(format, sample_rate, duration, num_channels)[source]#

Bases: object

Data class for sound file information with format, sampling rate, duration, and number of channels

Parameters:
  • format (str) – Format of the sound file

  • sample_rate (int) – Sample rate

  • duration (float) – Duration

  • num_channels (int) – Number of channels

property meta#

Dictionary representation of sound file information