Skip to content

Instantly share code, notes, and snippets.

Anthony Lloyd AnthonyLloyd

Block or report user

Report or block AnthonyLloyd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bradwilson
bradwilson / ConvertTo-MP3.ps1
Last active Oct 5, 2018
Converts FLAC/MP3 input, resamples down to ReplayGain levels, and converts to MP3. Requires on the path: flac, metaflac, ffmpeg
View ConvertTo-MP3.ps1
param(
[string][Parameter(Mandatory=$true)]$InputFile,
[string][Parameter(Mandatory=$true)]$OutputFile,
[int]$SampleRate = 44100,
[string]$BitRate = "160k"
)
$ErrorActionPreference = "Stop"
$InputFile = [System.IO.Path]::Combine((Get-Location), $InputFile)
You can’t perform that action at this time.