sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* Help With SoX
@ 2018-04-08 10:52 parikshit hooda
  2018-04-08 11:23 ` Jeremy Nicoll - ml sox users
  2018-04-08 13:05 ` Mikko Olkkonen
  0 siblings, 2 replies; 10+ messages in thread
From: parikshit hooda @ 2018-04-08 10:52 UTC (permalink / raw)
  To: Sox-users

[-- Attachment #1.1: Type: text/plain, Size: 381 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 592 bytes --]

<div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</div></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 10:52 Help With SoX parikshit hooda
@ 2018-04-08 11:23 ` Jeremy Nicoll - ml sox users
  2018-04-08 13:05 ` Mikko Olkkonen
  1 sibling, 0 replies; 10+ messages in thread
From: Jeremy Nicoll - ml sox users @ 2018-04-08 11:23 UTC (permalink / raw)
  To: sox-users

On 2018-04-08 11:52, 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.

What did you try?

If it comes to that, what is "Node"?  Is that (quick google) Node.js?

Can you issue commands to your host OS from that?

What happens when you issue: sox -h

Are you trying to convert audio that's already in a file, or something
that's happening at the time (in which case the answer's going to depend
on how you id audio devices under whatever OS you are using).

-- 
Jeremy Nicoll - my opinions are my own

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 10:52 Help With SoX parikshit hooda
  2018-04-08 11:23 ` Jeremy Nicoll - ml sox users
@ 2018-04-08 13:05 ` Mikko Olkkonen
  2018-04-08 13:08   ` parikshit hooda
  1 sibling, 1 reply; 10+ messages in thread
From: Mikko Olkkonen @ 2018-04-08 13:05 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 1015 bytes --]

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 <phooda804@gmail.com> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1886 bytes --]

<div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 13:05 ` Mikko Olkkonen
@ 2018-04-08 13:08   ` parikshit hooda
  2018-04-08 13:40     ` Mikko Olkkonen
  0 siblings, 1 reply; 10+ messages in thread
From: parikshit hooda @ 2018-04-08 13:08 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 1711 bytes --]

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, <molkko@gmail.com> 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 <phooda804@gmail.com>
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3227 bytes --]

<div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<br>Parikshit Hooda</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank" rel="noreferrer">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 13:08   ` parikshit hooda
@ 2018-04-08 13:40     ` Mikko Olkkonen
  2018-04-08 14:22       ` parikshit hooda
  0 siblings, 1 reply; 10+ messages in thread
From: Mikko Olkkonen @ 2018-04-08 13:40 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 2493 bytes --]

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 <phooda804@gmail.com> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 4770 bytes --]

<div dir="ltr"><div>If the input file is properly closed and available (Refer to Jeremy&#39;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 &quot;input.wav&quot; with whatever is your input filename/format.<br></div>regards, M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<span class="HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_-8708358044575047152m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_-8708358044575047152m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 13:40     ` Mikko Olkkonen
@ 2018-04-08 14:22       ` parikshit hooda
  2018-04-08 14:54         ` Mikko Olkkonen
  2018-04-09  4:20         ` Glenn English
  0 siblings, 2 replies; 10+ messages in thread
From: parikshit hooda @ 2018-04-08 14:22 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 3372 bytes --]

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, <molkko@gmail.com> 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 <phooda804@gmail.com>
> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>> 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
>

[-- Attachment #1.2: Type: text/html, Size: 6354 bytes --]

<div dir="auto">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.<br><br><div data-smartmail="gmail_signature">Regards<br>Parikshit Hooda</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If the input file is properly closed and available (Refer to Jeremy&#39;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 &quot;input.wav&quot; with whatever is your input filename/format.<br></div>regards, M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank" rel="noreferrer">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_1974785550633628285HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_1974785550633628285HOEnZb"><div class="m_1974785550633628285h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" target="_blank" rel="noreferrer">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_1974785550633628285m_-8708358044575047152m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_1974785550633628285m_-8708358044575047152m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 14:22       ` parikshit hooda
@ 2018-04-08 14:54         ` Mikko Olkkonen
  2018-04-08 14:59           ` parikshit hooda
  2018-04-09  4:20         ` Glenn English
  1 sibling, 1 reply; 10+ messages in thread
From: Mikko Olkkonen @ 2018-04-08 14:54 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 4325 bytes --]

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 <phooda804@gmail.com> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>>> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 8156 bytes --]

<div dir="ltr"><div><div>okay. I have the same &quot;use case&quot;. 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></div>br, Mikko<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 5:22 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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.<br><br><div data-smartmail="gmail_signature">Regards<span class="HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If the input file is properly closed and available (Refer to Jeremy&#39;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 &quot;input.wav&quot; with whatever is your input filename/format.<br></div>regards, M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_-860698821526595734m_1974785550633628285HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_-860698821526595734m_1974785550633628285HOEnZb"><div class="m_-860698821526595734m_1974785550633628285h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" rel="noreferrer" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 14:54         ` Mikko Olkkonen
@ 2018-04-08 14:59           ` parikshit hooda
  2018-04-08 15:12             ` Mikko Olkkonen
  0 siblings, 1 reply; 10+ messages in thread
From: parikshit hooda @ 2018-04-08 14:59 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 4996 bytes --]

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, <molkko@gmail.com> 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 <phooda804@gmail.com>
> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>>>> 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
>

[-- Attachment #1.2: Type: text/html, Size: 9593 bytes --]

<div dir="auto">Can you tell me how you are converting MP3 to wav? Maybe I will do the same.<br><br><div data-smartmail="gmail_signature">Regards<br>Parikshit Hooda</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 8:24 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>okay. I have the same &quot;use case&quot;. 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></div>br, Mikko<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 5:22 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank" rel="noreferrer">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_-1778832743938243255HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_-1778832743938243255HOEnZb"><div class="m_-1778832743938243255h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" target="_blank" rel="noreferrer">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If the input file is properly closed and available (Refer to Jeremy&#39;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 &quot;input.wav&quot; with whatever is your input filename/format.<br></div>regards, M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_-1778832743938243255m_-860698821526595734m_1974785550633628285HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_-1778832743938243255m_-860698821526595734m_1974785550633628285HOEnZb"><div class="m_-1778832743938243255m_-860698821526595734m_1974785550633628285h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" rel="noreferrer noreferrer" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_-1778832743938243255m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_-1778832743938243255m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank" rel="noreferrer">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 14:59           ` parikshit hooda
@ 2018-04-08 15:12             ` Mikko Olkkonen
  0 siblings, 0 replies; 10+ messages in thread
From: Mikko Olkkonen @ 2018-04-08 15:12 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 5649 bytes --]

That "mpg123 -w output.wav input.mp3" above.
M


On Sun, Apr 8, 2018 at 5:59 PM, parikshit hooda <phooda804@gmail.com> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>>> 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, <molkko@gmail.com> 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 <phooda804@gmail.com>
>>>>>> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 11165 bytes --]

<div dir="ltr"><div>That &quot;mpg123 -w output.wav input.mp3&quot; above.<br></div>M<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 5:59 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Can you tell me how you are converting MP3 to wav? Maybe I will do the same.<br><br><div data-smartmail="gmail_signature">Regards<span class="HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 8:24 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>okay. I have the same &quot;use case&quot;. 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></div>br, Mikko<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 5:22 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_-2551510699576756311m_-1778832743938243255HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_-2551510699576756311m_-1778832743938243255HOEnZb"><div class="m_-2551510699576756311m_-1778832743938243255h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" rel="noreferrer" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If the input file is properly closed and available (Refer to Jeremy&#39;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 &quot;input.wav&quot; with whatever is your input filename/format.<br></div>regards, M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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&#39;t know how. Wait, let me send you the code.<br><br><div data-smartmail="gmail_signature">Regards<span class="m_-2551510699576756311m_-1778832743938243255m_-860698821526595734m_1974785550633628285HOEnZb"><font color="#888888"><br>Parikshit Hooda</font></span></div></div><div class="m_-2551510699576756311m_-1778832743938243255m_-860698821526595734m_1974785550633628285HOEnZb"><div class="m_-2551510699576756311m_-1778832743938243255m_-860698821526595734m_1974785550633628285h5"><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, &lt;<a href="mailto:molkko@gmail.com" rel="noreferrer noreferrer" target="_blank">molkko@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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  <br></div>regards, M<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda <span dir="ltr">&lt;<a href="mailto:phooda804@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">phooda804@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all! <div>I am new to this community and I feel awesome being a part of this community. </div><div>I am developing a Node application which needs to convert any audio format to WAV 16bit mono 8MHz.</div><div>Can anyone provide me with the command on how to do that. <br clear="all"><div>I have searched through the documentation and couldn&#39;t find what I was looking for.</div><div>Thanks in advance.</div><span class="m_-2551510699576756311m_-1778832743938243255m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853HOEnZb"><font color="#888888">-- <br><div class="m_-2551510699576756311m_-1778832743938243255m_-860698821526595734m_1974785550633628285m_-8708358044575047152m_-351021548377085853m_-3587119567812892374gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards<div>Parikshit Hooda</div><div>DTU</div></div></div>
</font></span></div></div>
<br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer noreferrer" target="_blank">http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>___________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" rel="noreferrer" target="_blank">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
</blockquote></div>
</div></div><br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net">Sox-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/sox-users</a><br>
<br></blockquote></div><br></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Help With SoX
  2018-04-08 14:22       ` parikshit hooda
  2018-04-08 14:54         ` Mikko Olkkonen
@ 2018-04-09  4:20         ` Glenn English
  1 sibling, 0 replies; 10+ messages in thread
From: Glenn English @ 2018-04-09  4:20 UTC (permalink / raw)
  To: sox-users

On Sun, Apr 8, 2018 at 2:22 PM, parikshit hooda <phooda804@gmail.com> 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.

Hmm. I've never tried to convert mp3s to wavs. But I've converted a
lot of wavs to flacs and mp3s to flacs and flacs to mp3. All I've
done, IIRC, is give SoX the file extensions (ones SoX knows how to
deal with), and it figures things out by itself.

As I understand the dox, that that's the way to do it. I'm using the
normal Debian binary install, BTW -- lame seems to be part of the
package. Damn thing just works.

I've never tried to set the parameters of the output mp3 files,
though. SoX's defaults have done very nicely for me. On the input, it
seems to just figure out how things are set.

I'm also a bit of a SoX noob, so if I'm doing something wrong, I'd
sure like to know about it...

-- 
Glenn English

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-08 10:52 Help With SoX parikshit hooda
2018-04-08 11:23 ` Jeremy Nicoll - ml sox users
2018-04-08 13:05 ` Mikko Olkkonen
2018-04-08 13:08   ` parikshit hooda
2018-04-08 13:40     ` Mikko Olkkonen
2018-04-08 14:22       ` parikshit hooda
2018-04-08 14:54         ` Mikko Olkkonen
2018-04-08 14:59           ` parikshit hooda
2018-04-08 15:12             ` Mikko Olkkonen
2018-04-09  4:20         ` Glenn English

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox