audio-recording

How can i pause voice recording in Android?

风流意气都作罢 提交于 2020-01-01 03:01:51
问题 My aim is to pause in recording file. I see in Android developer site its but Media Recorder have not pause option. Java supports merge two audio file programatically but In android its not work. Join two WAV files from Java? And also I used default device audio recorder Apps which is available in all device but in Samsung few devices have not returened recording path. Intent intent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent,REQUESTCODE_RECORDING);

Seemingly random file corruption using AVAudioRecorder (Sometimes the file can't be played back) - iOS

限于喜欢 提交于 2019-12-31 22:03:31
问题 In an app I'm currently developing, I've more or less hit a brick wall. In the application you can enter a view which lists all locally saved audio files in a standard table view. From here you can click on them to play them, or hit a record button below to make a new recording, which will afterwards automatically get saved to the apps sandbox. Now all of this actually works perfectly fine, most of the time. I can sit and make recordings and play them back. I can sit and test this on and on

AVCaptureSession Record Video With Audio

萝らか妹 提交于 2019-12-31 09:20:13
问题 I have my app set up to record video from the camera using an AVCaptureSession, however, there is no audio with it. What do I need to do to record audio and then add it to the videoOutput for the file? Here is my code for recording the video: AVCaptureSession *session = [[AVCaptureSession alloc] init]; [session beginConfiguration]; session.sessionPreset = AVCaptureSessionPresetMedium; CALayer *viewLayer = self.vImagePreview.layer; NSLog(@"viewLayer = %@", viewLayer);

How do I stop GC_CONCURRENT running so frequently?

泪湿孤枕 提交于 2019-12-30 02:25:06
问题 I am using a thread which records the audio using AudioRecord class and placed in recorderBUffer (which is a linked list of Short[]) , a separate thread which does the encoding of this data and place it to a playerBuffer(linked list[]). For playing the Audio I am using AudioTrack class and onPeriodicNotification() I read the data from playerBuffer and write it to track. The code is simple and straight forwards as it appears. However it doesnt work the way it should. GC_CONCURRENT eats of all

Am I doing the right thing to convert decibel from -120 - 0 to 0 - 120

给你一囗甜甜゛ 提交于 2019-12-29 13:31:46
问题 I will like to measure the sound volume of the surrounding, not too sure if I am doing the right thing. I will like to create a VU meter of a range of 0(quiet) to 120(very noisy). I gotten the Peak and Avg power but are very high in normal quiet environment. Do give me some pointer. - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //creating an audio CAF file in the temporary directory, this isn’t ideal but it’s the only way

Appropriate audio capture and noise reduction

╄→尐↘猪︶ㄣ 提交于 2019-12-29 08:19:33
问题 In my android application I need to capture the user's speech from the microphone and then pass it to the server. Currently, I use the MediaRecorder class. However, it doesn't satisfy my needs, because I want to make glowing effect, based on the current volume of input sound, so I need an AudioStream, or something like that, I guess. Currently, I use the following: this.recorder = new MediaRecorder(); this.recorder.setAudioSource(MediaRecorder.AudioSource.MIC); this.recorder.setOutputFormat

How to record sound produced by mixer unit output (iOS Core Audio & Audio Graph)

☆樱花仙子☆ 提交于 2019-12-28 08:12:47
问题 I'm trying to record sound produced by a mixer unit output. For the moment, my code is based on the apple MixerHost iOS app demo : A mixer node is connected to a remote IO node on the audio graphe. And i try to set an input callback on the remote IO node input on the mixer output. I do something wrong but I can not find the error. Here is the code below. This is done just after the Multichannel Mixer unit Setup : UInt32 flag = 1; // Enable IO for playback result = AudioUnitSetProperty(iOUnit,

C# recording audio from soundcard [closed]

血红的双手。 提交于 2019-12-28 03:38:06
问题 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 want to record audio from my soundcard(output). I've found CSCore on codeplex but I could not find any examples. Does anyone know how to use the library to record audio from my soundcard and write the record data onto the harddrive? Or does anyone know a few tutorials on that library? 回答1: Take a look at the

Live Audio Recording and Playing in Android and Thread & callback handling

社会主义新天地 提交于 2019-12-27 19:14:13
问题 I want to record the live audio and play it.As far as UI is concerned the app just has three buttons:one for start recording and streaming it, one for playing a pre recorded file and the last one for stopping the current task(recording / playing). For that purpose I have used AudioRecord and AudioTrack classes for recording and playing respectively. My Program looks like.... /** * @author amit * */ public class AudioRecorder extends Activity { private String LOG_TAG = null; /* variables which

Live Audio Recording and Playing in Android and Thread & callback handling

≡放荡痞女 提交于 2019-12-27 19:13:57
问题 I want to record the live audio and play it.As far as UI is concerned the app just has three buttons:one for start recording and streaming it, one for playing a pre recorded file and the last one for stopping the current task(recording / playing). For that purpose I have used AudioRecord and AudioTrack classes for recording and playing respectively. My Program looks like.... /** * @author amit * */ public class AudioRecorder extends Activity { private String LOG_TAG = null; /* variables which