¡@

Home 

2014/10/16 ¤W¤È 08:19:12

android Programming Glossary: mediarecorder.audiosource.mic

camera app not working?

http://stackoverflow.com/questions/10186503/camera-app-not-working

mCamera mMediaRecorder.setAudioSource MediaRecorder.AudioSource.MIC mMediaRecorder.setVideoSource MediaRecorder.VideoSource.DEFAULT..

Android: Does anyone know how to capture video?

http://stackoverflow.com/questions/1032912/android-does-anyone-know-how-to-capture-video

m_BeMeSurface m_recorder.setAudioSource MediaRecorder.AudioSource.MIC m_recorder.setVideoSource MediaRecorder.VideoSource.DEFAULT..

how to convert or record .wav file in 16khz 16bit mono little-endian?

http://stackoverflow.com/questions/12260476/how-to-convert-or-record-wav-file-in-16khz-16bit-mono-little-endian

private void startRecording recorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING..

Android - Getting audio to play through earpiece

http://stackoverflow.com/questions/2119060/android-getting-audio-to-play-through-earpiece

AudioRecord arec new AudioRecord MediaRecorder.AudioSource.MIC 11025 AudioFormat.CHANNEL_CONFIGURATION_MONO AudioFormat.ENCODING_PCM_16BIT..

audio and video recording errors in android

http://stackoverflow.com/questions/3281549/audio-and-video-recording-errors-in-android

Configure the input sources mrec.setAudioSource MediaRecorder.AudioSource.MIC mrec.setVideoSource MediaRecorder.VideoSource.CAMERA Set the..

Record phone calls on android phone?

http://stackoverflow.com/questions/3370278/record-phone-calls-on-android-phone

GDHGDHGHDGDHGDHGHDGHDGH phonenbr recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.THREE_GPP..

Get Microphone volume

http://stackoverflow.com/questions/3928202/get-microphone-volume

use an AudioRecord object that is configured to watch the MediaRecorder.AudioSource.MIC audio source and record in 8 bit AudioFormat.ENCODING_PCM_8BIT..

Android: sample microphone without recording to get live amplitude/level?

http://stackoverflow.com/questions/4777060/android-sample-microphone-without-recording-to-get-live-amplitude-level

recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC Timer timer new Timer timer.scheduleAtFixedRate new RecorderTask..

AudioRecord object not initializing

http://stackoverflow.com/questions/4843739/audiorecord-object-not-initializing

dos private TextView text private int audioSource MediaRecorder.AudioSource.MIC private int sampleRate 22050 private int channel AudioFormat.CHANNEL_CONFIGURATION_MONO..

Can the Android emulator record and play back audio using pc hardware?

http://stackoverflow.com/questions/5254994/can-the-android-emulator-record-and-play-back-audio-using-pc-hardware

Hardware New . Then use the MediaRecorder API 1 to record MediaRecorder.AudioSource.MIC . Code is fMediaRecorder new MediaRecorder fMediaRecorder.setAudioSource.. new MediaRecorder fMediaRecorder.setAudioSource MediaRecorder.AudioSource.MIC fMediaRecorder.setOutputFormat MediaRecorder.OutputFormat.AMR_NB..

Capturing Sound for Analysis and Visualizing Frequencies in Android

http://stackoverflow.com/questions/5511250/capturing-sound-for-analysis-and-visualizing-frequencies-in-android

audioEncoding AudioRecord audioRecord new AudioRecord MediaRecorder.AudioSource.MIC frequency channelConfiguration audioEncoding bufferSize short..

Playing back sound coming from microphone in real-time

http://stackoverflow.com/questions/5728454/playing-back-sound-coming-from-microphone-in-real-time

Here is the code variables private int audioSource MediaRecorder.AudioSource.MIC private int samplingRate 44100 in Hz private int channelConfig..

Voice Detection in Android Application

http://stackoverflow.com/questions/7955041/voice-detection-in-android-application

Audio Recorder. AudioRecord audioRecorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING..

How to pause/resume a recording created with mediarecorder?

http://stackoverflow.com/questions/8007682/how-to-pause-resume-a-recording-created-with-mediarecorder

new MediaRecorder media_recorder.setAudioSource MediaRecorder.AudioSource.MIC media_recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4.. media_recorder.stop media_recorder.setAudioSource MediaRecorder.AudioSource.MIC media_recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4..

Android AudioRecord example

http://stackoverflow.com/questions/8499042/android-audiorecord-example

private void startRecording recorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING..

Improve Audio Recording quality in android?

http://stackoverflow.com/questions/9389572/improve-audio-recording-quality-in-android

I use recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.DEFAULT.. one recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4 recorder.setAudioEncoder..

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

http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling

Record and Audio Playing objects m_record new AudioRecord MediaRecorder.AudioSource.MIC SAMPLE_RATE AudioFormat.CHANNEL_CONFIGURATION_MONO AudioFormat.ENCODING_PCM_16BIT..

camera app not working?

http://stackoverflow.com/questions/10186503/camera-app-not-working

mMediaRecorder new MediaRecorder mCamera.unlock mMediaRecorder.setCamera mCamera mMediaRecorder.setAudioSource MediaRecorder.AudioSource.MIC mMediaRecorder.setVideoSource MediaRecorder.VideoSource.DEFAULT mMediaRecorder.setOutputFormat MediaRecorder.OutputFormat.THREE_GPP..

Android: Does anyone know how to capture video?

http://stackoverflow.com/questions/1032912/android-does-anyone-know-how-to-capture-video

a snippet that works m_recorder new MediaRecorder m_recorder.setPreviewDisplay m_BeMeSurface m_recorder.setAudioSource MediaRecorder.AudioSource.MIC m_recorder.setVideoSource MediaRecorder.VideoSource.DEFAULT m_recorder.setOutputFormat MediaRecorder.OutputFormat.THREE_GPP..

how to convert or record .wav file in 16khz 16bit mono little-endian?

http://stackoverflow.com/questions/12260476/how-to-convert-or-record-wav-file-in-16khz-16bit-mono-little-endian

AUDIO_RECORDER_TEMP_FILE @SuppressLint NewApi NewApi private void startRecording recorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING bufferSize recorder.startRecording isRecording true recordingThread..

Android - Getting audio to play through earpiece

http://stackoverflow.com/questions/2119060/android-getting-audio-to-play-through-earpiece

11025 AudioFormat.CHANNEL_CONFIGURATION_MONO AudioFormat.ENCODING_PCM_16BIT AudioRecord arec new AudioRecord MediaRecorder.AudioSource.MIC 11025 AudioFormat.CHANNEL_CONFIGURATION_MONO AudioFormat.ENCODING_PCM_16BIT buffersize AudioTrack atrack new AudioTrack..

audio and video recording errors in android

http://stackoverflow.com/questions/3281549/audio-and-video-recording-errors-in-android

newUri protected void startRecording throws IOException Configure the input sources mrec.setAudioSource MediaRecorder.AudioSource.MIC mrec.setVideoSource MediaRecorder.VideoSource.CAMERA Set the output format mrec.setOutputFormat MediaRecorder.OutputFormat.THREE_GPP..

Record phone calls on android phone?

http://stackoverflow.com/questions/3370278/record-phone-calls-on-android-phone

intent.getStringExtra Intent.EXTRA_PHONE_NUMBER Log.v GDHGDHGHDGDHGDHGHDGHDGH phonenbr recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.THREE_GPP recorder.setAudioEncoder MediaRecorder.AudioEncoder.AMR_NB..

Get Microphone volume

http://stackoverflow.com/questions/3928202/get-microphone-volume

be a simpler way but a method that I know would work is to use an AudioRecord object that is configured to watch the MediaRecorder.AudioSource.MIC audio source and record in 8 bit AudioFormat.ENCODING_PCM_8BIT . You would need a thread to run in the background and constantly..

Android: sample microphone without recording to get live amplitude/level?

http://stackoverflow.com/questions/4777060/android-sample-microphone-without-recording-to-get-live-amplitude-level

amplitude level of a microphone on Android like so MediaRecorder recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC Timer timer new Timer timer.scheduleAtFixedRate new RecorderTask recorder 0 1000 private class RecorderTask extends TimerTask..

AudioRecord object not initializing

http://stackoverflow.com/questions/4843739/audiorecord-object-not-initializing

os private BufferedOutputStream bos private DataOutputStream dos private TextView text private int audioSource MediaRecorder.AudioSource.MIC private int sampleRate 22050 private int channel AudioFormat.CHANNEL_CONFIGURATION_MONO private int encoding AudioFormat.ENCODING_PCM_16BIT..

Can the Android emulator record and play back audio using pc hardware?

http://stackoverflow.com/questions/5254994/can-the-android-emulator-record-and-play-back-audio-using-pc-hardware

emulator Android SDK and AVD manager Virtual devices Edit Hardware New . Then use the MediaRecorder API 1 to record MediaRecorder.AudioSource.MIC . Code is fMediaRecorder new MediaRecorder fMediaRecorder.setAudioSource MediaRecorder.AudioSource.MIC fMediaRecorder.setOutputFormat.. API 1 to record MediaRecorder.AudioSource.MIC . Code is fMediaRecorder new MediaRecorder fMediaRecorder.setAudioSource MediaRecorder.AudioSource.MIC fMediaRecorder.setOutputFormat MediaRecorder.OutputFormat.AMR_NB fMediaRecorder.setAudioEncoder MediaRecorder.AudioEncoder.AMR_NB..

Capturing Sound for Analysis and Visualizing Frequencies in Android

http://stackoverflow.com/questions/5511250/capturing-sound-for-analysis-and-visualizing-frequencies-in-android

AudioRecord.getMinBufferSize frequency channelConfiguration audioEncoding AudioRecord audioRecord new AudioRecord MediaRecorder.AudioSource.MIC frequency channelConfiguration audioEncoding bufferSize short buffer new short blockSize double toTransform new double..

Playing back sound coming from microphone in real-time

http://stackoverflow.com/questions/5728454/playing-back-sound-coming-from-microphone-in-real-time

sound in real time instead of reading a file after it's written. Here is the code variables private int audioSource MediaRecorder.AudioSource.MIC private int samplingRate 44100 in Hz private int channelConfig AudioFormat.CHANNEL_CONFIGURATION_MONO private int audioFormat..

Voice Detection in Android Application

http://stackoverflow.com/questions/7955041/voice-detection-in-android-application

RECORDER_CHANNELS RECORDER_AUDIO_ENCODING Initialize Audio Recorder. AudioRecord audioRecorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING bufferSizeInBytes Start Recording. audioRecorder.startRecording..

How to pause/resume a recording created with mediarecorder?

http://stackoverflow.com/questions/8007682/how-to-pause-resume-a-recording-created-with-mediarecorder

null public void startRecording path file_path path media_recorder new MediaRecorder media_recorder.setAudioSource MediaRecorder.AudioSource.MIC media_recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4 media_recorder.setAudioEncoder MediaRecorder.AudioEncoder.AMR_NB.. path media_recorder.prepare public void pauseRecording media_recorder.stop media_recorder.setAudioSource MediaRecorder.AudioSource.MIC media_recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4 media_recorder.setAudioEncoder MediaRecorder.AudioEncoder.AMR_NB..

Android AudioRecord example

http://stackoverflow.com/questions/8499042/android-audiorecord-example

we use only 1024 int BytesPerElement 2 2 bytes in 16bit format private void startRecording recorder new AudioRecord MediaRecorder.AudioSource.MIC RECORDER_SAMPLERATE RECORDER_CHANNELS RECORDER_AUDIO_ENCODING BufferElements2Rec BytesPerElement recorder.startRecording..

Improve Audio Recording quality in android?

http://stackoverflow.com/questions/9389572/improve-audio-recording-quality-in-android

but in android I receive horrible sound. For sound recording I use recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.DEFAULT recorder.setAudioEncoder MediaRecorder.AudioSource.DEFAULT recorder.setOutputFile.. android mediarecorder share improve this question Try this one recorder new MediaRecorder recorder.setAudioSource MediaRecorder.AudioSource.MIC recorder.setOutputFormat MediaRecorder.OutputFormat.MPEG_4 recorder.setAudioEncoder MediaRecorder.AudioEncoder.AMR_NB recorder.setAudioEncoder..

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

http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling

buffersize BUF_SIZE Log.i LOG_TAG Initializing Audio Record and Audio Playing objects m_record new AudioRecord MediaRecorder.AudioSource.MIC SAMPLE_RATE AudioFormat.CHANNEL_CONFIGURATION_MONO AudioFormat.ENCODING_PCM_16BIT buffersize 1 m_track new AudioTrack..