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 5ABB81F404 for ; Sun, 8 Apr 2018 13:40:34 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1f5AYV-0007xY-AO; Sun, 08 Apr 2018 13:40:27 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f5AYU-0007xQ-Ae for sox-users@lists.sourceforge.net; Sun, 08 Apr 2018 13:40:26 +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=yWYhG2tUMmTB5QyytVqdDut6n2yOf3jzTPK5zXUQ31g=; b=RLbaJnoxFPI99np2pO5dsA2iw NqagUulPQ459iEsdzV4FEeMZ62Y/rZNdn2NB1t+ytZPQTjkT5FgpDCCtVwc/yxPWFu5taYo8c3nNa yWsY51oRAhjjizey87FeEioKEHf41dSxgyvg0sYeMBjUMO0UEbCrDdc/3TRVSEA7eS8WQ=; 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=yWYhG2tUMmTB5QyytVqdDut6n2yOf3jzTPK5zXUQ31g=; b=fFWxcJ7Qco83PUAojf4ICIZVDY iOV7upISG7aKKlL/9Tz9kI6Rk1n91y24cdWx6o6nXc+sgL/milSofXNAhPIQxIw/gA037HYjQ3pbv w+N+1sVywMtcXef4QbH2s6UwZXJq/N8d9AVawN4W226XeHGj72ONkU8ZsTcfoBehIfTA=; Received: from mail-wr0-f180.google.com ([209.85.128.180]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1f5AYS-001L6V-Dx for sox-users@lists.sourceforge.net; Sun, 08 Apr 2018 13:40:26 +0000 Received: by mail-wr0-f180.google.com with SMTP id l49so5795136wrl.4 for ; Sun, 08 Apr 2018 06:40:24 -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=yWYhG2tUMmTB5QyytVqdDut6n2yOf3jzTPK5zXUQ31g=; b=uh9jUZt6unEjsgRisKY27LTZvJ5M8OWYnrVTWLrxlsdMsUI/wUhfxDUX505quW8Lsg WU83p5GQF5Et3xXi6+Le35tcb61udVMCdBFcg7kFbbNkJMhqvs31O/cgtH+1FeHUp36f fl6bS69SDwMoFmQKhXzCVE3BVUqsu7Hhj7ZwN5IGa/ozhROinwsBomn3tam/YUrptJs8 nDKFBPL0iaOdgf3Dc6pcRIcSqi0pQCnP2xSLUYBYSXSxSod8Gfj4xTZ8FmhH2jMDo3QY 7dWeCstwvGNU/eiJ8uxPMoojr1GFbmx/JIY2/6OSIJxhRKSZRGlmimLzHP2m0ciCo4dN 7LTA== 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=yWYhG2tUMmTB5QyytVqdDut6n2yOf3jzTPK5zXUQ31g=; b=gUJxXmoy3uH5ZJpqf/XGgp/BccWfv3nLiSEeICaMJRt/qWg8KWJD5fjZ2W9KwhN+VT TCsxsGmRdwgS8uOV+JhIc8dlaN9goCgKcmAtPIoD5CCuT/L9SNoqLSS8CdQoCFpLO3cb nshcB1+ixu+P4snVj3mkILtUC7IqUtxpqsjQ6TWWr1y7/KgtgcrJKR0+xCvcqq9kTmhp VYexg0bMfOmoAnkW/n9H7kvXvZRjt10PvNX2KRG14FmzT65jEi+iBgn1nigHDoBHVq6G uUnGHQa3JWnh1cUC9l3gQpY9t1pXyDW45ttsTBVPP6OHEMU1BVI+g10I7h7MWItFMJvA Y4Gw== X-Gm-Message-State: ALQs6tBX74NutYXG7YnrbES4+oUaUUodKHVSI3g7gRJqfeRmm8Wi/il1 nMVWeR5QDKO6xx5CMvuDFHIXdc5Yo1pUKeX98SWpkg== X-Google-Smtp-Source: AIpwx48tUFr0cUmYdocPlR/XRl+GbWaqbXQagJzPGEWMa9+W/6ygs94ToqbZ63emRmlONKJ80CqJ/Qw8wohYIK3h2Lg= X-Received: by 2002:a19:dd89:: with SMTP id w9-v6mr20732694lfi.82.1523194817597; Sun, 08 Apr 2018 06:40:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e944:0:0:0:0:0 with HTTP; Sun, 8 Apr 2018 06:40:17 -0700 (PDT) In-Reply-To: References: From: Mikko Olkkonen Date: Sun, 8 Apr 2018 16:40:17 +0300 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1f5AYS-001L6V-Dx 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="===============8706597412729277502==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============8706597412729277502== Content-Type: multipart/alternative; boundary="00000000000006d7570569566e97" --00000000000006d7570569566e97 Content-Type: text/plain; charset="UTF-8" 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 > > --00000000000006d7570569566e97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If the input file is properly closed and available (R= efer to Jeremy's comment) it should be ok whatever is its format as lon= g as the format is supported i.e. you should be ok to substitute my "i= nput.wav" with whatever is your input filename/format.
regard= s, M

On = Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <phooda804@gmail.com&g= t; wrote:
Actual= ly, 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. W= ait, let me send you the code.

Regards
Parikshit Hood= a

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



On Sun, Apr 8, 2018 at 1:52 PM, parikshit h= ooda <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 to convert any au= dio format to WAV 16bit mono 8MHz.
Can anyone provide me with the= command on how to do that.=C2=A0
I have searched thr= ough the documentation and couldn't find what I was looking for.
<= div>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.sourcefo= rge.net
https://lists.sourceforge.net/lists/listi= nfo/sox-users


--00000000000006d7570569566e97-- --===============8706597412729277502== 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 --===============8706597412729277502== 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 --===============8706597412729277502==--