audio-recording

Record voice with Java

怎甘沉沦 提交于 2019-11-26 18:22:21
问题 I want to record voice using a Java application; I guess this will be basically an applet that will run on client side. But I don't have any idea of how to do it... any ideas? Also, I want to play the recorded voice. I have heard of Java Speech API. Any idea if it can help? 回答1: I am late to the party, but here are the official docs on capturing audio: http://docs.oracle.com/javase/tutorial/sound/capturing.html (And copied directly from the link above here is some sample code to do it:)

Decrease bitrate on WAV file created with recorderjs

人走茶凉 提交于 2019-11-26 15:58:33
问题 I'm trying to use recorderjs on an app engine site where users upload short audio recordings (say, 1 to a dozen seconds long). I've noticed that the WAV files I'm uploading are much larger than I expected. For example, I just created a recording that lasts roughly 9 seconds, and the uploaded blob is 1736769 bytes, which is > 1.5 megabytes. Question: How do I modify the recorderjs code (or my own code -- maybe I'm using recorderjs incorrectly) so that my audio blobs have a lower bitrate? I'd

Improve Android Audio Recording quality?

强颜欢笑 提交于 2019-11-26 15:18:52
问题 Is there any way to record audio in high quality? And how can I read information that user is saying something? In Audio Recording application you can see such indicator (I don't know the right name for it). 回答1: For recording and monitoring: You can use the sound recorder activity. Here's a snippet of code: Intent recordIntent = new Intent( MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(recordIntent, REQUEST_CODE_RECORD); For a perfect working example of how to record

Detect & Record Audio in Python

纵然是瞬间 提交于 2019-11-26 14:52:58
I need to capture audio clips as WAV files that I can then pass to another bit of python for processing. The problem is that I need to determine when there is audio present and then record it, stop when it goes silent and then pass that file to the processing module. I'm thinking it should be possible with the wave module to detect when there is pure silence and discard it then as soon as something other than silence is detected start recording, then when the line goes silent again stop the recording. Just can't quite get my head around it, can anyone get me started with a basic example. As a

Is it possible to record phone calls via an Android App?

我的梦境 提交于 2019-11-26 14:48:59
问题 I'm a developer looking to create an Android application to record phone calls. This spawned out of my own personal need to record phone calls for my own purposes and for my records. Is it possible to do this? Is it possible to get access to the microphone and what's coming through the speaker? I'm kind of new to Android development, so bear with me :) I assume that I could probably record into WAV and then at the end of the call, transcode it into MP3 using LAME or something. This may kill

Android: Need to record mic input

蹲街弑〆低调 提交于 2019-11-26 09:06:27
问题 Is there a way to record mic input in android while it is being process for playback/preview in real time? I tried to use AudioRecord and AudioTrack to do this but the problem is that my device cannot play the recorded audio file. Actually, any android player application cannot play the recorded audio file. On the other hand, Using Media.Recorder to record generates a good recorded audio file that can be played by any player application. But the thing is that I cannot make a preview/palyback

Record and play audio Simultaneously

时光总嘲笑我的痴心妄想 提交于 2019-11-26 07:38:17
问题 Any one help to me to record and play audio Simultaneously in Iphone. 回答1: You can play and record simultaneously on iOS devices (except the 1st gen Touch) using either the Audio Unit RemoteIO or the Audio Queue API. These are lower level APIs where you have to handle the incoming buffers of outgoing and incoming PCM samples yourself. See Apple's aurioTouch sample app for example code. 回答2: You can get a use from AVFoundation framework. It has AVAudioPlayer to play audio files and

Audio capturing with HTML5 [closed]

感情迁移 提交于 2019-11-26 07:27:00
问题 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 5 years ago . I\'ve tried to see if there\'s a way to record audio with HTML5 to no avail. I tried using this example but it didn\'t work. I\'m guessing he really meant it when he said that it is not supported by any browser yet. Am I missing something? perhaps it is already possible? What are my options to record audio on a

Detect & Record Audio in Python

无人久伴 提交于 2019-11-26 03:47:20
问题 I need to capture audio clips as WAV files that I can then pass to another bit of python for processing. The problem is that I need to determine when there is audio present and then record it, stop when it goes silent and then pass that file to the processing module. I\'m thinking it should be possible with the wave module to detect when there is pure silence and discard it then as soon as something other than silence is detected start recording, then when the line goes silent again stop the

HTML5 record audio to file

对着背影说爱祢 提交于 2019-11-26 02:34:14
What I ultimately want to do is record from the user's microphone, and upload the file to the server when they're done. So far, I've managed to make a stream to an element with the following code: var audio = document.getElementById("audio_preview"); navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia; navigator.getUserMedia({video: false, audio: true}, function(stream) { audio.src = window.URL.createObjectURL(stream); }, onRecordFail); var onRecordFail = function (e) { console.log(e); } How do I go from that,