audio-recording

Two-channel recording on the iPhone/iPad: headset + built-in mic

末鹿安然 提交于 2019-12-22 08:08:40
问题 For an app, we have a requirement to record from two different audio sources. One mic is a special (throat) mic and it comes with the same connector that the iPhone headset with mic uses. On a second channel, we would like to record the ambient sounds and the best thing would be if we could just record from the iPhone's/iPad's built-in mic at the same time as we record from the throat mic headset. Is there any way this is possible? Any other tips? 回答1: The OS currently only allows an app to

Recording Mono on iPhone in IMA4 format

好久不见. 提交于 2019-12-22 00:33:36
问题 I'm using the SpeakHear sample app on Apple's developer site to create an audio recording app. I'm attempting to record directly to IMA4 format using the kAudioFormatAppleIMA4 system constant. This is listed as one of the usable formats, but every time I set up my audio format variable and pass and set it, I get a 'fmt?' error. Here is the code I use to set up the audio format variable: #define kAudioRecordingFormat kAudioFormatAppleIMA4 #define kAudioRecordingType kAudioFileCAFType #define

How to record a specific applications audio? vb.net

喜你入骨 提交于 2019-12-21 19:26:34
问题 How can I make an application that can record the audio output of another application using VB.net? 回答1: I've extracted some parts of my old TextToSpeek program. The MCI-recording works very well. The Windows Mixer is included in all versions. So you can record the output of all programs. I hope I have not forgotten anything. Just ask then. Private ActMediaFolder As String Private RecAlias As String Private MciRS As String = Space(1024) Private MciRL As Integer = 1024 Private MciLength As

What is the simplest way to continuously sample from the line-in using C#

拜拜、爱过 提交于 2019-12-21 09:23:04
问题 I want to continuously sample from my PC's audio line in using C# (then process that data). What is the best way to do the sampling? 回答1: You can do some (basic) audio capture using the open source NAudio .NET Audio Library. Have a look at the NAudioDemo project to see a simple example of recording to a WAV file using the WaveIn functions. NAudio also now includes the ability to capture audio using WASAPI (Windows Vista and above) and ASIO (if your soundcard has an ASIO driver). 回答2: There is

iPhone trim audio recording

左心房为你撑大大i 提交于 2019-12-21 06:44:39
问题 I have a voice memo component in my app, and I want to allow the user to trim the audio, similar to QuickTime X on Mac OS Ten point Six handles it, or like the Voice Memos app on the iPhone. Here's an example of both: Any help is appreciated. 回答1: I am not a UI programmer by any means. This was a test I wrote to see how to write custom controls. This code may or may not work. I have not touched it in some time. header @interface SUIMaxSlider : UIControl { @private float_t minimumValue; float

iPhone trim audio recording

折月煮酒 提交于 2019-12-21 06:43:08
问题 I have a voice memo component in my app, and I want to allow the user to trim the audio, similar to QuickTime X on Mac OS Ten point Six handles it, or like the Voice Memos app on the iPhone. Here's an example of both: Any help is appreciated. 回答1: I am not a UI programmer by any means. This was a test I wrote to see how to write custom controls. This code may or may not work. I have not touched it in some time. header @interface SUIMaxSlider : UIControl { @private float_t minimumValue; float

record sounds played by my iPhone app with audio units

坚强是说给别人听的谎言 提交于 2019-12-21 02:53:09
问题 I have red a lot of interesting stuff today about iOS & Audio Units and have found a lot of usefull resources (SO included). First of all , i am confused with something : Is it really necessary to create an audio graph with mixer unit to record sounds played by an app ? Or is it sufficient to play sounds with ObjectAL (or more simply AVAudioPlayer calls) and create a single remote io unit adressed on the correct bus with a recording callback ? Second , a more programmatically issue ! As i'm

Android record audio while doing speech recognition

橙三吉。 提交于 2019-12-20 14:43:13
问题 I am doing speech recognition using a third party cloud service on Android, and it works well with Android API SpeechRecognizer. Code below: Intent recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); // accept partial results if they come recognizerIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true); //need to have a calling package for it to work if (

Android Audio Analysis in Real-time

荒凉一梦 提交于 2019-12-20 09:38:58
问题 I have searched for this online, but am still a bit confused (as I'm sure others will be if they think of something like this). I'd like to preface by saying that this is not for homework and/or profit. I wanted to create an app that could listen to your microwave as you prepare popcorn. It would work by sounding an alarm when there's a certain time interval between pops (say 5-6 seconds). Again, this is simply a project to keep me occupied - not for a class. Either way, I'm having trouble

Is it possible to create a simple answering machine in android? [closed]

限于喜欢 提交于 2019-12-20 07:17:51
问题 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'm thinking of creating an answering machine in android that automatically alerts the caller that he/she has reached the answering machine after an alloted time and then records the message. Is it possible in android? 回答1: No. You do not have any way to play audio to the caller. 来源: https://stackoverflow.com