public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fredrik Tolf <fredrik@dolda2000.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Network connection repeatedly failing!
Date: Thu, 17 Aug 2006 04:10:56 +0200	[thread overview]
Message-ID: <1155780656.24508.25.camel@pc7.dolda2000.com> (raw)
In-Reply-To: <975fd1710608160847g797ddc20yb84828aef08ddab2@mail.gmail.com>

On Wed, 2006-08-16 at 11:47 -0400, Samuel Baldwin wrote:
> Also, does anyone know of a tool that allows you to play audio from a
> terminal? Basically, sending audio to standard audio out? I'd like to
> be able to listen to music (all .ogg and .mp3, if it makes a
> difference), while in runlevel 3. This is a side comment, and do not
> waste time answering this/looking it up if you don't know off hand. 

My personal favorite is mpg321 (or ogg123 for OGG). Very efficient and
very customizable. Normally, it plays directly to your default libao
plugin (probably OSS or ALSA), but with the -s option, you can send raw
(headerless) 44100 kHz, 8 bit signed short audio to stdout for further
processing by e.g. sox. Call me a simpleton, but I often have lots of
fun with changing the playback sampling rate :)

mpg123 -vs somefile.mp3 | sox -t .raw -r 48000 -sw -c 2 - -t \
  ossdsp /dev/dsp

Have fun,
Fredrik Tolf


-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-08-17  2:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 15:47 [gentoo-user] Network connection repeatedly failing! Samuel Baldwin
2006-08-16 16:01 ` [gentoo-user] " Jim Ramsay
     [not found]   ` <975fd1710608160938t164fe940g89197b19ef6477c4@mail.gmail.com>
2006-08-16 16:39     ` Samuel Baldwin
2006-08-17  1:57 ` Stefan Wimmer
2006-08-17  2:10 ` Fredrik Tolf [this message]
2006-08-17 13:29   ` [gentoo-user] " Samuel Baldwin
2006-08-17 15:56     ` [gentoo-user] " Jim Ramsay
2006-08-17 17:52       ` Samuel Baldwin
2006-08-17 22:41     ` [gentoo-user] " Ryan Tandy
2006-08-18  0:12       ` Samuel Baldwin
2006-08-18  1:24         ` Samuel Baldwin
2006-08-18  7:18           ` Richard Fish
2006-08-18 15:07             ` Samuel Baldwin

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=1155780656.24508.25.camel@pc7.dolda2000.com \
    --to=fredrik@dolda2000.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