public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Kazantsev <mk.fraggod@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Prioritizing mpd
Date: Sat, 13 Jun 2009 22:32:50 +0600	[thread overview]
Message-ID: <20090613223250.2d008a77@coercion> (raw)
In-Reply-To: <49bf44f10906130631j187d0649vb4e479d576a32f18@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

On Sat, 13 Jun 2009 06:31:39 -0700
Grant <emailgrant@gmail.com> wrote:

> Pre-converting sounds interesting.  I could convert all of my 16/44.1
> files to 24/96 files?  That way the CPU wouldn't be stressed at
> playback time.  How can I do that?  I use libsamplerate "Best" for
> resampling.

Just use flac/lame/vorbis-tools, they have all the capabilities you
need.

  lame --decode /some/file.mp3 - | \
    flac --bps=24 --sample-rate=96 - file.flac

  lame --decode /some/file.mp3 - | \
    oggenc --resample 24000 -q 6 - -o file.ogg

  lame --resample 24 --preset standard /some/file.mp3 file.mp3

Try tweaking quality settings / listening to results in different
formats to pick the best one for you.
ogg and mp3 should result in some loss of sound quality, although it
might be insignificant while compression benefit over flac is quite
noticeable.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-06-13 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 23:02 [gentoo-user] Prioritizing mpd Grant
2009-06-13  4:30 ` Mike Kazantsev
2009-06-13  4:45   ` Grant
2009-06-13  5:11     ` Mike Kazantsev
2009-06-13 13:31       ` Grant
2009-06-13 16:32         ` Mike Kazantsev [this message]
2009-06-13  8:54   ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090613223250.2d008a77@coercion \
    --to=mk.fraggod@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox