DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: swinginguitar on July 26, 2012, 05:39:58 PM

Title: Explain this pitch shifting method to me...
Post by: swinginguitar on July 26, 2012, 05:39:58 PM
http://spinsemi.com/knowledge_base/effects.html#Pitch_shifting

Can someone break this down where poeple lik eme can understand the concept, please?
Title: Re: Re: Explain this pitch shifting method to me...
Post by: slacker on July 27, 2012, 03:32:55 AM
I can't break it down any more than it's explained there. It's more commonly known as a frequency shifter, if you google that you'll find more explanation and circuits, they are pretty complex. It can sound like chorus, phasing or ring modulation depending on how you use it.
Title: Re: Explain this pitch shifting method to me...
Post by: Seljer on July 27, 2012, 08:46:30 AM
You can get the concept behind it (not the actual implementation) out of your basic trigonometric identities you may have learned in school. Lets say your input signal is a sinewave of a certain frequency: sin(w*t)  , where w is your angular frequency 2*pi*f.

Now the first section is the 90 degree phase shift, as the article mentions, as it mentions this is the tricky party. But lets say you pull it off and you manage to get your phase shifted input signal sin(w*t-pi/2). The first rule we'll use is: a 90 degree shift in phase turns a cosine into a sine and vice versa, so sin(w*t-pi/2) = cos(w*t)

And then the magic happens, you multiply the cosine and sine input signal with a cosine and sine of your modulation signal, then sum them together

sin(w*t)*cos(m)+cos(w*t)*sin(w*t)

That equation remarkably similiar to the right side of first formula on this list here: http://mathworld.wolfram.com/TrigonometricAdditionFormulas.html :) so the math says the output will be sin(w*t+m) :D

You use an oscillator for your modulation signal, and it basically ends up being added onto whatever frequency you put into the device
Title: Re: Explain this pitch shifting method to me...
Post by: swinginguitar on July 27, 2012, 01:56:53 PM
could this be done in the analog domain, or would the number of all pass filters be unwieldly?
Title: Re: Re: Explain this pitch shifting method to me...
Post by: slacker on July 27, 2012, 01:59:40 PM
Yes, here's an example from the great Jurgen Haible http://www.jhaible.de/fs1a/fs1a.html (http://www.jhaible.de/fs1a/fs1a.html)