Skip to content
Proyek

Tentang

POVoiceHUD is a HUD for voice recording on iOS devices with Google Translate Voice Input like interface.

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan 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

Asli

POVoiceHUD

POVoiceHUD is a HUD for voice recording on iOS devices. Its interface designed like Google Translate's Voice Input interface on mobile applications. It currently records 20 seconds of voice input and stores in a local file on the device. If user stops talking before 20 seconds, it stops recording.

Screen Shot Sample

Usage

1. On viewDidLoad event create the POVoiceHUD instance.

self.voiceHud = [[POVoiceHUD alloc] initWithParentView:self.view];
self.voiceHud.title = @"Speak Now";

[self.voiceHud setDelegate:self];
[self.view addSubview:self.voiceHud];

2. Use startForFilePath method to start recording.

[self.voiceHud startForFilePath:[NSString stringWithFormat:@"%@/Documents/MySound.caf", NSHomeDirectory()]];

3. Done.

POVoiceHUD will appear on your view after startForFilePath is called and will call appropriate delegate (POVoiceHUDDelegate) methods for notifying you.

Required Frameworks

There are no 3rd party frameworks required for POVoiceHUD but you need to add some existing frameworks comes with iOS SDK.

  • AVFoundation.framework
  • AudioToolbox.framework
  • CoreGraphics.framework
  • QartzCore.framework

Contribution

Anyone is free to use this project in both open source and commercial projects.

Jelajahi proyek terkait

Memuat…