50 bytes added ,  3 June 2017
m
no edit summary
mNo edit summary
Line 16: Line 16:
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.
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">
You can change the target parameters on line 62.
 
<source lang="ps1" line highlight="62,95-96">
#PowerShell script
#PowerShell script