¡@

Home 

2014/10/16 ¤W¤È 08:10:18

android Programming Glossary: audioformat

Android AudioRecord artifact

http://stackoverflow.com/questions/12693621/android-audiorecord-artifact

44100 channelConfigRec AudioFormat.CHANNEL_IN_MONO audioFormat AudioFormat.ENCODING_PCM_16BIT bufferSizeInBytesRec AudioRecord.getMinBufferSize.. sampleRateInHz channelConfigRec audioFormat audioSource AudioSource.MIC I am pretty sure that my code is..

AudioRecord object not initializing

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

findAudioRecord for int rate mSampleRates for short audioFormat new short AudioFormat.ENCODING_PCM_8BIT AudioFormat.ENCODING_PCM_16BIT.. try Log.d C.TAG Attempting rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize.. bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE check if we can..

Playing back sound coming from microphone in real-time

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

AudioFormat.CHANNEL_CONFIGURATION_MONO private int audioFormat AudioFormat.ENCODING_PCM_16BIT private int bufferSize AudioRecord.getMinBufferSize.. AudioRecord.getMinBufferSize samplingRate channelConfig audioFormat private int sampleNumBits 16 private int numChannels 1 AudioRecord.. new AudioRecord audioSource samplingRate channelConfig audioFormat bufferSize recorder.startRecording isRecording true AudioTrack..

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

int mSampleRates new int 8000 11025 22050 44100 short audioFormat AudioFormat.ENCODING_PCM_16BIT for int rate mSampleRates this.recordingSampleRate.. try Log.d LOG_TAG Attempting rate rate Hz bits audioFormat int bufrSize AudioRecord.getMinBufferSize this.recordingSampleRate.. this.recordingSampleRate AudioFormat.CHANNEL_IN_MONO audioFormat lets find out the minimum required size for AudioTrack int..

Android AudioRecord artifact

http://stackoverflow.com/questions/12693621/android-audiorecord-artifact

works fine . Here is my AudioRecord configuration sampleRateInHz 44100 channelConfigRec AudioFormat.CHANNEL_IN_MONO audioFormat AudioFormat.ENCODING_PCM_16BIT bufferSizeInBytesRec AudioRecord.getMinBufferSize sampleRateInHz channelConfigRec audioFormat.. AudioFormat.ENCODING_PCM_16BIT bufferSizeInBytesRec AudioRecord.getMinBufferSize sampleRateInHz channelConfigRec audioFormat audioSource AudioSource.MIC I am pretty sure that my code is right because I can record everything fine but there is this..

AudioRecord object not initializing

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

int mSampleRates new int 8000 11025 22050 44100 public AudioRecord findAudioRecord for int rate mSampleRates for short audioFormat new short AudioFormat.ENCODING_PCM_8BIT AudioFormat.ENCODING_PCM_16BIT for short channelConfig new short AudioFormat.CHANNEL_IN_MONO.. new short AudioFormat.CHANNEL_IN_MONO AudioFormat.CHANNEL_IN_STEREO try Log.d C.TAG Attempting rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE.. rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE check if we can instantiate and have a success AudioRecord recorder new AudioRecord..

Playing back sound coming from microphone in real-time

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

private int samplingRate 44100 in Hz private int channelConfig AudioFormat.CHANNEL_CONFIGURATION_MONO private int audioFormat AudioFormat.ENCODING_PCM_16BIT private int bufferSize AudioRecord.getMinBufferSize samplingRate channelConfig audioFormat.. AudioFormat.ENCODING_PCM_16BIT private int bufferSize AudioRecord.getMinBufferSize samplingRate channelConfig audioFormat private int sampleNumBits 16 private int numChannels 1 AudioRecord recorder new AudioRecord audioSource samplingRate channelConfig.. sampleNumBits 16 private int numChannels 1 AudioRecord recorder new AudioRecord audioSource samplingRate channelConfig audioFormat bufferSize recorder.startRecording isRecording true AudioTrack audioPlayer new AudioTrack AudioManager.STREAM_MUSIC 44100..

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

LOG_TAG inside constructor private void init LOG_TAG initFunc int mSampleRates new int 8000 11025 22050 44100 short audioFormat AudioFormat.ENCODING_PCM_16BIT for int rate mSampleRates this.recordingSampleRate AudioTrack.getNativeOutputSampleRate AudioManager.STREAM_MUSIC.. AudioTrack.getNativeOutputSampleRate AudioManager.STREAM_MUSIC try Log.d LOG_TAG Attempting rate rate Hz bits audioFormat int bufrSize AudioRecord.getMinBufferSize this.recordingSampleRate AudioFormat.CHANNEL_IN_MONO audioFormat lets find out.. Hz bits audioFormat int bufrSize AudioRecord.getMinBufferSize this.recordingSampleRate AudioFormat.CHANNEL_IN_MONO audioFormat lets find out the minimum required size for AudioTrack int audioTrackBufSize AudioTrack.getMinBufferSize this.recordingSampleRate..