[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sox-users
Subject:    Re: [SoX-users] how to generate a sine wave using a-law encoding
From:       Jan Stary <hans () stare ! cz>
Date:       2011-11-30 7:02:09
Message-ID: 20111130070208.GA24211 () www ! stare ! cz
[Download RAW message or body]

On Nov 29 22:47:23, paromita chowdhury wrote:
> hi all,
> 
> i need to generate a sine wave but using alaw encoding
> I am able to generate for signed-linear as
> sox -r 8000 -c1 -s -n output.raw synth 0.02 sin 1000
> 
> But if i replace -s with -A(for alaw), the output is no longer a sine as
> encoding is happening

Yes it is.

> I need to know the function which when passed though a-law encoding will
> give a sine wave as output
> 
> Suggestions required from people in this forum

RTFM or GTFO required from you.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic