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 sp_TopicIcon
Phase shifting all frequencies 90 degrees
No permission to create posts
January 7, 2014
9:19 pm
Forum Posts: 14
Member Since:
October 10, 2013
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: 36

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

TheSmile: 27

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 522

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 545

Posts: 2134

Newest Members:

Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx, drorh

Moderators: W Pirkle: 247

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 247