Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Michael Stutz <stutz@dsl.org>
To: linux-sound@vger.kernel.org
Subject: Re: making wav sample of a big mp3
Date: Fri, 18 Sep 1998 15:42:58 +0000	[thread overview]
Message-ID: <marc-linux-sound-90613788304589@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-90609207319651@msgid-missing>

On Fri, 18 Sep 1998, Thomas C Sobczynski wrote:

> Out of curiosity, I tried this, and just got noise with "play sample.wav"

Was is a mono mp3? If so, use "-c1" instead of "-c2" on the last line..

> 
> > This is how I do it (improvements welcome!):
> > 
> > dd if=<input.mp3> of=tmp.mp3 count=X  [where X = 14.2 * number-of-seconds-des
> > ired]
> > 
> > mpg123 -s tmp.mp3 > tmp.raw 
> > 
> > sox -r44100 -s -w -c2 tmp.raw sample.wav
> 

  parent reply	other threads:[~1998-09-18 15:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-17 22:48 making wav sample of a big mp3 Michael Stutz
1998-09-18 14:28 ` Michael Stutz
1998-09-18 15:37 ` Thomas C Sobczynski
1998-09-18 15:42 ` Michael Stutz [this message]
1998-09-18 15:46 ` Thomas C Sobczynski
1998-09-19 12:54 ` Chris Reed
1998-09-19 22:43 ` Michael Stutz

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=marc-linux-sound-90613788304589@msgid-missing \
    --to=stutz@dsl.org \
    --cc=linux-sound@vger.kernel.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