Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Phase shifting all frequencies 90 degrees
January 7, 2014 - 9:19 pm
Member Since: October 10, 2013
Forum Posts: 14
sp_UserOfflineSmall Offline

Hi Will,

I'm working on some code where I would like to full phase shift all frequencies 90 degrees on one batch of signals.
I've been looking up Hilbert Transforming, and FFT 'tweaking'; the Hilbert Transform is a bit baffling, while (suprisingly) the FFT option may actually be easier to do (I've yet to try it)

I know that FFT has real and imaginary number system, and also when I played with FFT Analysis (in Excel with addon pack), I created a Sine wave table, (just did 32 values, dividing up 360º by 32, and then doing sine/cosine checks etc, as cosine I know has 90º shift from sine), peformed the FFT on it, and go only a couple of values (as expected as the sine was pure, so know I got positive and negative values in the FFT frequency domain). I also found that if I swapped the real and imaginary numbers over then inverse FFT'd I got the sine to be a phase shifted version, without using sine/cosine etc.

The main purpose of this is for emulating surround sound from 2 channels (I've read that L + R = Centre, while Side is phase shifted 90 degrees and added to Left channel, and side shifted -90 degrees and added to Right channel)

Have you had any experience with swapping over the FFT values in C++, or applying Hilbert (or Dome filter as I've also found online as another description) in C++?

As always, any help is greatly appreciated

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 697

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 757

Posts: 2894

Newest Members:

Mistahbrock, Jas, Rowan, sojourn, fabhenr, rg1, Niklas, Wutru, Tim Campbell, Danny Jonel

Moderators: W Pirkle: 573

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 573, VariableCook: 3