Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: frame of silence: msg#00050

audio.compression.speex.devel

Subject: RE: frame of silence

In what fashion does the encoder 'blowup' when passed a frame of zeroes to encode?
What version of speex are you using?
 

From: Chris Cowden [mailto:ccowden@xxxxxxxxxx]
Sent: Thursday, 15 February 2007 7:57 AM
To: David Hogan; speex-dev@xxxxxxxx
Subject: RE: [Speex-dev] frame of silence

Okay, you’ve answered part of my question, which is “What value equals silence?”. I assume then that a (decoded) frame of silence would be a buffer the size of my frame (320 bytes) full of 0’s.

 

Passing this frame (a frame of all 0’s) through the encoder causes it to blowup though..

 

In response to your answer below, I don’t think I want to overwrite the decoded audio output since I don’t want to lose any “voice”, I only want to interpolate silence into it. So I would guess your response to this would be “Why don’t you just interpolate a frame of 0’s in between frames of voice after it’s been decoded?”… to which I reply, “that seems sort of hack-ish… I’m looking for a more programmatic way of generating silence that the speex codec won’t choke on.” Is there such a thing?

 

I don’t mean to have a one-sided conversation, only to make the best use of the bandwidth of this email.. Thank you for your help and I look forward to any responses!

 


From: David Hogan [mailto:david.hogan@xxxxxxxxxxxx]
Sent: Wednesday, February 14, 2007 2:37 PM
To: Chris Cowden; speex-dev@xxxxxxxx
Subject: RE: [Speex-dev] frame of silence

 

Forgive me if I misunderstood your question, but can't you just overwrite the decoded audio buffer (either before encoding or after decoding, depending on what you are trying to do) with zeros?

 

Cheers,

David Hogan

 


From: speex-dev-bounces@xxxxxxxx [mailto:speex-dev-bounces@xxxxxxxx] On Behalf Of Chris Cowden
Sent: Thursday, 15 February 2007 3:43 AM
To: speex-dev@xxxxxxxx
Subject: [Speex-dev] frame of silence

Hi, I’m new to this list. I’m using Speex as the base codec in a voice chat application (with DirectSound as the audio playback/capture interface).

 

To help me debug some of my network-related issues, I would really like to insert frames of “silence” into speech. Is there a convenient function call or API call that takes in a buffer that is the size of a frame and writes a frame of “silence” to it?

 

I’m not sure if I’m wording the question well, so any feedback would be greatly appreciated!

 

Btw, I am really enjoying using this codec and look forward to getting this working! Thanks!

_______________________________________________
Speex-dev mailing list
Speex-dev@xxxxxxxx
http://lists.xiph.org/mailman/listinfo/speex-dev
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation