pydrobert.speech.config
Package constants used throughout pydrobert.speech
- pydrobert.speech.config.EFFECTIVE_SUPPORT_THRESHOLD = 0.0005
Value considered roughly zero for support computations
No function is compactly supported in both the time and Fourier domains, but large regions of either domain can be very close to zero. This value serves as a threshold for zero. The higher it is, the more accurate computations will be, but the longer they will take
- Type:
- pydrobert.speech.config.LOG_FLOOR_VALUE = 1e-05
Value used as floor when taking log in computations
- Type:
- pydrobert.speech.config.SOUNDFILE_SUPPORTED_FILE_TYPES
A list of the types of files SoundFile will be responsible for reading
If
soundfilecan be imported, it’s the intersection ofsoundfile.available_formats()with the set “wav”, “ogg”, “flac”, and “aiff”.See also
pydrobert.speech.util.read_signalWhere this flag is used
- Type:
- pydrobert.speech.config.USE_FFTPACK
Whether to use
scipy.fftpackThe scipy implementation of the FFT can be much faster than the numpy one. This is set automatically to
Trueifscipy.fftpackcan be imported. It can be set toFalseto use the numpy implementation.- Type: