From c854115358e096e7fefadc8adeb690a78bc2bc56 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 11 Dec 2010 18:35:39 -0500 Subject: [PATCH] Add MPD and replay gain posts. --- posts/MPD.mdwn | 13 +++++++++++++ posts/MPD_playlist_duration.mdwn | 3 +-- posts/Replay_gain.mdwn | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 posts/MPD.mdwn create mode 100644 posts/Replay_gain.mdwn diff --git a/posts/MPD.mdwn b/posts/MPD.mdwn new file mode 100644 index 0000000..625c507 --- /dev/null +++ b/posts/MPD.mdwn @@ -0,0 +1,13 @@ +[MPD][] is a wonderful little music player daemon. It's pretty easy +to use, but there are always tricks to make things a bit more +comfortable. + +* Calculating [[MPD playlist duration]]. +* Group-writable playlists with [[ACL]]. +* [[Replay gain]]. + +[MPD]: http://mpd.wikia.com/ + +[[!tag tags/fun]] +[[!tag tags/linux]] +[[!tag tags/tools]] diff --git a/posts/MPD_playlist_duration.mdwn b/posts/MPD_playlist_duration.mdwn index dc38dae..4177460 100644 --- a/posts/MPD_playlist_duration.mdwn +++ b/posts/MPD_playlist_duration.mdwn @@ -1,4 +1,4 @@ -I use [MPD][] to organize and play my music, since it's a pretty thin +I use [[MPD]] to organize and play my music, since it's a pretty thin layer over the directory structure I'd been using before. MPD's playlists are stored in `/var/lib/mpd/playlists/` as [M3U][] files (one filename per line), so it easy to build your own tools to work @@ -15,7 +15,6 @@ Note that, unfortunately, `%j` returns the day of the year in the range `[001,366]`, so an empty playlist would return `001 00:00:00`, not the `000 00:00:00` I'd like. Oh well. -[MPD]: http://mpd.wikia.com/ [M3U]: http://en.wikipedia.org/wiki/M3U [post]: http://repura.livejournal.com/59403.html?thread=156683 diff --git a/posts/Replay_gain.mdwn b/posts/Replay_gain.mdwn new file mode 100644 index 0000000..da97f47 --- /dev/null +++ b/posts/Replay_gain.mdwn @@ -0,0 +1,14 @@ +Some songs are louder than others, and it's annoying to have to +constantly tweak the volume knob to keep things at a reasonable level. +Enter "replay gain". You use a tool to go through your music and add +tags marking how loud each song/album is, then you play them with +something that understands the tags and adjusts the volume for you. +Very convenient. Robert Downes (Bobulous) has a [nice post with +scripts for tagging FLAC files][post] (the heart of his scripts is +`metaflac --add-replay-gain *.flac`). Then just add + + replaygain "album" + +to `/etc/mpd.conf` and restart `mpd`. Voilà! + +[post]: http://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html -- 2.26.2