From: "Clary, Jason" <[EMAIL PROTECTED]>
Subject: RE: data format of the raw audio send to my own audio device

If you are dumping the output to a raw file (effectively a .au "format"
audio sample) then the sound format has to be 8bit mono at 16khz unless you
tell the player otherwise.

wav has a header which tells what the format is.  If its outputting 2
channel, 16bit/sample at 16khz then you will need to create a wav file with
those parameters and write your data to that stream rather than raw dump to
disk.

Of course, maybe you've done this already and something else is wrong.. ;)



-----Original Message-----
From: RealForum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2000 10:05 AM
Subject: Re: data format of the raw audio send to my own audio device


From: Dave Abberley <[EMAIL PROTECTED]>
Subject: Re: data format of the raw audio send to my own audio device

RealForum writes:
   > From: Frederick Li <[EMAIL PROTECTED]>
   > Subject: Re: data format of the raw audio send to my own audio device
   >
   > I had checked the RMAAudioFormat passed to
   > IRMAAudioDevice::Open and it is 2 channels, 16 Bits/Sample and 16000
   > samples/sec
   > for testing data thanks3.ra. But when I use my sound edit to play the
dumped
   > file
   > and signal looks like a saturated white noice. I just wonder if I
should call
   > some
   > method of the player to adjust the volume. If I do, how should I do it?
   >
   > Cheers, Frederick
   >

Sounds like byte-swapping to me. Try swapping the sample bytes round
and see if it gets any better.

Dave


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to