audio-recording

Can we record sound sent to speakers using C#

随声附和 提交于 2019-12-11 04:49:24
问题 I have a software 'SoundTap Streaming Audio Recorder'. It records any audio sent to speakers whether stream is coming from web or from some file or microphone. Can i make such app in desktop app having facility that i can record stream sent to my speakers regardless of source.? 回答1: http://www.codeproject.com/Articles/31356/C-MP3-Sound-Capturing-Recording-Component 回答2: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/550be4bd-22da-4e6c-99d1-1a07016d659f/ 回答3: Yes you can

Sphinx4 speech recognition trasncribe demo not working accurately for short wav file

喜你入骨 提交于 2019-12-11 04:22:03
问题 i had just implemetned the transcriber demo for the transcribe the audio file .. My audio file is .wav file which consist only names like "BHAVIK" "ANKIT" "SAGAR" My grammer File Consist of this grammer as follows: - public = (JAY)|(SAGAR)|(BHAVIK)|(ANKIT)|(MIRAJ)|(YAGNESH); But Problem is that the transcriber demo not provide the correct result ..its just providing me somthing other when i give .wav file of "JAY" ..its not give the correct result.. Why this happening? my .wav file is here u

Android issue while trying to Upload audio file to server

北慕城南 提交于 2019-12-10 23:35:47
问题 I am trying to upload audio file to server when recording gets finished. I have set CurrentDate and Time as audio file name as you can see that in below code. private String getFilename() { String filepath = Environment.getExternalStorageDirectory().getPath(); File file = new File(filepath, AUDIO_RECORDER_FOLDER); SimpleDateFormat sdfDate = new SimpleDateFormat("dd-MMM-yyyy hh-mm-ss"); String currentDateandTime = sdfDate.format(new Date()); if (!file.exists()) { file.mkdirs(); } return (file

What are the audio-format encoders that Android and iOS have in common?

喜夏-厌秋 提交于 2019-12-10 23:15:15
问题 Furthermore, the recordings must be shared across devices (probably stored/processed on server). Besides the formats in common, I'd like your recommendations for the right bitrate/configuration or so. I'm recording voice and I want to achieve minimum space but good/decent understanding of what people record (more or less the way WhatsApp works), so they understand each other and the file is light enough to travel relatively fast on slow connections. I already went to this Android chart, but I

Record speakers on windows phone 7

爱⌒轻易说出口 提交于 2019-12-10 22:12:18
问题 do you know if is possible to intercept the audio stream on win phone 7 and record what is being played on the speakers? Alternatevely, I use a MediaElement, is there a way to get the current stream? I want to add some animations when certain frequency is hit. thanks 回答1: You can get the media as long as you know its location and can initiate a download. There is no built-in capability for automatically capturing the sound output. Assuming that MediaElement is playing a remote stream, you

Web Audio Api input from specific microphone

北慕城南 提交于 2019-12-10 17:46:48
问题 I'm using the Web Audio Api ( navigator.getUserMedia({audio: true}, function, function) ) for audio recording. If the user has several microphone devices, can I select the desired recording device? I've came across a problematic situation where a brand new Dell laptop (running Windows 8.1) has 2 microphone devices (on board and external) and the external device was set to default (set to default by the operation system). As expected, when recording, the input comes from the external

How convert audio raw to flac in Android

会有一股神秘感。 提交于 2019-12-10 15:35:20
问题 I recording audio with class audoiRecord. Now I want convert audio raw file to *flac format. I convert *raw file to wav next way: private void copyWaveFile(String inFilename,String outFilename){ FileInputStream in = null; FileOutputStream out = null; long totalAudioLen = 0; long totalDataLen = totalAudioLen + 36; long longSampleRate = sampleRate; int channels = 2; long byteRate = RECORDER_BPP * sampleRate * channels/8; byte[] data_pcm = new byte[mAudioBufferSize]; try { in = new

Detect if another app is requesting the microphone

前提是你 提交于 2019-12-10 10:36:58
问题 I have seen multiple questions on SO that say it is impossible to see when another app wants to use the microphone (Unable to access microphone when another app is using it in Android). However, I know it is possible because Shazam has an "Auto" function that allows the exact functionality I want: to continuously listen to audio when other apps are not using the microphone. Currently, when I use my app and use an app like Snapchat, I am unable to record a video with audio because Snapchat

MediaEncodingProfile.CreateWmv gives “No suitable transform was found to encode or decode the content.” error

孤者浪人 提交于 2019-12-10 10:02:37
问题 I am creating a Windows Phone app (XAML/C#) that uploads audio and video to a server. Using VideoCaptureDevice on Windows Phone 8.0 works fine, but it only allows resolutions supported by the device (on a Nokia 625 the smallest is 640 x 480). To get the size down I have upgraded the app to Windows Phone 8.1 Silverlight (Developer Preview) to use the Windows.Media.Capture.MediaCapture libraries. This works and the generic Qvga format: MediaEncodingProfile profile = MediaEncodingProfile

Audio Recording in ReactJS

橙三吉。 提交于 2019-12-10 04:30:50
问题 I am trying to record audio with ReactJS and want to store in my node server. For it I try to use "react-audio-recorder" module, but I am getting some issues in it like while recording audios continuously one after another, module is getting failed and also I tried to use p5.js for audio recording but I am getting issues in configuring it. Please suggest me the best way to record audio in react(JavaScript) and to save it in my node server. 回答1: The react-mic project can handle the recording.