项目
在 GitHub 查看 
spenciefy/SYWaveformPlayer
关于
Simple waveform audio player using SCWaveformView
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文SYWaveformPlayer
Simple waveform audio player using SCWaveformView
Main features:
- Shows play progress
- Easily customizable (color, size, etc.)
- Scrub audio

This project's waveform uses https://github.com/rFlex/SCWaveformView
To use, just drag the SYWaveformPlayer folder into your project and #import "SYWaveformPlayerView.h"
Example
//Create AVURLAsset for waveform creation and audio playback
AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:[[NSBundle mainBundle] URLForResource:@"I Need A Dollar" withExtension:@"mp3"] options:nil];
//Initialize view, set AVURLAsset, frame, color
SYWaveformPlayerView *playerView = [[SYWaveformPlayerView alloc] initWithFrame:CGRectMake(0, 160, self.view.frame.size.width, 30) asset:asset color:[UIColor lightGrayColor] progressColor:[UIColor colorWithRed:1 green:0.2 blue:0.2 alpha:1]];
[self.view addSubview:playerView];
探索相关项目
加载中…