audio-recording

Error recording voice at16000 khz 16bit mono little endian wav file in android device [duplicate]

狂风中的少年 提交于 2019-12-11 11:51:52
问题 This question already exists : Closed 7 years ago . Possible Duplicate: how to convert or record .wav file in 16khz 16bit mono little-endian? I want to implement audio recording from an android device at 16000 khz 16bit mono little endian wav file. I had implemented the logic in android like this. I'm using one class name as extaudiorecorder. public class ExtAudioRecorder { private final static int[] sampleRates = {44100, 22050, 11025, 16000}; public static ExtAudioRecorder getInstanse

How to save a recorded audio with reverb effect

瘦欲@ 提交于 2019-12-11 11:09:15
问题 I am using theamazingaudioengine for recording, playing and adding effects like reverb for an iOS app. I can record, play the recorded audio along with the reverb effect. But I am unable to save audio file with the reverb effect to the gallery. Can any one please help me with this. I am saving the recorded audio like this. ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; NSArray *documentsFolders = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);

CSCore: How to apply an effect during audio capture

◇◆丶佛笑我妖孽 提交于 2019-12-11 11:09:14
问题 First of all: I found already this question: Is it possible to capture audio output and apply effects to it?. But it does not answer my question. My problem: I've asked how to record the audio output with cscore a few month ago: C# recording audio from soundcard. All that works fine, but now I would like to extend my application. I would like to offer the ability to apply effects to the recorded audio in realtime. I've already found this documentation: http://cscore.codeplex.com/wikipage

IOS 8 AVAudioRecorder change sample fomat

∥☆過路亽.° 提交于 2019-12-11 09:32:18
问题 I'm building a app where one of the functions is to record a voice message I want sample format 16-bit PCM but i cant seem to get it right. I have tried lots of diffrent settings but everytime i check the file in audacity it says 32-bit float. This is my current recorderSettings var recorderSettings = [NSObject: AnyObject]() recorderSettings[AVFormatIDKey] = kAudioFormatALaw recorderSettings[AVSampleRateKey] = 16000 recorderSettings[AVNumberOfChannelsKey] = 1 recorderSettings

How to crop audio in ios

喜你入骨 提交于 2019-12-11 08:06:01
问题 I'm wondering how can I crop some part of voice and audio and make them together in single file using Objective-C code. Should I use C++ library? Want to convert avaudiorecorder to data and choose some parts. 来源: https://stackoverflow.com/questions/13604879/how-to-crop-audio-in-ios

Android Mediarecorder: Getting 3GP instead of MPEG4

一世执手 提交于 2019-12-11 07:51:03
问题 I want to record video only in android with MPEG4 format. I want the container and codec to be MPEG4. So here is what I have done for that. Thread video = new Thread(new Runnable() { public void run() { videoRecorder = new MediaRecorder(); videoRecorder.setPreviewDisplay(surfaceView.getHolder().getSurface()); videoRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT); videoRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); videoRecorder.setVideoEncodingBitRate(56 * 8 * 1024);

Recording PCM audio in silverlight 4

允我心安 提交于 2019-12-11 06:17:54
问题 I have encountered a strange behavior in Silverlight application and couldn't be able to resolve it after trying many hours. Since I cannot access AudioFormat 's internal constructor in my code (even using reflection caused silverlight security policies to raise an exception), How can I change audio format (in my class which is derived from AudioSink class. Right now, I override the method in my MemoryAudioSink class as follows: protected override void OnFormatChange(AudioFormat audioFormat)

iPhone / IOS No Audio Interruption Ended after playing video in Safari

六月ゝ 毕业季﹏ 提交于 2019-12-11 05:56:58
问题 V4.x We have an app that is recording audio in the background. No problem. 1) Phone call comes in 2) App gets Audio Interruption Event 3) Phone Call ends 4) App gets Audio Interruption Ended Event 5) We popup a Local Notification to restart 6) User says ok 7) We come to front and start the recorder But when someone plays a video in say Safari 1) User plays video in Safari 2) App gets Audio Interruption Event 3) Video Ends / User stops / ends Safari 4) NO Audio Interruption Event. Anyone else

Can't play .amr file in wp8

邮差的信 提交于 2019-12-11 05:36:19
问题 I use AudioVideoCaptureDevice to record the voice and save it to isolated storage with amr format dev = await AudioVideoCaptureDevice.OpenForAudioOnlyAsync(); dev.AudioEncodingFormat = CameraCaptureAudioFormat.Amr; I can play it by windows media player. But I can't play it with SoundEffect in WP8. using (IsolatedStorageFileStream sourceFile = ISF.OpenFile("\\data\\test.amr", FileMode.Open, FileAccess.Read)) { byte[] b = new byte[sourceFile.Length]; sourceFile.Read(b, 0, b.Length); SoundEffect

Android audio recording using phone microphone when handsfree is attached

你。 提交于 2019-12-11 05:34:24
问题 When I connect bluetooth handsfree to Android phone device, is it possible to use phone microphone to record sound and hear it in the handsfree? I manage to record sound by phone microphone and hear it on the phone speaker or headphones. But when the headphones has microphone, typically handsfree, it records sound using handsfree microphone by default. I need to mute somehow handsfree microphone and use phone microphone. Is it possible in Android? I haven't found any answer. At android