Overclock.net › Forums › Components › Sound Cards and Computer Audio › Inverting the phase of a wave?
New Posts  All Forums:Forum Nav:

Inverting the phase of a wave?

post #1 of 6
Thread Starter 
Hey guys,

I am looking for a way to invert the phase of a wave through my computer and then output it.

Doe anyone know of a way to do this?

Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
    
CPUMotherboardGraphicsRAM
Core i7 920 4ghz 1.25v Evga Classified E760/E762 Evga Gtx 480 + Galaxy GTX 480 SLI 6GB Corsair Dominator GT 1600mhz 
Hard DriveOSMonitorKeyboard
Crucial C300 256Gb, Samsung 7200rpm 320gb, 2x W... Windows 7 64-bit Home premium Dell U2410 1920x1200 Wireless Logitech 
PowerCaseMouseMouse Pad
Antec Quatro 1200w Corsair 800D Razer Death Adder Office Depot thingy 
AudioAudio
Asus Xonar STX Sennheiser HD555's 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 4ghz 1.25v Evga Classified E760/E762 Evga Gtx 480 + Galaxy GTX 480 SLI 6GB Corsair Dominator GT 1600mhz 
Hard DriveOSMonitorKeyboard
Crucial C300 256Gb, Samsung 7200rpm 320gb, 2x W... Windows 7 64-bit Home premium Dell U2410 1920x1200 Wireless Logitech 
PowerCaseMouseMouse Pad
Antec Quatro 1200w Corsair 800D Razer Death Adder Office Depot thingy 
AudioAudio
Asus Xonar STX Sennheiser HD555's 
  hide details  
Reply
post #2 of 6
A wave? What kind of wave? Or a WAVE (WAV)?

In real time or after the fact?

If you're talking about processing a music file (a WAV), that can be done in any kind of audio software like Audacity: select all, click Effect -> Invert, export to whatever format you choose.
post #3 of 6
Thread Starter 
Not a file. An actual sound wave. Invert the phase and then reproduce. It's for an active noise cancelling project.
    
CPUMotherboardGraphicsRAM
Core i7 920 4ghz 1.25v Evga Classified E760/E762 Evga Gtx 480 + Galaxy GTX 480 SLI 6GB Corsair Dominator GT 1600mhz 
Hard DriveOSMonitorKeyboard
Crucial C300 256Gb, Samsung 7200rpm 320gb, 2x W... Windows 7 64-bit Home premium Dell U2410 1920x1200 Wireless Logitech 
PowerCaseMouseMouse Pad
Antec Quatro 1200w Corsair 800D Razer Death Adder Office Depot thingy 
AudioAudio
Asus Xonar STX Sennheiser HD555's 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 4ghz 1.25v Evga Classified E760/E762 Evga Gtx 480 + Galaxy GTX 480 SLI 6GB Corsair Dominator GT 1600mhz 
Hard DriveOSMonitorKeyboard
Crucial C300 256Gb, Samsung 7200rpm 320gb, 2x W... Windows 7 64-bit Home premium Dell U2410 1920x1200 Wireless Logitech 
PowerCaseMouseMouse Pad
Antec Quatro 1200w Corsair 800D Razer Death Adder Office Depot thingy 
AudioAudio
Asus Xonar STX Sennheiser HD555's 
  hide details  
Reply
post #4 of 6
When changing AC to DC the part of the sine wave that goes below the "zero" line is inverted up through rectification(passing the current through correctly referenced diodes).This make it so all the "humps" are on one side of the zero line (as viewed on an O'scope).Then the valleys between the humps are filled in through a restive/capacative group (the RC time constant.This makes the best DC straight line possible.Now how to do this with a sound wave must certainly be possible,but how.
WC Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-930@4.05GHz ASUS P6X58D-Preminum XFX GeForce 275 896mb 6GB Corsair TR3X6G1600C8D 
Hard DriveOptical DriveOSMonitor
WD 150gb Raptor LightScan Win 7 64-bit Acer 22" 
KeyboardPowerCaseMouse
G15 Corsair HX620W Antec 1200 several various 
Mouse Pad
none 
  hide details  
Reply
WC Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-930@4.05GHz ASUS P6X58D-Preminum XFX GeForce 275 896mb 6GB Corsair TR3X6G1600C8D 
Hard DriveOptical DriveOSMonitor
WD 150gb Raptor LightScan Win 7 64-bit Acer 22" 
KeyboardPowerCaseMouse
G15 Corsair HX620W Antec 1200 several various 
Mouse Pad
none 
  hide details  
Reply
post #5 of 6
I think i know what you are trying to do although im still now 100%. If you are doing active noise canceling then you will have a reference mic easiest way to flip phase is to just reverse pin 2 and 3 if its XLR you should be able to do that to just about any analog audio input just reverse the positive and negative pin you could also do this in almost any DAW.
I7 Desktop
(19 items)
 
  
CPUMotherboardGraphicsRAM
I7 4770k ASROCK Z87 Extreme 6 Asus R9 270 Corsair Dominator 
Hard DriveHard DriveHard DriveCooling
Mushkin SSD  Seagate  Seagate Xigmatek Gaia 
CoolingOSMonitorMonitor
Xigmatek Fans Windows 8.1 X64 Hanspree 28in 1920x1200 Dell 21in 1680x1050 
MonitorKeyboardPowerCase
Dell 21in 1680x1050 IBM Model M 1990 Seasonic x750 Gold Thermaltake 
Mouse PadAudioAudio
Monoprice Behringer X32 X-Dante 
  hide details  
Reply
I7 Desktop
(19 items)
 
  
CPUMotherboardGraphicsRAM
I7 4770k ASROCK Z87 Extreme 6 Asus R9 270 Corsair Dominator 
Hard DriveHard DriveHard DriveCooling
Mushkin SSD  Seagate  Seagate Xigmatek Gaia 
CoolingOSMonitorMonitor
Xigmatek Fans Windows 8.1 X64 Hanspree 28in 1920x1200 Dell 21in 1680x1050 
MonitorKeyboardPowerCase
Dell 21in 1680x1050 IBM Model M 1990 Seasonic x750 Gold Thermaltake 
Mouse PadAudioAudio
Monoprice Behringer X32 X-Dante 
  hide details  
Reply
post #6 of 6
Quote:
Originally Posted by Willanhanyard View Post

Not a file. An actual sound wave. Invert the phase and then reproduce. It's for an active noise cancelling project.
Capture from a mic and invert and output to a speaker? It's possible I think but you'll experience some latency and I *THINK* that's going to destroy the effect. To do it in real-time with "off the shelf" applications I think you'll need a host (DAW or maybe a simple VST host) and a phase inverting (VST) plugin. Even if you get kernal streaming (ASIO probably) on the input and output I'm not sure you'll get below 5-10ms of latency. I'm just guessing though but I think you'll need something much faster than Windows input and output.
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Sound Cards and Computer Audio
Overclock.net › Forums › Components › Sound Cards and Computer Audio › Inverting the phase of a wave?