Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Eliad Moshe

Member Since 01 Jan 2010
Offline Last Active Feb 19 2015 06:36 AM

Topics I've Started

3D sound engine for a super realistic sound sources localization

17 February 2015 - 02:15 PM

Hey Guys !

I am writing a 3D sound engine on top of the XAudio2 sound API with conjunction with the X3DAudio API.

- A restriction for the system is that users must use the software with headphones.

I managed to create 3D sound sources in virtual space, by going through the How to: Integrate X3DAudio with XAudio2 msdn guide and the provided  XAudio2 sample supplied with the June 2010 DirectX SDK / Microsoft Windows SDK (I think).

Problem is, that there isn't much correlation between the real physical ears sensetivity and the acheived sound result, you can't determine the object's depth and orientation in space as if it were there physically.

Now, I am not a sound engineer, nor an expert in this feild, I want to acheive a Binaural sound effect so I think that the next step for me is to get deeper in the mathematics of the "Head-related transfer" function.

 

Any advice on how to acheive such a super realistic effect, the right and fast way ?

 

 

 


Payment Gateway & Merchant Service Providers

11 September 2014 - 07:34 AM

Which payment gateway & merchant service (world wide) providers would you recommend?


The "Drawings -Figures" section in a patent

03 June 2014 - 02:06 AM

"Figs 1A to 1D show various aspects of a closure supplied with...with paper in accordance with one embodiment"

 

"Fig 2 shows a ...on one side only in accordance with another embodiment"

 

"Fig 3 shows a ...in accordance with another embodiment"

 

Why not to be more specific regarding which particular embodiment the figure relates to?

 

How to use this phrase correctly?


Accessing STDOUT of a child process

16 February 2014 - 06:39 PM

Hi guys,

I am trying to access the STDOUT of a child console application,
At first I tried to use Anonymous Pipes with Info from:

http://msdn.microsoft.com/en-us/library/ms682499%28VS.85%29.aspx
http://www.codeproject.com/Articles/5531/Redirecting-an-arbitrary-Console-s-Input-Output

then, I found this page at Microsoft Support : http://support.microsoft.com/kb/190351 that states:

"Note Child processes that use such C run-time functions as printf() and fprintf() can behave poorly when redirected. The C run-time functions maintain separate IO buffers. When redirected, these buffers might not be flushed immediately after each IO call. As a result, the output to the redirection pipe of a printf() call or the input from a getch() call is not flushed immediately and delays, sometimes-infinite delays occur. This problem is avoided if the child process flushes the IO buffers after each call to a C run-time IO function. Only the child process can flush its C run-time IO buffers. A process can flush its C run-time IO buffers by calling the fflush() function."

Any Idea what can I do in order to  solve this besides modifying the source?
 


Getting the CPU temperature

09 February 2014 - 07:15 PM

Hi Guys,

SOME BACKGROUNG

- I am writing a software for Windows (WinXP and above, in C++), that requires measuring the CPU temperature.

- There are two WMI interfaces for this : MSAcpi_ThermalZoneTemperature and Win32_TemperatureProbe.

Although not all hardware manufactures implement their part in the interface within their drivers.

(http://social.technet.microsoft.com/Forums/de-DE/eecc509c-481d-44d2-b5e5-57cb7174e0d7/ms-windows-should-implement-working-cpu-temperature-monitoring-in-wmi-service?forum=perfmon)

 

- There are hardware monitors that bypass the user space using a kernel mode driver in order to inject
assembly instructions directly to the processor.

- The Open Hardware Monitor software for example which is open source (written in C#) uses WinRing0.sys.
I modified it into a simple console app that returns the temperature.

- OHM implement the temperature retrieval interface in the following files: 
(https://code.google.com/p/open-hardware-monitor/source/browse/trunk/Hardware/?r=366#Hardware%2FCPU)

- (Each model of each hardware manufacture has it's own assembly interface to access the temperature sensors) ~

- There is also a propriety  SDK by CPUID, and an extension mechanism by CoreTemp.


MY QUESTION

All of these solutions require a quite restrictive security token - there is a bumping UAC (User Account Control) dialog (Vista and above).
OHM requires system admin privileges for example.

Is there a way to eliminate this?

Some useful links:
http://www.codeproject.com/KB/vista-security/VistaSessions.aspx?msg=3198293
http://www.codeproject.com/Articles/35773/Subverting-Vista-UAC-in-Both-32-and-64-bit-Archite

I tried those techniques without success so far (I am using Win8.0).

Any ideas?

 


PARTNERS