VideoEditorControllerAudio extension
Properties
- selectedAudioTrack → VideoEditorAudioTrack?
-
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
The audio track matching the current selection, if any.no setter
Methods
-
addAudioTrack(
VideoEditorAudioTrack track) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
Adds a single audio track (used by AI music/voiceover generation) and records the change in history. -
pickAudio(
) → Future< void> -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
previewAudioTrim(
String id, {Duration? fileStart, Duration? fileEnd}) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
Live trim while a timeline handle is dragged; commit with saveState. -
removeAudioTrack(
dynamic idOrIndex) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
replaceAudioTrackFile(
String id, File file, {Duration? duration}) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
Swaps the media file of an existing track (used after AI enhancement). -
saveAudioPosition(
) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
selectAudioTrack(
String id) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
setAudioTrackVolume(
String id, double volume) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
Sets the volume (0..2) of the track withid. -
toggleAudioMute(
int index) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
updateAudioPosition(
String id, Duration newStartTime) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
updateAudioTrim(
{required dynamic idOrIndex, required Duration startTime, required Duration endTime}) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension
-
updateAudioVolume(
int index, double value) → void -
Available on VideoEditorController, provided by the VideoEditorControllerAudio extension