ExecuteNTimesAudioReaderSoundfile
Python template · sinapsis_data_readers.templates.audio_readers.audio_reader_soundfile
Overview
This template provides functionality to read multiple audios, each of them assigned to its own DataContainer and to its own reader process. Similar to its base class, it reads the audio using the Soundfile library, n_times_execute determines the number of times the template's execute method is called. By default, it only gets called once. Further calls to execute are bypassed.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-data-readers==1.0.0uv pip install sinapsis-data-readers==1.0.0uv add sinapsis-data-readers==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: "f8beca0a-1ed4-4fd3-a751-cbbda0405dca"
Optional
Default: null
Optional
Default: null
Required
Default: null
Optional
Default: 1
Configuration example
Generated from documented defaults. Replace any placeholders and complete required nested settings before running.
templates:
- template_name: "ExecuteNTimesAudioReaderSoundfile"
class_name: "ExecuteNTimesAudioReaderSoundfile"
attributes:
source: "f8beca0a-1ed4-4fd3-a751-cbbda0405dca"
root_dir: null
audio_file_path: "<required>"
n_times_execute: 1
Inheritance
sinapsis_data_readers.templates.audio_readers.audio_reader_soundfile.ExecuteNTimesAudioReaderSoundfileEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.