Personal computing discussed
Moderators: renee, Captain Ned
Flying Fox wrote:WinLAME? Or you go full command line and do flac -> wav -> mp3 with LAME.
DragonDaddyBear wrote:I use Foobar2000 for converting audio formats.
@echo on
for %%a in ("C:\FILES_TO_CONVERT\*.*") do ffmpeg -i "%%a" -vn -acodec libmp3lame -b:a 128k "C:\CONVERTED_FILES\%%~na.mp3"
pause
Captain Ned wrote:128K. As if. WAV or nothing (space is cheap). On the one device where I have to use MP3 (because my !!_*%$#@$^# car 's head unit won't recognize lossless files), it's Lame -V0.
Vhalidictes wrote:Cap'n, while I share your hatred of 128K, higher quality MP3's are fine.
Dashak wrote:Seconded for dBpoweramp.
Captain Ned wrote:Dashak wrote:Seconded for dBpoweramp.
The metadata and art retrieval capacities alone make it a winner. Been a happy customer for years now.
Vhalidictes wrote:I'd need to actually track down an audio CD. Not sure where any are at this point.
Captain Ned wrote:Vhalidictes wrote:I'd need to actually track down an audio CD. Not sure where any are at this point.
There's 300+ downstairs next to the audio rack and at least another 100 shoved in various spots in my "office". The less I say about my vinyl collection is the less you disparage me once again.
Music is a physical format, preferably analog. Yes, I'm one of those vinyl Luddites. The Ripping of the Vinyl awaits a new turntable (something in the Rega catalog most likely) that can do it justice. Also haven't settled on the proper ADC, which is the core of any vinyl ripping project.
Vhalidictes wrote:my collection of mostly 320K MP3's is stable at about a terabyte and hasn't much changed in over ten years now. It's been about ten years since I've checked my now-secondary PC to see if that old ASUS DVD burner still works.
Captain Ned wrote:Vhalidictes wrote:my collection of mostly 320K MP3's is stable at about a terabyte and hasn't much changed in over ten years now. It's been about ten years since I've checked my now-secondary PC to see if that old ASUS DVD burner still works.
My CD collection, all ripped to WAV, comes in at 339 GB according to Win8. Seems about right for the number of CDs I think I have. Vinyl will easily double that just from the noise through the ADC let alone the size of the collection.
just brew it! wrote:728GB in FLAC format here. Mostly CD rips, but also includes some vinyl rips and digital downloads.
Digital downloads that come in MP3 format get converted to FLAC (even though there's a size penalty) to have a consistent archival format, and to have them in a lossless format for manipulation via Audacity (MP3 downloads frequently have minor beginning/end-of-track glitches, e.g. a few milliseconds of silence, which are noticeable on albums where there's not supposed to be any gap between tracks, so I edit those glitches out when I encounter them).
Most of the collection is also transcoded to OGG format, for my phone. Yes, I know... transcoding files that were originally in MP3 format to another lossy format is bad. But OGG is "transparent" to me at a lower bitrate than MP3, and I want to maximize the amount of music I can cram into the phone. I can't tell the difference unless I do a very careful side-by-side comparison, so it's good enough for mobile (car/bus/train) use.
Even at 160 kbit OGG sounds pretty decent. We've come a long way since the days of horrible MP3 encoders that made everything sound like it was being played underwater at lower bitrates, and introduced all sorts of other bizarre sonic artifacts even at high bitrates (I remember the encoder that came with early versions of MusicMatch JukeBox inserting random thumps, clicks, and dropouts all over the place).
#!/bin/bash
dir="../../../MP3-new"
suffix=""
if [[ $# -ge 1 && $# -lt 3 ]]; then
dir="$1"
shift
fi
if [[ $# -ge 1 && $# -lt 3 ]]; then
suffix="$1"
shift
fi
if [[ $# -eq 0 ]]; then
saveifs=$IFS
IFS=/
pathbits=(`pwd`)
IFS=$saveifs
pathlen=${#pathbits[@]}
artist=${pathbits[$((pathlen - 2))]}
album=${pathbits[$((pathlen - 1))]}
artist2=`echo $artist | sed -e 's/&/\\\&/'`
album2=`echo $album | sed -e 's/&/\\\&/'`
if [[ "$suffix" != "" ]]; then
album="$album $suffix"
fi
echo $artist
echo $album
if [[ -e "$dir/$artist/$album" ]]; then
seq=1
while [[ -e "$dir/$artist/$album ($seq)" ]]; do
seq=$((seq+1))
done
album="$album ($seq)"
fi
artist2=`echo $artist | sed -e 's/&/\\\&/'`
album2=`echo $album | sed -e 's/&/\\\&/'`
mkdir --parents "$dir/$artist/$album"
ls *.flac | sort | sed -e 's/ .*$/ "&"/g;s/" /"/g;s/.flac//g' \
| sed -e "s:^:$0 \"$dir\" \"$artist2\" \"$album2\" :" | bash
cd "$dir/$artist/$album"
mp3gain -a -k -s r *.mp3
else
dir="$1"
artist="$2"
album=$3
album2=`echo "$album" | sed -e 's/([0-9]\+)$//;s/ \+$//;s/\[.\]$//;s/ \+$//'`
track="$4"
name="$5"
if [[ `echo "$track" | grep '[0-9][0-9]-[0-9][0-9]-' | wc -l` -eq 0 ]]; then
track2=`echo "$track" | sed -e 's/^\[//;s/\]$//'`
else
track2=`echo "$track" | sed -e 's/^..-//;s/-//;s/^ *//;s/^\[//;s/\]$//'`
fi
if [[ ${#track2} -eq 1 ]]; then
track2=`printf "%02d" "$track2"`
fi
track3=`echo "$track2" | sed -e 's/^0\+//'`
name2=`echo "$name" | sed -e 's/^-//;s/^ *//'`
out="$dir/$artist/$album/$track2 $name2.mp3"
flac --decode --stdout --silent "$track $name.flac" \
| lame --preset standard --add-id3v2 --ta "$artist" --tl "$album" \
--tn $track3 --tt "$name2" - "$out"
fi
ls -d */* | sed -e 's/^/pushd "/;s/$/"; flac2mp3; popd/' | bash
DancinJack wrote:pfffft at anything in 2017 that doesn't play FLAC. No cars fo' me. For completeness, I don't really convert to MP3 anymore these days... I do have LAME installed somewhere though (which works through Foobar if I want too).
Then again, I really only play stuff on my computer (Schiit DAC+AMP) and my phone (Android 7.1.2) so I'm generally covered.
just brew it! wrote:Sure, I could be more selective. But that would involve whittling things down a LOT, and I'd be constantly going, "Hmm, I haven't listened to X in a while... oh damn, that's not on the phone!"