Thank you Codeplug! I've fixed it now.
Type: Posts; User: GOBLIN-85
Thank you Codeplug! I've fixed it now.
Hi guys,
I'm writing a speech recognition application using Microsoft SAPI. SAPI provides a function called LoadCmdFromFile() to load a grammar file for the speech recognition engine to use. It is...
Hi all,
I'm looking for a way to simulate key pressing on Windows XP. I have a program that can recognize my voice, and I want to map the voice command to some keys on the keyboard. For example,...
Hi all,
I'm looking for a way to simulate key pressing on Windows XP. I have a program that can recognize my voice, and I want to map the voice command to some keys on the keyboard. For example,...
Cool, thanks for the help!
The fact is that I'm working on a project about speech recognition. I want to start with taking voice input and be able to detect its pitch and volume etc. As you can...
Thanks for the reply. I'm also wondering if OpenAL does this?
Hi All,
Are there any good open source libraries for Audio Signal Processing? I aim to work on Windows Platform with Visual C++.
Thanks!
I aim to develop it on Windows XP and using Visual C++.
Hi Guys,
I'm doing a project about audio processing in c++. It shall provide some easy functions such as taking audio input from a microphone and detects its pitch and volume etc.
As I'm new...
hey MK27! That's a nice example you just wrote. I actually thought about similar thing. But a little different.
I had a vector to store ship position, and had another vector to store rotation....
I'm using a quaternion class found on the web. It's like this:
#ifndef QUATERNION_H
#define QUATERNION_H
#include <math.h>
#include "physics.h"
class Quaternion
Here goes another problem.
I have something like:
//if 'a' key is hold.
if(aHold)
{
Quaternion temp = Quaternion(30, 0, -1, 0);
player->ori *= temp;
Thank you both again for helping me.
What I meant by what type of parameters to pass to glRotated is that I know the function looks like glRotate(angle, x, y, z), what I meant to ask is that how...
Well...the spaceship I'm talking about is 3rd person perspective, while the camera follows the ship. I.e. when the ship turns, the camera turns as well, it's kinda like the control of WOW. Sorry I...
Thanks tabstop, would you let me know if this works:
//for example, i want to rotate the ship to the left
Quaternion temp = Quaternion(pi/12, 0, 1, 0);
player->orientation *= temp;...
Thank you both for the advice. I've decided to just use Quaternion to rotate the ship, i.e. when a key pressed, just rotate the ship by certain amount without adding force.
However it is still a...
Hi all,
I'm writing a 3D space game. I have Vector3 to represent the position, velocity and angular velocity, and a Quaternion to represent the orientation of the spaceship.
Now I want to...
Hi all,
I'm writing a 3D space game. I have Vector3 to represent the position, velocity and angular velocity, and a Quaternion to represent the orientation of the spaceship.
Now I want to...
Thanks for the tip. But that's not the problem I'm having, I still can't move 2 rackets at the same time.
Hi guys,
I'm using opengl to create a 2-player pong game.
I've added controls to both players. One player is using the 'A' and 'D' keys to control his racket while the other is using the left...
I can run it through vc++, I mean how can I compile the entire project into an executable programme, so that we can run it independently.
Hi guys,
I just finished writing a project using VC++ 2005. How can I compile and build it into a executable programme?
Thanks
Thank you too Mats. That's very helpful.
Thanks my friend!
Hi,
I'm writing a class which has the function that can load a file, it's like this:
A::A(){}
void A::loadFile()
{
ifstream fs;