[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Sound installed but now what???



Stephen Williams wrote:
> 
> In message <199811112314.SAA04315@ra.lexis-nexis.com>, Larry Snyder writes:
> > What happens if you:  cat some-file.au > /dev/audio?
> > That would eliminate sox....
> 
> brtaylor@inreach.com said:
> > Nothing like a simple solution!
> 
> Yep.
> 
> brtaylor@inreach.com said:
> >  Looks like the Alpha is big endian.
> 
> Nope. I quote from the "Alpha Architecture Reference manual":
> 
>         "A longword is specified by its address A, the address of
>         the byte containing bit 0."
> 
> I find that the i386 to alpha transition is easier for the image processing
> guy (like me) then the i386 to SPARC switch:-)

Alphas and Intels are little endian.

The simple solution was to elimate sox, which apparently has
some Alpha related bugs in it.

Look at /usr/lib/magic for info on file types:

Audio files

# Sun/NeXT audio data
0       string          .snd            Sun/NeXT audio data:
>12     belong          1               8-bit ISDN u-law,
>12     belong          2               8-bit linear PCM [REF-PCM],
>12     belong          3               16-bit linear PCM,
>12     belong          4               24-bit linear PCM,
>12     belong          5               32-bit linear PCM,
>12     belong          6               32-bit IEEE floating point,
>12     belong          7               64-bit IEEE floating point,
>12     belong          23              8-bit ISDN u-law compressed (CCITT G.721
 ADPCM voice data encoding),
>12     belong          24              compressed (8-bit G.722 ADPCM)
>12     belong          25              compressed (3-bit G.723 ADPCM),
>12     belong          26              compressed (5-bit G.723 ADPCM),
>12     belong          27              8-bit A-law,
>20     belong          1               mono,
>20     belong          2               stereo,
>20     belong          4               quad,
>16     belong          >0              %d Hz

# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
# that uses little-endian encoding and has a different magic number
0       lelong          0x0064732E      DEC audio data:
>12     lelong          1               8-bit ISDN u-law,
>12     lelong          2               8-bit linear PCM [REF-PCM],
>12     lelong          3               16-bit linear PCM,
>12     lelong          4               24-bit linear PCM,
>12     lelong          5               32-bit linear PCM,
>12     lelong          6               32-bit IEEE floating point,
>12     lelong          7               64-bit IEEE floating point,
>12     lelong          23              8-bit ISDN u-law compressed (CCITT G.721
 ADPCM voice data encoding),
>20     lelong          1               mono,
>20     lelong          2               stereo,
>20     lelong          4               quad,
>16     lelong          >0              %d Hz


Wes



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []