Skip to content

modules.audio.streaming.sources.file_source

Classes Diagram

Module Dependencies

Classes

FileAudioSource

Inherits from: GstreamerSource

Constructor

FileAudioSource(self, folder_path: str, channel_prefix: str, channels_count: int, enable_recording_saves: bool, save_fp: str, record_duration: int)

Members

_folder_path
_channel_prefix
_channels_count
_thread
_continue
_audio_paths
_enable_recording_saves
_range

Methods

_setup(self)

Collect file paths for all channels (auto-detect files inside each channel folder).
Also determines the bounds of the audio files.

Functions

get_wav_dir_bounds(directory: str)