Skip to contents

The difference between er_audio_track and er_layer_audio() is that an er_audio_track will continue to play across multiple clips and can start and stop whenever needed.

Usage

er_audio_track(path, cut_from, cut_to, start, mix_volume)

Arguments

path

string: path to audio file

cut_from

numeric: time value to cut from, in seconds

cut_to

numeric: time value to cut to, in seconds

start

numeric: how many seconds into the video should this audio track start? (default = 0)

mix_volume

numeric: relative volume when mixing this video's audio track with others (default = 1)

Value

A list of class er_audio_track