How to improve quality of microphone input












2














We are trying to program an intelligent personal assistant that should do all kinds of stuff for us like google stuff, play music, tell us jokes...



The voice will be translated into text and text will be translated to speech via Google translate API which doesn't cause too much trouble. However our mic is kind of bad and we want to improve the quality of our sound input e.g. remove background noise and/or filter our voices from other disturbing noises. It would be brilliant if that would happen on the fly.



We are using Ubuntu and Raspbian at the moment.










share|improve this question




















  • 2




    You should buy a better mic instead...
    – Braiam
    Feb 24 '14 at 22:59










  • What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
    – Patrick
    Feb 24 '14 at 23:05










  • What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
    – qwertz
    Feb 24 '14 at 23:16
















2














We are trying to program an intelligent personal assistant that should do all kinds of stuff for us like google stuff, play music, tell us jokes...



The voice will be translated into text and text will be translated to speech via Google translate API which doesn't cause too much trouble. However our mic is kind of bad and we want to improve the quality of our sound input e.g. remove background noise and/or filter our voices from other disturbing noises. It would be brilliant if that would happen on the fly.



We are using Ubuntu and Raspbian at the moment.










share|improve this question




















  • 2




    You should buy a better mic instead...
    – Braiam
    Feb 24 '14 at 22:59










  • What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
    – Patrick
    Feb 24 '14 at 23:05










  • What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
    – qwertz
    Feb 24 '14 at 23:16














2












2








2


1





We are trying to program an intelligent personal assistant that should do all kinds of stuff for us like google stuff, play music, tell us jokes...



The voice will be translated into text and text will be translated to speech via Google translate API which doesn't cause too much trouble. However our mic is kind of bad and we want to improve the quality of our sound input e.g. remove background noise and/or filter our voices from other disturbing noises. It would be brilliant if that would happen on the fly.



We are using Ubuntu and Raspbian at the moment.










share|improve this question















We are trying to program an intelligent personal assistant that should do all kinds of stuff for us like google stuff, play music, tell us jokes...



The voice will be translated into text and text will be translated to speech via Google translate API which doesn't cause too much trouble. However our mic is kind of bad and we want to improve the quality of our sound input e.g. remove background noise and/or filter our voices from other disturbing noises. It would be brilliant if that would happen on the fly.



We are using Ubuntu and Raspbian at the moment.







ubuntu software-rec raspberry-pi raspbian






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 16 at 4:21









Rui F Ribeiro

38.9k1479129




38.9k1479129










asked Feb 24 '14 at 22:54









qwertz

133




133








  • 2




    You should buy a better mic instead...
    – Braiam
    Feb 24 '14 at 22:59










  • What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
    – Patrick
    Feb 24 '14 at 23:05










  • What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
    – qwertz
    Feb 24 '14 at 23:16














  • 2




    You should buy a better mic instead...
    – Braiam
    Feb 24 '14 at 22:59










  • What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
    – Patrick
    Feb 24 '14 at 23:05










  • What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
    – qwertz
    Feb 24 '14 at 23:16








2




2




You should buy a better mic instead...
– Braiam
Feb 24 '14 at 22:59




You should buy a better mic instead...
– Braiam
Feb 24 '14 at 22:59












What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
– Patrick
Feb 24 '14 at 23:05




What Braiam said. Get a usb mic over a regular unpowered mic. The audio quality is immensely superior.
– Patrick
Feb 24 '14 at 23:05












What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
– qwertz
Feb 24 '14 at 23:16




What we do just really is for the sake of doing it, so that isn't really what we had in mind. Isn't there any kind of program that could do that?
– qwertz
Feb 24 '14 at 23:16










1 Answer
1






active

oldest

votes


















1














The comments from Braiam and Patrick are absolutely correct, you must start with a decent recording or else you will find it an uphill struggle, and your microphone is probably the most important element. The basic principle is that you can always take detail away, but you can never add it.



Having said this, sox is a good utility to manipulate sounds from the command line or shell script, and it can apply filters, like noise reduction, which you mentioned, but there are loads. This wiki is a good place to start looking for what you want. You will also need to learn a little about sound processing if you are new to this too, so that you understand which filters to apply to achieve a certain effect.



You might be better off looking at Raspberry Pi specific forums. Google+ has a Raspberry community. There's also a specific group here here at stack exchange, Raspberry Pi



Finnally, Steven Hickson's blog has a project which sounds similar to what you are wanting to create, that will give you inspiration and pointers.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f116794%2fhow-to-improve-quality-of-microphone-input%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The comments from Braiam and Patrick are absolutely correct, you must start with a decent recording or else you will find it an uphill struggle, and your microphone is probably the most important element. The basic principle is that you can always take detail away, but you can never add it.



    Having said this, sox is a good utility to manipulate sounds from the command line or shell script, and it can apply filters, like noise reduction, which you mentioned, but there are loads. This wiki is a good place to start looking for what you want. You will also need to learn a little about sound processing if you are new to this too, so that you understand which filters to apply to achieve a certain effect.



    You might be better off looking at Raspberry Pi specific forums. Google+ has a Raspberry community. There's also a specific group here here at stack exchange, Raspberry Pi



    Finnally, Steven Hickson's blog has a project which sounds similar to what you are wanting to create, that will give you inspiration and pointers.






    share|improve this answer




























      1














      The comments from Braiam and Patrick are absolutely correct, you must start with a decent recording or else you will find it an uphill struggle, and your microphone is probably the most important element. The basic principle is that you can always take detail away, but you can never add it.



      Having said this, sox is a good utility to manipulate sounds from the command line or shell script, and it can apply filters, like noise reduction, which you mentioned, but there are loads. This wiki is a good place to start looking for what you want. You will also need to learn a little about sound processing if you are new to this too, so that you understand which filters to apply to achieve a certain effect.



      You might be better off looking at Raspberry Pi specific forums. Google+ has a Raspberry community. There's also a specific group here here at stack exchange, Raspberry Pi



      Finnally, Steven Hickson's blog has a project which sounds similar to what you are wanting to create, that will give you inspiration and pointers.






      share|improve this answer


























        1












        1








        1






        The comments from Braiam and Patrick are absolutely correct, you must start with a decent recording or else you will find it an uphill struggle, and your microphone is probably the most important element. The basic principle is that you can always take detail away, but you can never add it.



        Having said this, sox is a good utility to manipulate sounds from the command line or shell script, and it can apply filters, like noise reduction, which you mentioned, but there are loads. This wiki is a good place to start looking for what you want. You will also need to learn a little about sound processing if you are new to this too, so that you understand which filters to apply to achieve a certain effect.



        You might be better off looking at Raspberry Pi specific forums. Google+ has a Raspberry community. There's also a specific group here here at stack exchange, Raspberry Pi



        Finnally, Steven Hickson's blog has a project which sounds similar to what you are wanting to create, that will give you inspiration and pointers.






        share|improve this answer














        The comments from Braiam and Patrick are absolutely correct, you must start with a decent recording or else you will find it an uphill struggle, and your microphone is probably the most important element. The basic principle is that you can always take detail away, but you can never add it.



        Having said this, sox is a good utility to manipulate sounds from the command line or shell script, and it can apply filters, like noise reduction, which you mentioned, but there are loads. This wiki is a good place to start looking for what you want. You will also need to learn a little about sound processing if you are new to this too, so that you understand which filters to apply to achieve a certain effect.



        You might be better off looking at Raspberry Pi specific forums. Google+ has a Raspberry community. There's also a specific group here here at stack exchange, Raspberry Pi



        Finnally, Steven Hickson's blog has a project which sounds similar to what you are wanting to create, that will give you inspiration and pointers.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:56









        Community

        1




        1










        answered Feb 25 '14 at 1:32









        X Tian

        7,59711936




        7,59711936






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2funix.stackexchange.com%2fquestions%2f116794%2fhow-to-improve-quality-of-microphone-input%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

            Morgemoulin

            Scott Moir

            Souastre