Xref: utzoo comp.dsp:1618 sci.electronics:19939 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!IASTATE.EDU!mpurtell From: mpurtell@IASTATE.EDU (Purtell Michael J) Newsgroups: comp.dsp,sci.electronics Subject: Re: 180 deg phase shift Message-ID: <1991May7.042904@IASTATE.EDU> Date: 7 May 91 09:29:04 GMT References: <1991May5.233533.18783@ux1.cso.uiuc.edu> <7821@nst> Sender: news@news.iastate.edu (USENET News System) Reply-To: mpurtell@IASTATE.EDU (Purtell Michael J) Followup-To: comp.dsp,sci.electronics Organization: Iowa State University Lines: 23 In article <7821@nst>, grayt@Software.Mitel.COM (Tom Gray) writes: > In article <1991May5.233533.18783@ux1.cso.uiuc.edu> frerichs@adsl.ece.uiuc.edu (dfRERICHS) writes: > >Does anyone know the algorithm that would take a stream of sampled sound > >,shift it 180 deg in phase and spit it back out again? > > > >ie sound -> a/d -> dsp to shift phase -> d/a -> sound > > > > Invert the sign bit Not if it's a 2's complement integer!! -- -- Michael Purtell -- | "In a hundred years, | There's an Old Irish Recipe for mpurtell@iastate.edu | we'll all be dead." | Longevity: Leave the Table Iowa State University | -- The January Man | Hungry. Leave the Bed Sleepy. "slow is real" | Leave the Tavern Thirsty.