86 bytes removed ,  3 June 2017
refine
add a new highlight
refine
Line 14: Line 14:
=== multiple files for speech ===
=== multiple files for speech ===


I had a bunch of old, large audio files that were recorded from a mixer. It recorded at stereo 44 kHz, 256kbps.  There were just a lot of them, and in order to save space I modified a PowerShell script for myself. The original source can be found at [https://rolfeleveld.wordpress.com/2014/12/20/mp3-music-too-large-solved-with-powershell-and-lame/ Rolf Eleveld's Blog]. This handles all files, including subfolders recursively.  When you try to use the script for the first time, you may want to uncomment the wait for key press lines.  They are lines 94-95, and highlighted for convenience. Also,
I had a bunch of old, large audio files that were recorded from a mixer. It recorded at stereo 44 kHz, 256kbps.  There were just a lot of them, and in order to save space I modified a PowerShell script for myself. The original source can be found at [https://rolfeleveld.wordpress.com/2014/12/20/mp3-music-too-large-solved-with-powershell-and-lame/ Rolf Eleveld's Blog]. This handles all files, including subfolders recursively.  When you try to use the script for the first time, you may want to uncomment the wait for key press lines (lines 94 & 95), and remove line 96--it overwrites the original file with converted one.


<source lang="ps1" line highlight="61,94-95">
<source lang="ps1" line highlight="61,94-95">
Line 116: Line 116:
       # Write-Host "Press any key to continue ..."
       # Write-Host "Press any key to continue ..."
       # $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
       # $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
      #Remove file only enable when confident the original file is redundant??
      #Remove-Item $newFileName
     }
     }
   }
   }
}
}
</source>
</source>