Audio: Difference between revisions

37 bytes added ,  3 June 2017
m
Line 21: Line 21:
# Update $sourceRoot here to point to the folder where you keep  
# Update $sourceRoot here to point to the folder where you keep  
$sourceRoot = "M:\audio\2015";
$sourceRoot = "M:\audio\2015";
$lameExecutable = "C:\Files\tools\lame.exe";
$albumTitle = "Speech for Year 2015";
$albumTitle = "Speech for Year 2015";
$genreName = "Speech";
$genreName = "Speech";
Line 77: Line 78:
     if( $bitrate -gt $maximumBitRate ) {
     if( $bitrate -gt $maximumBitRate ) {
       #Create the file processing string, note that my Lame is deployed into the public applications folder, this allows me to run the script from all accounts  
       #Create the file processing string, note that my Lame is deployed into the public applications folder, this allows me to run the script from all accounts  
       $expression = "C:\Files\tools\lame.exe --resample 22.05 -m m -b 48";
       $expression = "$lameExecutable --resample 22.05 -m m -b 48";
       # include -B$maximumBitRate in the call to Lame??-V2 should give atotal average around 190 Kbps, but since we trust the shell object it's only looking at the average of the first few seconds
       # include -B$maximumBitRate in the call to Lame??-V2 should give atotal average around 190 Kbps, but since we trust the shell object it's only looking at the average of the first few seconds
       # if needed to use a fixed bitrate use: -b192 instead of -V2
       # if needed to use a fixed bitrate use: -b192 instead of -V2