voice-recording


how to save the recorded audio files in another folder programmatically?

泄露秘密 提交于 2020-01-11 09:55:07
问题 i'm trying to save the recorded audio files in a folder that i wanted it to be rather then the default folder. but somehow i failed to do so. my code: Intent recordIntent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); Uri mUri = Uri.fromFile(new File(Environment.getExternalStorageDirectory(), "/Record/sound_"+ String.valueOf(System.currentTimeMillis()) + ".amr")); recordIntent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, mUri); startActivityForResult(recordIntent, RESULT_OK);

SpeakHere voice recorder fails after AVAudioPlayer in iOS

a 夏天 提交于 2020-01-04 17:09:25
问题 I am using Apple's SpeakHere example in my project. I can record voice and play without problems.. The problem occurs when I change the view controller where I am using AVAudioPlayer to play recorded voices.. If I go back to SpeakHereViewController to record once again, then it keeps saying "ERROR: metering failed". Why is it happening? Thanks in advance. 来源: https://stackoverflow.com/questions/17691616/speakhere-voice-recorder-fails-after-avaudioplayer-in-ios

iPhone App › Add voice recognition? [closed]

心不动则不痛 提交于 2019-12-27 10:27:54
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'd like to build an app that uses voice recognition. I've seen big companies like Google etc implement this feature, but I'm curious about doing it on a start-up level. Anyone looked into this? Are there any tools out there for us to do this? 回答1: OpenEars looks promising... http://www.politepix.com/openears/

iPhone App › Add voice recognition? [closed]

不打扰是莪最后的温柔 提交于 2019-12-27 10:27:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'd like to build an app that uses voice recognition. I've seen big companies like Google etc implement this feature, but I'm curious about doing it on a start-up level. Anyone looked into this? Are there any tools out there for us to do this? 回答1: OpenEars looks promising... http://www.politepix.com/openears/

Trying to record voice in android but getting error

ε祈祈猫儿з 提交于 2019-12-23 03:12:31
问题 I am trying to record voice in android emulator (android 4.1). But I when I press the button to start recording then it immediately return from the function and executes next line that logs a message saying "Recorded". Then, I press the stop button and in Logcat message appears that media recorder went away with unhandled events. If I again press the button to start recording then I get an error message saying FATAL SIGNAL 11. And I dont know how to access the SD card to see if the file is

is it possible to mute a call while recording the sound in android

一笑奈何 提交于 2019-12-22 11:36:07
问题 I want to build a app where I want to modulate the sound in a call.I have written a code that record the sound nd play it in different pitch.Now I want this feature while calling.I want to mute the call record the sound then play it with diff pitch.How to mute the call but still record the audio. 回答1: This answer works to mute your microphone during a call: Boolean isMuted = false; Then in your event, say an onClick AudioManager audioManager = (AudioManager) getContext().getSystemService

java.lang.IllegalStateException at android.media.MediaRecorder.start(Native Method)

喜夏-厌秋 提交于 2019-12-19 10:16:14
问题 I want to make a voice recorder app but it crashes when i click the "Start Recording" button. I get an error saying java.lang.IllegalStateException at android.media.MediaRecorder.start(Native Method). Ive also attached the log. package com.example.sahil.chuckit; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.app.Activity; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.os.Environment; import java.io.File;

How to record the user voice in Objective-C for iPhone

筅森魡賤 提交于 2019-12-19 04:10:19
问题 I want to record the user voice and then play it back after some time. Is there any way to do this in Objective-C for iPhone? 回答1: Use AVAudioRecorder for doing this. For more help see this tutorial. Hope this helps. 来源: https://stackoverflow.com/questions/1978698/how-to-record-the-user-voice-in-objective-c-for-iphone

How to record the user voice in Objective-C for iPhone

余生长醉 提交于 2019-12-19 04:10:05
问题 I want to record the user voice and then play it back after some time. Is there any way to do this in Objective-C for iPhone? 回答1: Use AVAudioRecorder for doing this. For more help see this tutorial. Hope this helps. 来源: https://stackoverflow.com/questions/1978698/how-to-record-the-user-voice-in-objective-c-for-iphone

Linux pipe audio file to microphone input

假装没事ソ 提交于 2019-12-18 01:14:08
问题 I'm looking for a way to feed audio data from a file into the microphone so when 3rd party applications (such as arecord or Chromium's "search by voice" feature) use the microphone for audio input, they receive the audio data from the file instead. Here's my scenario : An application I wrote records audio data from the microphone (using ALSA) and saves it to a file (audioFile0.raw). At some unknown point in time in the future, some unknown 3rd party application (as in, something I did not

工具导航Map