• Stars
    star
    234
  • Rank 171,630 (Top 4 %)
  • Language
    Objective-C
  • Created over 11 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.