音频轨道,音频片段的集合。音频轨道是容纳音频片段的实体。每条音频轨道可以添加或者移除多个音频片段。一个音频片段播放到另一个音频片段时,需要进行音频转场设置,以便过渡衔接。注:对于音频轨道的一系列接口及所其属参数含义,请参照视频轨道NvsVideoTrack的对应接口来对照理解。
更多...
|
| constructor () |
|
| insertClip (audioFilePath, insertPoint) |
| 添加片段 更多...
|
|
| insertClip2 (audioFilePath, trimIn, trimOut, insertPoint) |
| 插入片段 更多...
|
|
| appendClip (audioFilePath) |
| 追加片段 更多...
|
|
| appendClip2 (audioFilePath, trimIn, trimOut) |
| 追加片段 更多...
|
|
| addClip (audioFilePath, inPoint) |
| 添加片段 更多...
|
|
| addClip2 (audioFilePath, inPoint, trimIn, trimOut) |
| 添加片段 更多...
|
|
| addClipWithSpeedExt (audioFilePath, inPoint, outPoint, speed, keepAudioPitch) |
| 添加速度片段 更多...
|
|
| addClipWithSpeedExt2 (audioFilePath, inPoint, outPoint, trimIn, trimOut, speed, keepAudioPitch) |
| 添加速度片段 更多...
|
|
| getClipByIndex (index) |
| 根据索引获取片段 更多...
|
|
| getClipByTimelinePosition (timelinePos) |
| 根据时间线位置获取片段 更多...
|
|
| setBuiltinTransition (srcClipIndex, transitionName) |
| 设置内置转场 更多...
|
|
| getTransitionBySourceClipIndex (srcClipIndex) |
| 根据原片段索引获取转场 更多...
|
|
| constructor () |
| 特效类。构造器
|
|
| getType () |
| 获取类型 更多...
|
|
| getIndex () |
| 获取轨道索引 更多...
|
|
| getDuration () |
| 获取时长 更多...
|
|
| getClipCount () |
| 获取片段数量 更多...
|
|
| changeInPoint (clipIndex, newInPoint) |
| 改变入点 更多...
|
|
| changeOutPoint (clipIndex, newOutPoint) |
| 改变出点 更多...
|
|
| splitClip (clipIndex, splitPoint) |
| 分割片段 更多...
|
|
| removeClip (clipIndex, keepSpace) |
| 删除片段 更多...
|
|
| removeRange (startTimelinePos, endTimelinePos, keepSpace) |
| 删除区间 更多...
|
|
| moveClip (sourceClipIndex, targetClipIndex) |
| 移动片段 更多...
|
|
| moveClipByPositions (sourceClipIndex, targetTimelinePos, isInsertTarget, keepSpace) |
| 根据位置,移动片段 更多...
|
|
| removeAllClips () |
| 删除所有片段 更多...
|
|
| setVolumeGain (leftVolumeGain, rightVolumeGain) |
| 设置音量增益 更多...
|
|
| getVolumeGain () |
| 获取音量增益 更多...
|
|
| constructor () |
|
| setInternalObject (obj) |
| 设置内置对象 更多...
|
|
| getInternalObject () |
| 获取内置对象 更多...
|
|
| setTemplateAttachment (key, value) |
| 设置模板附件 更多...
|
|
| getTemplateAttachment (key) |
| 根据键,获取模板属性值 更多...
|
|
音频轨道,音频片段的集合。音频轨道是容纳音频片段的实体。每条音频轨道可以添加或者移除多个音频片段。一个音频片段播放到另一个音频片段时,需要进行音频转场设置,以便过渡衔接。注:对于音频轨道的一系列接口及所其属参数含义,请参照视频轨道NvsVideoTrack的对应接口来对照理解。