Audio Element

PropTypeRequiredExampleValue RangeDescription
externalUrlstringfalse--The URL of the audio file from an external source.
extstringtrue--The file extension of the audio (e.g., "mp3", "wav").
startInSourcenumbertrue--The start time of the audio clip in the source file, in seconds. Usually 0, only differs from 0 when the audio node has been trimmed from the front of the source audio. The sum of startInSource and duration must be less than or equal to sourceDuration.
sourceDurationnumbertrue--The total duration of the source audio file, in seconds. This field should match the actual length of the source audio.
isFrontTrimmedbooleanfalse--Indicates whether the audio has been trimmed from the front of the source audio. Should be set to true when startInSource is not 0.
volumenumbertrue-0 - 1The volume level of the audio element. 1 represents full volume, and 0 represents muted.

Note: The externalUrl must be accessible. The sourceDuration field must match the actual duration of the source audio file. The sum of startInSource and duration must be less than or equal to sourceDuration, which allows you to use only a portion of the audio clip in the timeline - usually startInSource is 0, and only differs from 0 when the audio node has been trimmed from the front of the source audio. When startInSource is not 0, you should set isFrontTrimmed to true. The volume field enables volume adjustments for precise sound control.

audioElement.json
1{ 2 "id": "9bf3d1d3-a961-4457-9dd2-2def3109680a", 3 "type": "Audio", 4 "start": 0, 5 "duration": 131.160813, 6 "trackIndex": 0, 7 "ext": "Flow", 8 "startInSource": 0, 9 "sourceDuration": 131.160813, 10 "volume": 1 11} 12