|
NvsAudioClip | appendClip (String filePath) |
| Appends a clip at the end of the track. More...
|
|
NvsAudioClip | appendClip (String filePath, long trimIn, long trimOut) |
| Appends a clip at the end of the track. More...
|
|
NvsAudioClip | insertClip (String filePath, int clipIndex) |
| Inserts a clip at the specified clip index on the track. More...
|
|
NvsAudioClip | insertClip (String filePath, long trimIn, long trimOut, int clipIndex) |
| Inserts clip at the specified clip index on the track. More...
|
|
NvsAudioClip | addClip (String filePath, long inPoint) |
| Adds audio clip. More...
|
|
NvsAudioClip | addClip (String filePath, long inPoint, long trimIn, long trimOut) |
| Adds audio clip. More...
|
|
NvsAudioClip | getClipByIndex (int clipIndex) |
| Gets clip by index. More...
|
|
NvsAudioClip | getClipByTimelinePosition (long timelinePos) |
| Gets clip by time. More...
|
|
NvsAudioTransition | setBuiltinTransition (int srcClipIndex, String transitionName) |
| Sets built-in transition. More...
|
|
NvsAudioTransition | getTransitionWithSourceClipIndex (int srcClipIndex) |
| Gets audio transition from the source clip index. More...
|
|
int | getType () |
| Get track type. More...
|
|
int | getIndex () |
| Gets track index. More...
|
|
long | getDuration () |
| Gets track length. More...
|
|
int | getClipCount () |
| Gets the number of clips on the track. More...
|
|
long | changeInPoint (int clipIndex, long newInPoint) |
| Modifies the clip's in-point on timeline. More...
|
|
long | changeOutPoint (int clipIndex, long newOutPoint) |
| Modifies the clip's out-point on timeline. More...
|
|
boolean | splitClip (int clipIndex, long splitPoint) |
| Splits the specified clip. More...
|
|
boolean | removeClip (int clipIndex, boolean keepSpace) |
| Removes the specified clip. More...
|
|
boolean | removeRange (long startTimelinePos, long endTimelinePos, boolean keepSpace) |
| Removes all clips within the specified interval, and adjust the timeline in-point or out-point if the clip only partially overlaps the interval. More...
|
|
boolean | moveClip (int clipIndex, int destClipIndex) |
| Removes the specified clip. More...
|
|
boolean | removeAllClips () |
| Removes all the clips. More...
|
|
void | setVolumeGain (float leftVolumeGain, float rightVolumeGain) |
| Sets the volume. More...
|
|
NvsVolume | getVolumeGain () |
| Get the volume information. More...
|
|
void | setAttachment (String key, Object value) |
| Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More...
|
|
Object | getAttachment (String key) |
| Gets an attachment to NvsObject. More...
|
|
Audio track, the collection of audio clips.
An audio track is an entity that holds audio clips. Multiple audio clips can be added or removed from audio track. At the joint of two audio clips, an audio transition could be inserted.
Note: For the meaning of a series of interfaces and parameters of the audio track, please refer to the corresponding interface of the video track NvsVideoTrack.
- Warning
- In the NvsAudioTrack class, all public APIs are used in the UI thread! ! !