• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. S

    anyone was able to use ENCODING_PCM_8BIT?

    Hi I am trying to use AudioFormat.ENCODING_PCM_8BIT with AudioRecord and AudioTrack to record some voice from mic and then play it to the speaker. Here is my code: int sampleRate = 11025; int bufferSize = AudioRecord.getMinBufferSize(11025*2...
  2. S

    how to do byte[] <> short conversion in android platform?

    Hi, Can someone please let me know how to convert between short and byte[] and vice-versa in Android platform? Thanks.
  3. S

    PCM sound processing, what comes after byte array to float array conversion?

    Hi, I am fairly new to the sound processing and some stuff bugs me, if you have answer to my following questions please help me with them. - I have PCM data in the 16bit format, therefore I need to convert them to float and then apply some algorithms on them. The float conversion means that I...
  4. S

    Is it possible to detect voice direction on android?

    Hi, I am wondering whether it is possible to detect voice direction in android or not? For example on nexus one using the actual mic and the noise cancellation mic or using any other method? Thanks.