Android Dev: High noise floor on audio recordings on Samsung Galaxy S6Noise reduction and compression in streaming audioChange Android Audio Record Default input SourceAppropriate audio capture and noise reductionAndroid AudioRecord Initialization delayAndroid MediaRecorder/Player Either Not Recording or Not PlayingMediaRecorder.AudioSource.VOICE_RECOGNITION is available or notAndroid MediaRecorder record voice only, not outputIs there any way to have multiple audio recorders at the same time?Recording audio without noisestartRecording() called on an uninitialized AudioRecord

Why does the Schrödinger equation work so well for the Hydrogen atom despite the relativistic boundary at the nucleus?

How to generate random points without duplication?

What is the purpose of building foundations?

Should I "tell" my exposition or give it through dialogue?

How would you say “AKA/as in”?

What's the correct term for a waitress in the Middle Ages?

Pay as you go Or Oyster card

On the Twin Paradox Again

Is it possible for people to live in the eye of a permanent hypercane?

How do I calculate APR from monthly instalments?

How is it possible that Gollum speaks Westron?

Does the growth of home value benefit from compound interest?

How is TD(0) method helpful? What good does it do?

Short story written from alien perspective with this line: "It's too bright to look at, so they don't"

X-shaped crossword

OOP demonstration in C++17 using a Pokémon

Can a 2nd-level sorcerer use sorcery points to create a 2nd-level spell slot?

What is the traditional way of earning a doctorate in Germany?

Why did a party with more votes get fewer seats in the 2019 European Parliament election in Denmark?

What can plausibly explain many of my very long and low-tech bridges?

Importance sampling estimation of power function

What do we gain with higher order logics?

Who operates delivery flights for commercial airlines?

Are there cubesats in GEO?



Android Dev: High noise floor on audio recordings on Samsung Galaxy S6


Noise reduction and compression in streaming audioChange Android Audio Record Default input SourceAppropriate audio capture and noise reductionAndroid AudioRecord Initialization delayAndroid MediaRecorder/Player Either Not Recording or Not PlayingMediaRecorder.AudioSource.VOICE_RECOGNITION is available or notAndroid MediaRecorder record voice only, not outputIs there any way to have multiple audio recorders at the same time?Recording audio without noisestartRecording() called on an uninitialized AudioRecord






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am building an app to analyze voice quality.The user makes a voice recording which is stored on the device and then sent to a server for analysis.



I recently noticed that all audio recordings from Samsung Galaxy S6 (G920-F) are much noisier than other tested Android devices. I need to support the Galaxy S6 as I have many users on this phone.



I an attempt to fix the issue I tried testing MediaRecorder with different Audiosources such as: DEFAULT, MIC, VOICE_RECOGNITION and VOICE_COMMUNICATION. None of these options have a significant impact on noise.



I then tested using AudioRecorder with the same AudioSources listed above. No improvement.



Finally I tried adding a NoiseSuppressor to AudioRecorder which showed very little to no improvement.



I am setting up the AudioRecorder and NoiseSuppressor as follows:



public void startRecording(String fileNameIn) {
bufferSize = AudioRecord.getMinBufferSize (
RECORDER_SAMPLERATE,
RECORDER_CHANNELS,
RECORDER_AUDIO_ENCODING);
aRecorder = new AudioRecord(
MediaRecorder.AudioSource.VOICE_RECOGNITION,
RECORDER_SAMPLERATE,
RECORDER_CHANNELS,
RECORDER_AUDIO_ENCODING,
bufferSize);

int audioSession = aRecorder.getAudioSessionId();
enableNoiseSuppressor(audioSession);


aRecorder.startRecording();
......


and



public void enableNoiseSuppressor(int microphoneId) 
if (NoiseSuppressor.isAvailable() && noiseSuppressor == null)
noiseSuppressor = NoiseSuppressor.create(microphoneId);
noiseSuppressor.setEnabled(true);
Log.i(TAG, "NoiseSuppressor enabled");
else
Log.e(TAG, "This device don't support NoiseSuppressor");




I also tested 3rd party recording apps on the Galaxy S6 and notice a high noise level on these recordings as well. This seems like a strange problem to have from a flagship (a few years back) phone. Are there any Android tricks or core concepts I am missing?



Looking for any suggestions or advice.










share|improve this question




























    0















    I am building an app to analyze voice quality.The user makes a voice recording which is stored on the device and then sent to a server for analysis.



    I recently noticed that all audio recordings from Samsung Galaxy S6 (G920-F) are much noisier than other tested Android devices. I need to support the Galaxy S6 as I have many users on this phone.



    I an attempt to fix the issue I tried testing MediaRecorder with different Audiosources such as: DEFAULT, MIC, VOICE_RECOGNITION and VOICE_COMMUNICATION. None of these options have a significant impact on noise.



    I then tested using AudioRecorder with the same AudioSources listed above. No improvement.



    Finally I tried adding a NoiseSuppressor to AudioRecorder which showed very little to no improvement.



    I am setting up the AudioRecorder and NoiseSuppressor as follows:



    public void startRecording(String fileNameIn) {
    bufferSize = AudioRecord.getMinBufferSize (
    RECORDER_SAMPLERATE,
    RECORDER_CHANNELS,
    RECORDER_AUDIO_ENCODING);
    aRecorder = new AudioRecord(
    MediaRecorder.AudioSource.VOICE_RECOGNITION,
    RECORDER_SAMPLERATE,
    RECORDER_CHANNELS,
    RECORDER_AUDIO_ENCODING,
    bufferSize);

    int audioSession = aRecorder.getAudioSessionId();
    enableNoiseSuppressor(audioSession);


    aRecorder.startRecording();
    ......


    and



    public void enableNoiseSuppressor(int microphoneId) 
    if (NoiseSuppressor.isAvailable() && noiseSuppressor == null)
    noiseSuppressor = NoiseSuppressor.create(microphoneId);
    noiseSuppressor.setEnabled(true);
    Log.i(TAG, "NoiseSuppressor enabled");
    else
    Log.e(TAG, "This device don't support NoiseSuppressor");




    I also tested 3rd party recording apps on the Galaxy S6 and notice a high noise level on these recordings as well. This seems like a strange problem to have from a flagship (a few years back) phone. Are there any Android tricks or core concepts I am missing?



    Looking for any suggestions or advice.










    share|improve this question
























      0












      0








      0








      I am building an app to analyze voice quality.The user makes a voice recording which is stored on the device and then sent to a server for analysis.



      I recently noticed that all audio recordings from Samsung Galaxy S6 (G920-F) are much noisier than other tested Android devices. I need to support the Galaxy S6 as I have many users on this phone.



      I an attempt to fix the issue I tried testing MediaRecorder with different Audiosources such as: DEFAULT, MIC, VOICE_RECOGNITION and VOICE_COMMUNICATION. None of these options have a significant impact on noise.



      I then tested using AudioRecorder with the same AudioSources listed above. No improvement.



      Finally I tried adding a NoiseSuppressor to AudioRecorder which showed very little to no improvement.



      I am setting up the AudioRecorder and NoiseSuppressor as follows:



      public void startRecording(String fileNameIn) {
      bufferSize = AudioRecord.getMinBufferSize (
      RECORDER_SAMPLERATE,
      RECORDER_CHANNELS,
      RECORDER_AUDIO_ENCODING);
      aRecorder = new AudioRecord(
      MediaRecorder.AudioSource.VOICE_RECOGNITION,
      RECORDER_SAMPLERATE,
      RECORDER_CHANNELS,
      RECORDER_AUDIO_ENCODING,
      bufferSize);

      int audioSession = aRecorder.getAudioSessionId();
      enableNoiseSuppressor(audioSession);


      aRecorder.startRecording();
      ......


      and



      public void enableNoiseSuppressor(int microphoneId) 
      if (NoiseSuppressor.isAvailable() && noiseSuppressor == null)
      noiseSuppressor = NoiseSuppressor.create(microphoneId);
      noiseSuppressor.setEnabled(true);
      Log.i(TAG, "NoiseSuppressor enabled");
      else
      Log.e(TAG, "This device don't support NoiseSuppressor");




      I also tested 3rd party recording apps on the Galaxy S6 and notice a high noise level on these recordings as well. This seems like a strange problem to have from a flagship (a few years back) phone. Are there any Android tricks or core concepts I am missing?



      Looking for any suggestions or advice.










      share|improve this question














      I am building an app to analyze voice quality.The user makes a voice recording which is stored on the device and then sent to a server for analysis.



      I recently noticed that all audio recordings from Samsung Galaxy S6 (G920-F) are much noisier than other tested Android devices. I need to support the Galaxy S6 as I have many users on this phone.



      I an attempt to fix the issue I tried testing MediaRecorder with different Audiosources such as: DEFAULT, MIC, VOICE_RECOGNITION and VOICE_COMMUNICATION. None of these options have a significant impact on noise.



      I then tested using AudioRecorder with the same AudioSources listed above. No improvement.



      Finally I tried adding a NoiseSuppressor to AudioRecorder which showed very little to no improvement.



      I am setting up the AudioRecorder and NoiseSuppressor as follows:



      public void startRecording(String fileNameIn) {
      bufferSize = AudioRecord.getMinBufferSize (
      RECORDER_SAMPLERATE,
      RECORDER_CHANNELS,
      RECORDER_AUDIO_ENCODING);
      aRecorder = new AudioRecord(
      MediaRecorder.AudioSource.VOICE_RECOGNITION,
      RECORDER_SAMPLERATE,
      RECORDER_CHANNELS,
      RECORDER_AUDIO_ENCODING,
      bufferSize);

      int audioSession = aRecorder.getAudioSessionId();
      enableNoiseSuppressor(audioSession);


      aRecorder.startRecording();
      ......


      and



      public void enableNoiseSuppressor(int microphoneId) 
      if (NoiseSuppressor.isAvailable() && noiseSuppressor == null)
      noiseSuppressor = NoiseSuppressor.create(microphoneId);
      noiseSuppressor.setEnabled(true);
      Log.i(TAG, "NoiseSuppressor enabled");
      else
      Log.e(TAG, "This device don't support NoiseSuppressor");




      I also tested 3rd party recording apps on the Galaxy S6 and notice a high noise level on these recordings as well. This seems like a strange problem to have from a flagship (a few years back) phone. Are there any Android tricks or core concepts I am missing?



      Looking for any suggestions or advice.







      android audio-recording samsung-mobile noise-reduction






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 14:18









      Kevin KKevin K

      11




      11






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324739%2fandroid-dev-high-noise-floor-on-audio-recordings-on-samsung-galaxy-s6%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324739%2fandroid-dev-high-noise-floor-on-audio-recordings-on-samsung-galaxy-s6%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript