| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // KSAccompanyDraftViewController.h
- // KulexiuForStudent
- //
- // Created by 王智 on 2024/7/18.
- //
- #import "KSBaseViewController.h"
- #import "KSMediaMergeView.h"
- typedef void(^AccompanyMergeCallback)(MERGEBACK backType);
- NS_ASSUME_NONNULL_BEGIN
- @interface KSAccompanyDraftViewController : KSBaseViewController
- @property (nonatomic, strong) NSString *musicSheetId; // 曲子ID
- @property (nonatomic, strong) NSString *musicRenderType; // 谱面类型
- @property (nonatomic, strong) NSString *recordId;
- @property (nonatomic, strong) NSString *songName;
- @property (nonatomic, strong) NSString *coverImage;
- @property (nonatomic, strong) NSString *desc;
- @property (nonatomic, assign) float musicSpeed;
- @property (nonatomic, assign) NSInteger partIndex;
- // 偏移时间 (录制声音和伴奏声音的偏移)offsetTime 收音延迟+ 播放延迟 ms
- - (void)configWithVideoUrl:(NSURL *)videoUrl bgAudioUrl:(NSURL *)bgAudioUrl remoteBgUrl:(NSString *)remoteBgUrl recordUrl:(NSURL *)recordUrl offsetTime:(NSInteger)offsetTime mergeCallback:(AccompanyMergeCallback)callback;
- @end
- NS_ASSUME_NONNULL_END
|