I checked out in the SOx manual that if we have to convert MP3 files to wav format we have to proceed with the SOx installation differently like something related to source scripts and lame encoder and things like that so I wanted to ask if that is the way to go or I can just figure out something with the normal installation. Regards Parikshit Hooda On Sun, 8 Apr 2018, 7:10 pm Mikko Olkkonen, wrote: > If the input file is properly closed and available (Refer to Jeremy's > comment) it should be ok whatever is its format as long as the format is > supported i.e. you should be ok to substitute my "input.wav" with whatever > is your input filename/format. > regards, M > > On Sun, Apr 8, 2018 at 4:08 PM, parikshit hooda > wrote: > >> Actually, I am requiring the user to upload input file in any format. I >> know that we can convert between different audio formats but I don't know >> how. Wait, let me send you the code. >> >> Regards >> Parikshit Hooda >> >> On Sun, 8 Apr 2018, 6:36 pm Mikko Olkkonen, wrote: >> >>> Can you wait until you have the audio in input.wav and then issue node >>> exec() with sox input.wav -b 16 -r 8000 output.wav channels 1 >>> regards, M >>> >>> >>> >>> On Sun, Apr 8, 2018 at 1:52 PM, parikshit hooda >>> wrote: >>> >>>> Hello all! >>>> I am new to this community and I feel awesome being a part of this >>>> community. >>>> I am developing a Node application which needs to convert any audio >>>> format to WAV 16bit mono 8MHz. >>>> Can anyone provide me with the command on how to do that. >>>> I have searched through the documentation and couldn't find what I was >>>> looking for. >>>> Thanks in advance. >>>> -- >>>> Regards >>>> Parikshit Hooda >>>> DTU >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Sox-users mailing list >>>> Sox-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/sox-users >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Sox-users mailing list >>> Sox-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/sox-users >>> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Sox-users mailing list >> Sox-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sox-users >> >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users >