Proyek
Lihat di GitHub 
spenciefy/SYWaveformPlayer
Tentang
Simple waveform audio player using SCWaveformView
Desain dan mediaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliSYWaveformPlayer
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];
Jelajahi proyek terkait
Memuat…