|
NvsAudioFx | appendFx (String fxName) |
| Adds an audio effect to the end of the audio clip. More...
|
|
NvsAudioFx | insertFx (String fxName, int fxIndex) |
| Inserts an audio effect at the specified effect index on the audio clip. More...
|
|
NvsAudioFx | appendCustomFx (NvsCustomAudioFx.Renderer customAudioFxRender) |
| Appends custom audio effect to the clip. More...
|
|
NvsAudioFx | insertCustomFx (NvsCustomAudioFx.Renderer customAudioFxRender, int fxIndex) |
| Inserts a custom audio effect at the specified effect index on the clip. More...
|
|
boolean | removeFx (int fxIndex) |
| Removes audio effect by index,The subsequent audioFx index moves forward. More...
|
|
boolean | removeAllFx () |
| Removes all effects. More...
|
|
NvsAudioFx | getFxByIndex (int fxIndex) |
| Gets audio effect by index. More...
|
|
void | setFadeInDuration (long duration) |
| Sets the fade-in time. More...
|
|
long | getFadeInDuration () |
| Gets fade-in time. More...
|
|
void | setFadeOutDuration (long duration) |
| Sets fade-out time. More...
|
|
long | getFadeOutDuration () |
| Gets fade-out time. More...
|
|
NvsTimeline | getInternalTimeline () |
| Gets the internal timeline object from the clip. More...
|
|
long | getTrimIn () |
| Gets the trim in point of the clip. More...
|
|
long | getTrimOut () |
| Gets the trim out point of the clip. More...
|
|
boolean | moveTrimPoint (long offset) |
| Move trim points of clip(in microseconds) More...
|
|
long | getInPoint () |
| Gets the in-point of the clip on the timeline. More...
|
|
long | getOutPoint () |
| Gets the out-point of the clip on the timeline. More...
|
|
int | getType () |
| Gets the clip type (video clip, audio clip). More...
|
|
int | getClipMode () |
| Gets the clip mode (media clip, timeline clip). More...
|
|
int | getIndex () |
| Gets the index of the clip on the track. More...
|
|
boolean | changeClipMode (int clipMode) |
| Change the clip mode. More...
|
|
boolean | changeFilePath (String filePath) |
| Change the clip file path. More...
|
|
boolean | changeInternalTimeline (NvsTimeline timeline) |
| Change the clip internal timeline. More...
|
|
String | getFilePath () |
| Gets the clip file path. More...
|
|
int | getFxCount () |
| Gets the number of effects on the clip. Note: The effect index on the clip starts from 0. More...
|
|
long | changeTrimInPoint (long newTrimInPoint, boolean affectSibling) |
| Modifies the trim in point of the clip. More...
|
|
long | changeTrimOutPoint (long newTrimOutPoint, boolean affectSibling) |
| Modifies the trim out point of the clip. More...
|
|
double | getSpeed () |
| Get the playback speed of the clip. More...
|
|
boolean | isKeepAudioPitch () |
| Is keep the tone unchanged. More...
|
|
void | changeSpeed (double newSpeed) |
| Changes the playback speed of the clip. More...
|
|
boolean | changeCurvesVariableSpeed (String curvesString, boolean keepAudioPitch) |
| Changes the playback speed of the clip by curves(only support for video clip). More...
|
|
String | getClipVariableSpeedCurvesString () |
| get current variable speed curves of clip. More...
|
|
NvsAudioFx | getAudioVolumeFx () |
| Gets the audio volume effect of the clip. More...
|
|
void | changeSpeed (double newSpeed, boolean keepAudioPitch) |
| Changes the playback speed of the clip. More...
|
|
void | setVolumeGain (float leftVolumeGain, float rightVolumeGain) |
| Sets the volume. More...
|
|
NvsVolume | getVolumeGain () |
| Gets volume. More...
|
|
NvsVolume | getRealVolumeAtTime (long time) |
| Get the real-time volume at a specified time point. More...
|
|
void | setLoopAudio (boolean loop) |
| Sets whether to loop audio if the clip' trim out go beyond its audio stream's duration. More...
|
|
boolean | getLoopAudio () |
| Gets whether to loop audio if the clip' trim out go beyond its audio stream's duration. More...
|
|
long | GetClipPosByTimelinePosCurvesVariableSpeed (long timelinePos) |
| Gets the pos in clip by current timeline pos when used curves variable speed. More...
|
|
long | GetTimelinePosByClipPosCurvesVariableSpeed (long clipPos) |
| Gets the pos in timelne by current clip pos when used curves variable speed. More...
|
|
void | setAttachment (String key, Object value) |
| Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More...
|
|
void | setTemplateAttachment (String key, String value) |
| Adds additional template data to the NvsObject object to identify the NvsObject template object. More...
|
|
Object | getAttachment (String key) |
| Gets an attachment to NvsObject. More...
|
|
String | getTemplateAttachment (String key) |
| Gets an template attachment to NvsObject. More...
|
|
Audio clip, description of the audio file.
Audio clips can modify trim in and out points, playback speed, etc. Users can also add, insert, remove, and acquire multiple audio effects.
- Warning
- In the NvsAudioClip class, all public APIs are used in the UI thread! ! !