neuralmonkey.readers.audio_reader module¶
-
class
neuralmonkey.readers.audio_reader.Audio¶ Bases:
neuralmonkey.readers.audio_reader.AudioA raw audio object with its rate as metadata.
- Attribute:
- rate: The sample rate of the audio. data: The raw audio data.
-
neuralmonkey.readers.audio_reader.audio_reader(prefix: str = '', audio_format: str = 'wav') → Callable¶ Get a reader of audio files loading them from a list of pahts.
Parameters: prefix – Prefix of the paths to the audio files. Returns: The reader function that takes a list of audio file paths (relative to provided prefix) and returns a list of numpy arrays.