From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.4 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,T_RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 87F5A1F404 for ; Sun, 8 Apr 2018 15:12:25 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1f5BzN-000206-FZ; Sun, 08 Apr 2018 15:12:17 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f5BzM-0001zy-Am for sox-users@lists.sourceforge.net; Sun, 08 Apr 2018 15:12:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: References:In-Reply-To:MIME-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=d4+DNC2QoDza3YIzeRCG+xpIr9/prM8iZDnOEIA/YzY=; b=IY6ZKixq9EwZUZmgMuv0Hhfoh eze/gq+Mbycsb28W5bG8NvFO9IHRhrUkHskgEwi4aAWA/fo+FcHFPxNnYRp+vhb3ZJQ9hQjkuU5GH JZUL8vh916tJLurnHF0vGB2wcXv4kZ3NhDSPuCaP57PESR0UM0lHKPWrN0XfjJlS2q/Hc=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=d4+DNC2QoDza3YIzeRCG+xpIr9/prM8iZDnOEIA/YzY=; b=Fnut68P5Vdt22JjjxHe3X7anNm fTxS/DMuvH9Tgwzv5NYwvpN5hWQTUqMPbpHIoiPfvQweREmU2O9TNVCRqcaXIzP/ubF/nhFZ3p706 vte5oqu7yBzdUjjS2+eBlu7NLrdcxteES7lI2E+AmIaMFAA3x1MHZayLc/DrQ5fxNxOo=; Received: from mail-wm0-f41.google.com ([74.125.82.41]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1f5BzK-00AZEY-4b for sox-users@lists.sourceforge.net; Sun, 08 Apr 2018 15:12:16 +0000 Received: by mail-wm0-f41.google.com with SMTP id r82so11228431wme.0 for ; Sun, 08 Apr 2018 08:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=d4+DNC2QoDza3YIzeRCG+xpIr9/prM8iZDnOEIA/YzY=; b=kg57HtyqQTsWxpmBoef4V+Tr3hpABgU48MUtrsHLeCAZ2/pLvAqnN+61Ek8vRGRnY4 QAG267Wf82L4sijDXSvdj5Ex19iKurVaPwDTvZFZqNE7dgN6y77Hd2qgOB6c0YVJIUGL DAlJsTms5aZn8dLP51LP9y1Qefb2hdmMejlrllCvCX17/DCYBPuK9UvuE1+d/LF35C0M ujLCUOWKXwaVlO+e9gjz7QcEj8TZHX1A76AH4Q4YHKbSdEfFbQHzS2zLdMUfGkKnAugv qJ9e7CaBy/idk3QDgM93/3bGHW3oK5rkW2sfNKweEwS+wDhvLkL9HtMkLUyjMNjX010S BVFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=d4+DNC2QoDza3YIzeRCG+xpIr9/prM8iZDnOEIA/YzY=; b=YlE4KZeslCFHULQH4fzF9/3snzIW8U/xL9qiPtx6mvr44lfR/6Wq3eNInoonfROp/p lXf8WPdARVCYdV7rgzR0N8NFVMHZhjMffdtvUbETFw2DABQAUjLKm87r4OmcOon2r/xi vdMhDfGEDsXCONeYT7alcCcVC6D6nXKI8T7nUIWv09frBKIN93/LAzc9qrOwRklM5cvC /aWRAPK9a8a+u++6alUaT9bYwePcAjrF1OpBRHk+5NsxEWjJkY7ORVZZ5+QQlpdXHkzK O1/EvQQn1gDffln/lZ/MO2TS/JYXdeq1loIk8E/bSRRlo3htZf9gGajrvBUTPAMphQv2 gEsA== X-Gm-Message-State: ALQs6tBff4/AnZCnJzUDrFGeKt05lOjfIeqxbREonV4QB8cHeAgObTIn 19/fR7oZoUSIN1PRNxws+szSOfTAsiOtZV5sBxMA9A== X-Google-Smtp-Source: AIpwx4/e44biQFk0DVd5CJJSr2n0mRkDZJ8W7L6zRX+zoJuyz+VtG3/MzLVnjhDC51VZZ+NlqPWbtNv8aUydhB2gpkk= X-Received: by 10.46.135.139 with SMTP id n11mr3999911lji.65.1523200327409; Sun, 08 Apr 2018 08:12:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e944:0:0:0:0:0 with HTTP; Sun, 8 Apr 2018 08:12:06 -0700 (PDT) In-Reply-To: References: From: Mikko Olkkonen Date: Sun, 8 Apr 2018 18:12:06 +0300 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1f5BzK-00AZEY-4b Subject: Re: Help With SoX X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============2527437148289839691==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============2527437148289839691== Content-Type: multipart/alternative; boundary="883d24f1ad906fe2c8056957b62f" --883d24f1ad906fe2c8056957b62f Content-Type: text/plain; charset="UTF-8" That "mpg123 -w output.wav input.mp3" above. M On Sun, Apr 8, 2018 at 5:59 PM, parikshit hooda wrote: > Can you tell me how you are converting MP3 to wav? Maybe I will do the > same. > > Regards > Parikshit Hooda > > On Sun, 8 Apr 2018, 8:24 pm Mikko Olkkonen, wrote: > >> okay. I have the same "use case". I am doing it this way: mpg123 -w >> output.wav input.mp3; sox output.wav -b 16 -r 8000 output2.wav channels 1 >> .... i.e. I am using another program to turn mp3 to wav before sox >> processing. I dont know if this approach is applicable in your case. I dont >> know how to build/configure sox so that one could do this entirely with >> sox. Good luck. >> br, Mikko >> >> >> On Sun, Apr 8, 2018 at 5:22 PM, parikshit hooda >> wrote: >> >>> I checked out in the SOx manual that if we have to convert MP3 files to >>> wav format we have to proceed with the SOx installation differently like >>> something related to source scripts and lame encoder and things like that >>> so I wanted to ask if that is the way to go or I can just figure out >>> something with the normal installation. >>> >>> Regards >>> Parikshit Hooda >>> >>> On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, wrote: >>> >>>> If the input file is properly closed and available (Refer to Jeremy's >>>> comment) it should be ok whatever is its format as long as the format is >>>> supported i.e. you should be ok to substitute my "input.wav" with whatever >>>> is your input filename/format. >>>> regards, M >>>> >>>> On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda >>>> wrote: >>>> >>>>> Actually, I am requiring the user to upload input file in any format. >>>>> I know that we can convert between different audio formats but I don't know >>>>> how. Wait, let me send you the code. >>>>> >>>>> Regards >>>>> Parikshit Hooda >>>>> >>>>> On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, wrote: >>>>> >>>>>> Can you wait until you have the audio in input.wav and then issue >>>>>> node exec() with sox input.wav -b 16 -r 8000 output.wav channels 1 >>>>>> regards, M >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda >>>>>> wrote: >>>>>> >>>>>>> Hello all! >>>>>>> I am new to this community and I feel awesome being a part of this >>>>>>> community. >>>>>>> I am developing a Node application which needs to convert any audio >>>>>>> format to WAV 16bit mono 8MHz. >>>>>>> Can anyone provide me with the command on how to do that. >>>>>>> I have searched through the documentation and couldn't find what I >>>>>>> was looking for. >>>>>>> Thanks in advance. >>>>>>> -- >>>>>>> Regards >>>>>>> Parikshit Hooda >>>>>>> DTU >>>>>>> >>>>>>> ------------------------------------------------------------ >>>>>>> ------------------ >>>>>>> Check out the vibrant tech community on one of the world's most >>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>>>> _______________________________________________ >>>>>>> Sox-users mailing list >>>>>>> Sox-users@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/sox-users >>>>>>> >>>>>>> >>>>>> ------------------------------------------------------------ >>>>>> ------------------ >>>>>> Check out the vibrant tech community on one of the world's most >>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ >>>>>> _________________________________________ >>>>>> Sox-users mailing list >>>>>> Sox-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/sox-users >>>>>> >>>>> >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>> _______________________________________________ >>>>> Sox-users mailing list >>>>> Sox-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/sox-users >>>>> >>>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ >>>> _________________________________________ >>>> Sox-users mailing list >>>> Sox-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/sox-users >>>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Sox-users mailing list >>> Sox-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/sox-users >>> >>> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ >> _________________________________________ >> Sox-users mailing list >> Sox-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sox-users >> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users > > --883d24f1ad906fe2c8056957b62f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That "mpg123 -w output.wav input.mp3" above= .
M


On Sun, Apr 8, 2018 at 5:59 PM, parikshit hooda = <phooda804@gmai= l.com> wrote:
Can you tell me how you are converting MP3 to wav? Maybe I will do the= same.

Regards
Parikshit Hooda

<= div dir=3D"ltr">On Sun, 8 Apr 2018, 8:24 pm Mikko Olkkonen, <molkko@gmail.com> wrote:<= br>
okay. I = have the same "use case". I am doing it this way:=C2=A0 mpg123 -w= output.wav input.mp3; sox=C2=A0 output.wav -b 16 -r 8000 output2.wav chann= els 1=C2=A0 ....=C2=A0 i.e. I am using another program to turn mp3 to wav = before sox processing. I dont know if this approach is applicable in your c= ase. I dont know how to build/configure sox so that one could do this entir= ely with sox. Good luck.
br, Mikko


On Sun, Apr 8, 2018 at 5:22= PM, parikshit hooda <phooda804@gmail.com> wrote:
I checked ou= t in the SOx manual that if we have to convert MP3 files to wav format we h= ave to proceed with the SOx installation differently like something related= to source scripts and lame encoder and things like that so I wanted to ask= if that is the way to go or I can just figure out something with the norma= l installation.

Regards
Parikshit Hooda

On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, <molkko@gmail.com= > wrote:
I= f the input file is properly closed and available (Refer to Jeremy's co= mment) it should be ok whatever is its format as long as the format is supp= orted i.e. you should be ok to substitute my "input.wav" with wha= tever is your input filename/format.
regards, M

On Sun, Apr 8, 2018 at 4:0= 8 PM, parikshit hooda <phooda804@gmail.com= > wrote:
= Actually, I am requiring the user to upload input file in any format. I kno= w that we can convert between different audio formats but I don't know = how. Wait, let me send you the code.

Regards<= br>Parikshit Hooda

On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, <molkko@gmail.c= om> wrote:
=
Can you wait until you have the audio in input.wav and then issue node= exec() with sox input.wav -b 16 -r 8000 output.wav channels 1=C2=A0
regards, M



<= div class=3D"gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <= span dir=3D"ltr"><phooda804@gmail.com> wrote:
Hello all!=C2= =A0
I am new to this community and I feel awesome being a part of this = community.=C2=A0
I am developing a Node application which needs t= o convert any audio format to WAV 16bit mono 8MHz.
Can anyone pro= vide me with the command on how to do that.=C2=A0
I h= ave searched through the documentation and couldn't find what I was loo= king for.
Thanks in advance.
--
Regards
Parikshit Hooda
DTU

-------------------------------------------------------------= -----------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://s= dm.link/slashdot
______________________________________________= _
Sox-users mailing list
Sox-users@lists.sourceforge.net=
https://lists= .sourceforge.net/lists/listinfo/sox-users


-----------------------------------------------------------------= -------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://s= dm.link/slashdot_____________________________________________= __
Sox-users mailing list
Sox-users@lists.sourceforge.net=
https://lists= .sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------= ------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/sla= shdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforg= e.net/lists/listinfo/sox-users


-----------------------------------------------------------------= -------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/sla= shdot_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforg= e.net/lists/listinfo/sox-users

------------------------------------------------------= ------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/= lists/listinfo/sox-users


-----------------------------------------------------------------= -------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot__= _____________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/= lists/listinfo/sox-users

------------------------------------------------------= ------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_________= ______________________________________
Sox-users mailing list
Sox-users@lists.sourcefo= rge.net
https://lists.sourceforge.net/lists/listi= nfo/sox-users


--883d24f1ad906fe2c8056957b62f-- --===============2527437148289839691== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============2527437148289839691== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============2527437148289839691==--