Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: sox, mpg123, amp. Problems, problems.
@ 1998-10-12 11:30 xeno
  0 siblings, 0 replies; 2+ messages in thread
From: xeno @ 1998-10-12 11:30 UTC (permalink / raw)
  To: axp-list

>Maybe it is an endian problem? You can easily check this with the -x
>option (i believe) in sox. Then again Intel and Alpha have the same
>endianness (does this make sense?). Bu in my case this worked.

  Wierd. Here's what I've been doing. I use mpg123 to output a raw file:

  mpg123 -s blah.mp3 > file.raw

  Then I take sox and try to process the file:
  
  sox -c 2 -w -r 44100 file.raw file.wav

  (Note: I've toggled between -s and -u, with and without -x) 

   I get a wav file that will play. But it's completely unidentifiable.
I'd hate to (but hope that) it's just a stupid syntax thing that I've been
wasting my time with. But I think that something really wierd is going on.
amp gives the same crappy unidentifiable output in wav form as well. I
think what I'll try doing is take the amp output and -x it with sox. Maybe
it'll work then. I'll let you know if it works or not. :)


  Thanks.

  Eric.
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sox, mpg123, amp. Problems, problems.
@ 1998-10-12 11:54 Roman Martonak
  0 siblings, 0 replies; 2+ messages in thread
From: Roman Martonak @ 1998-10-12 11:54 UTC (permalink / raw)
  To: axp-list

I have a similar problem on my UDB (RH 4.2) where the wav file generated by
cdda2wav cannot be played by play (from sox package), producing just some 
strange sounds, even after I specify by hand all the parameters. I wonder 
whether it's a problem of cdda2wav or play, since the same wav file can be 
correctly played under Windows NT without any problems. On the other hand vplay 
would play it correctly under Linux when I specify the parameters. So it seems
that there is something strange with these programs. I tried to compile also
wavplay, but I did not succeed.

	Thanks for any suggestion,
					Roman Martonak.
					
--------------------------------------------------------------------------------
Roman Martonak
Max-Planck-Institut fuer Festkoerperforschung
Heisenbergstrasse 1
D-70569 Stuttgart
Germany

Phone: + 49 711 6891756
Fax: + 49 711 6891702

e-mail: martonak@prr.mpi-stuttgart.mpg.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-12 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-12 11:54 sox, mpg123, amp. Problems, problems Roman Martonak
  -- strict thread matches above, loose matches on Subject: below --
1998-10-12 11:30 xeno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox