|
MeiCam SDK For iOS
3.14.4
|
Audio clip, description of the audio file. More...
#import <NvsAudioClip.h>
Instance Methods | |
| (NvsAudioFx *) | - appendFx: |
| Appends special effects at the end of the clip. More... | |
| (NvsAudioFx *) | - insertFx:fxIndex: |
| Inserts a special effect at the index of the specified effect on the clip. More... | |
| (NvsAudioFx *) | - appendCustomFx: |
| Appends custom audio effect to the clip. More... | |
| (NvsAudioFx *) | - insertCustomFx:fxIndex: |
| Inserts a custom audio effect at the specified effect index on the clip. More... | |
| (BOOL) | - removeFx: |
| Removes the special effect from the specified index,The subsequent audioFx index moves forward. More... | |
| (NvsAudioFx *) | - getFxWithIndex: |
| Gets the special effect by index. More... | |
| (BOOL) | - removeAllFx |
| Remove all the effects. More... | |
Instance Methods inherited from NvsClip | |
| (NvsTimeline *) | - getInternalTimeline |
| Get the internal timeline object from the clip. More... | |
| (BOOL) | - changeFilePath: |
| Change the clip file path. More... | |
| (int64_t) | - changeTrimInPoint:affectSibling: |
| Change the trimming in point of the clip. More... | |
| (BOOL) | - moveTrimPoint: |
| Move trim points of clip(in microseconds) More... | |
| (int64_t) | - changeTrimOutPoint:affectSibling: |
| Change the trimming out point of the clip. More... | |
| (double) | - getSpeed |
| Get the playback speed of the clip. More... | |
| (void) | - changeSpeed: |
| Change the playback speed of the clip. More... | |
| (void) | - changeSpeed:keepAudioPitch: |
| Change the playback speed of the clip. More... | |
| (BOOL) | - isKeepAudioPitch |
| Get Audio Pitch State. More... | |
| (BOOL) | - changeCurvesVariableSpeed:keepAudioPitch: |
| Changes the playback speed of the clip by curves(only support for video clip). More... | |
| (NSString *) | - getClipVariableSpeedCurvesString |
| get current variable speed curves of clip. More... | |
| (int64_t) | - getClipPosByTimelinePosCurvesVariableSpeed: |
| Gets the pos in clip by current timeline pos when used curves variable speed. More... | |
| (int64_t) | - getTimelinePosByClipPosCurvesVariableSpeed: |
| Gets the pos in timeline by current clip pos when used curves variable speed. More... | |
| (void) | - setVolumeGain:rightVolumeGain: |
| Set the channels (left and right). More... | |
| (void) | - getVolumeGain:rightVolumeGain: |
| Get the channel values (left and right) More... | |
| (void) | - getRealVolumeAtTime:rightVolumeGain:time: |
| Get the real-time volume at a specified time point. More... | |
| (void) | - setLoopAudio: |
| Sets whether to loop audio if the clip' trim out go beyond its audio stream's duration. More... | |
| (BOOL) | - getLoopAudio |
| Gets whether to loop audio if the clip' trim out go beyond its audio stream's duration. More... | |
| (NvsAudioFx *) | - getAudioVolumeFx |
| Gets the audio volume effect of the clip. More... | |
Instance Methods inherited from NvsObject | |
| (void) | - setAttachment:forKey: |
| Adds an attachment to the NvsObject object to identify the object of the NvsObject or for other purposes. More... | |
| (void) | - setTemplateAttachment:forKey: |
| Adds additional template data to the NvsObject object to identify the NvsObject template object. More... | |
| (NSObject *) | - getAttachment: |
| Gets attached attachments. More... | |
| (NSString *) | - getTemplateAttachment: |
| Gets an template attachment to NvsObject. More... | |
Properties | |
| int64_t | fadeInDuration |
| Fade in duration (in microseconds), 0 means no fade-in.Duration must >= 0. More... | |
| int64_t | fadeOutDuration |
| Fade out duration (in microseconds), 0 means no fade-out.Duration must >= 0. More... | |
Properties inherited from NvsClip | |
| int64_t | trimIn |
| Clip triming in point (in microseconds). More... | |
| int64_t | trimOut |
| Clip triming out point (in microseconds). More... | |
| int64_t | inPoint |
| The in point of the clip on the timeline (in microseconds). More... | |
| int64_t | outPoint |
| The out point of the clip on the timeline (in microseconds). More... | |
| NvsClipType | type |
| Clip type (video, audio). More... | |
| unsigned int | index |
| The index of the clip on the track. More... | |
| NSString * | filePath |
| File path of clip. More... | |
| unsigned int | fxCount |
| The count of special effects on the clip. More... | |
Audio clip, description of the audio file.
For audio clips, users can set its triming in-point and out-point, play speed, etc. Users can also add, insert, remove, and acquire multiple audio effects.
| - (NvsAudioFx *) appendCustomFx: | (id< NvsCustomAudioFxRenderer >) | customAudioFxRender |
Appends custom audio effect to the clip.
| NvsCustomAudioFx.Renderer | User-implemented custom audio effect renderer interface. |
| - (NvsAudioFx *) appendFx: | (NSString *) | fxName |
Appends special effects at the end of the clip.
| fxName | The name of special effect,please refer to getAllBuiltinAudioFxNames() or The List of Built-in Effect Name. |
| - (NvsAudioFx *) getFxWithIndex: | (unsigned int) | fxIndex |
Gets the special effect by index.
| fxIndex | The index of the special effect. Range [0, getFxCount()) |
| - (NvsAudioFx *) insertCustomFx: | (id< NvsCustomAudioFxRenderer >) | customAudioFxRender | |
| fxIndex: | (unsigned int) | fxIndex | |
Inserts a custom audio effect at the specified effect index on the clip.
| NvsCustomAudioFx.Renderer | User-implemented custom audio effect renderer interface. |
| fxIndex | audio effects' index to insert at.Range [0, getFxCount() - 1 ). If index is outOfRange,It will be add in the end. |
| - (NvsAudioFx *) insertFx: | (NSString *) | fxName | |
| fxIndex: | (unsigned int) | fxIndex | |
Inserts a special effect at the index of the specified effect on the clip.
| fxName | The name of special effect,please refer to getAllBuiltinAudioFxNames() or The List of Built-in Effect Name. |
| fxIndex | The index of the specified effect. Range [0, getFxCount() - 1 ). If index is outOfRange,It will be add in the end. |
| - (BOOL) removeAllFx |
Remove all the effects.
| - (BOOL) removeFx: | (unsigned int) | fxIndex |
Removes the special effect from the specified index,The subsequent audioFx index moves forward.
| fxIndex | The index of the special effect. Range [0, getFxCount()) |
|
readwritenonatomicassign |
Fade in duration (in microseconds), 0 means no fade-in.Duration must >= 0.
|
readwritenonatomicassign |
Fade out duration (in microseconds), 0 means no fade-out.Duration must >= 0.
1.8.18