Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Wav File Utilities, join and normalize
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
dloneranger
Posted: Apr 2 2013, 02:58 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



I've put a few things up on SourceForge, to make them more available to anyone who wants them
https://sourceforge.net/users/karlpritchett

These are commandline exe's for working with wav files

JoinWav
Joins wav files together
Can read normal 32bit files and Sony/Soundforge/FFMpeg 64bit files
(Normal wav files are limited to 4Gb in size)
Can write 32 and 64 bit files
Sort input files into natural order (1,2...9,10,11)
Join files in a/multiple directory(s)
Join files from a text file with 1 wav file path per line


WavNormalize
Normalize the volume of wav files
Can read normal 32bit files and Sony/Soundforge/FFMpeg 64bit files
(Normal wav files are limited to 4Gb in size)
Can write 32 and 64 bit files
Option to only allow an increase in volume
Minor glitch protection - will ignore tiny inconsistent peaks in the file
Normalize the file in place, or save as a new file

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
russell_t
Posted: Apr 3 2013, 07:09 AM


Newbie


Group: Members
Posts: 9
Member No.: 25881
Joined: 20-July 09



Thank you dloneranger for JoinWav.

It was the solution for finishing a project on which I had been working.
 
     Top
dloneranger
Posted: Apr 3 2013, 02:16 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



If anyone wants a batch file that you can just drag a bunch of wav's to and get one output file...
Change dstdir to wherever you want files saved
Change rem set deletesourcefilesafterjoin=true by removing the 'rem' if you want the source files deleted after joining
CODE
@echo off

rem change dstdir to wherever you want the joined file saved
set dstdir=f:\


set joinwav="F:\DProjectsXE2\JoinWav\Win32\Release\JoinWav.exe"
set outfile=%~n1

rem remove the rem from the second line if you want the source files deleted after joining
set deletesourcefilesafterjoin=false
rem set deletesourcefilesafterjoin=true

set dellist=%temp%\del_%outfile%.bat
if %deletesourcefilesafterjoin%==true if exist "%dellist%" del "%dellist%"

set myfiles=
:loopfiles
if %1.==. goto done
 set myfiles=%myfiles% %1
 if %deletesourcefilesafterjoin%==true echo del %1>>"%dellist%"
 shift
goto loopfiles

:done
%joinwav% -64 -s %myfiles% -o:"%dstdir%%outfile%.wav"

if ERRORLEVEL 1 echo error & pause & goto :eof
if %deletesourcefilesafterjoin%==true call "%dellist%"
if %deletesourcefilesafterjoin%==true del "%dellist%"

pause


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
Oxyandy
Posted: Apr 7 2013, 04:14 AM


Advanced Member


Group: Members
Posts: 106
Member No.: 27131
Joined: 2-March 10



Hi dloneranger,

Thanks for posting these command line utils..

WavNormalize, I had a bit of a play with.
(always nice to find something that 'maybe' can do batch, something I do manually)

It indeed can give some low level files a boost, however the ' -r ' used to reduce levels doesn't work so well..

I have a right click association which I use to open files with WinAmp 2.78, I manually adjust levels with the EQ,
preview and export the WAVs this way to later make Batch AAC, been a long while since I used MP3.

I used to use MP3Gain, gee that made really consistent files..

Who wrote this tool ? Is it still being developed ?
 
     Top
dloneranger
Posted: Apr 7 2013, 09:31 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



They're just some things I've written because I couldn't find anything that did what I wanted
I'm a hobby programmer when I get the time and normally I just do this stuff for me, but I was asked to put some things up so other people could get them
I guess they're still in development, as long as 1) I can figure out how to do something 2) I'm not doing 12 days straight at work and my brain has turned to mush

When I get time I want to add normalizing features into the wav joiner, so it can normalize the output file based on
1) each input file separately
2) the whole output file
So it should be able to do roughly the same as track based or album based normalization into one file
Time permitting.........

Here's what -r is supposed to do, if it does something different can you let me know

If you set the max level to eg 50% and the volume is already higher than that it will not lower the volume down to that level unless -r is added

pseudo code
if ( (newlevel>oldlevel) or OptionR=true ) then ModifyFile else LeaveItAlone

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
4 replies since Apr 2 2013, 02:58 PM Track this topic | Email this topic | Print this topic

<< Back to Off-Topic