Audio: Difference between revisions

10 bytes added ,  3 June 2017
m
no edit summary
mNo edit summary
mNo edit summary
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 (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 99 & 100), and comment out line 97--it overwrites the original file with converted one.


You can change the target parameters on line 62.
You can change the target parameters on line 62.


<source lang="ps1" line highlight="62,95-96">
<source lang="ps1" line highlight="62,97,99-100">
#PowerShell script
#PowerShell script