I'm working on a game engine in C++ and am using Visual Stdio 17 for the project. And for the Music and SFX, I want to use FMOD
I'm having trouble finding the correct tutorial to set it up though. I have installed the FMOD Studio API, but now need to know where do I put in the FMOD libraries.
If someone could help me or point me to the correct tutorial, it'd be nice.
FMOD setup in XCODE and Visual Studio
Also, here's a tutorial I found helpful for setting up a basic Audio Engine using FMOD.
Related
I am trying to plot circle using graphics.h library but all the tutorials and examples I have seen had "C:\TurboC\BGI" in the initgraph() function. As long I understand, the mentioned path leads to the graphics driver, but in my my PC I was unable to find any BGI file.
I am using mingw-w64 environment on visual studio code.
Is there any different command or add-on I should install to access graphics programming in c++?
It would be a lot of help, if anyone can suggest any alternative way to do graphics programming in c++.
Go to https://github.com/ananay/turboc OR download Turbo C++ software then use the installation location (which is C:/ in above example) /TurboC/BGI
BGI files come with Turbo C++
I am currently working on an Independent Study project as a high school class. My project is to create a virtual piano using Visual c++ with Windows Forms on Visual Studio 2017. I want this piano to be able to play multiple notes at once, overlapping one another regardless of when each is pressed. I've managed to create a simple working model that can play notes using the PlaySound() method with .wav files for the sound.
My problem is that I'm unsure as to how to go about creating the audio system for this program. I've heard that I need to build an audio engine or use a sound library, or both. I'm looking into FMOD, but I really don't have any real experience with audio programming like this. Are there any pointers, tips, or any advice at all that anybody can give me? I'd appreciate anything at all.
I am running a VC++ Windows Forms project on VS 2017, my OS is 64 bit Windows 7.
I've done a few things with the Microsoft Research Kinect SDK. Getting the skeleton is super-easy and I'd like to do something similar in the context of a commercial project.
What is the best C++ library that is available today (even if that's not free / open source)?
Microsoft has published a commercial version of Kinect SDK here.
OpenNI + NITE seems to be an option but I could not find any explicit mention of commercial usage on the website.
I am trying to create an application to capture a snapshot using a webcam.
I have been able to accomplish this using WIA, but this solution becomes unstable when ran on Windows 7 with a camera that has a resolution of more than 1.3 megapixels. We are coding for a tablet computer that has a built in webcam with 2.0 megapixels.
I am not opposed to using direct show, but I would like to stay away from .net.
I have searched high and low for a solution and I can not get the directshow examples from the windows platform sdk or directx 9.0 to even compile on Visual Studio 6.0. I have also had no luck OpenCV.
Is there anyone that could point me in the direction of a tutorial that might get me started down the right path?
Thanks
The simplest way is videoinput lib that wraps directshow, it's the same lib used by openCV.
If that isn't good enough then the AMCAP sample in the multimedia/directshow dir of the Microsoft SDK shows how to run a camera in directshow
ps. as Hans said you should update the compiler,VC++6 is little old. There is a free version of their latest vs2010.
I found this tutorial excellent and it is so simple. I found it worked on XP and win7 with an old webcam and a new one.
I used the second example which is a semi-directshow one, but bypasses most of directshow.
You do need to add error handling though.
http://www.codeproject.com/KB/audio-video/VideoImageGrabber.aspx
I am new to C++ and Visual Studio and have two questions:
Where do I need to put the VSTSDK so that VS recognizes it and I can use it in my projects?
Does anybody have some sample code for a VST host?
It doesn't matter where you put the VST SDK, as long as you tell Visual Studio. In Visual Studio, you can add any library and #include path, and that's what you'll need from the SDK.
I would also recommend checking out the Audacity Source Code for a VST hosting example. There used to be a great vsthost.cpp example on the web, too, but I can't seem to find it. =/
There are some few examples like, vsthost, vstboard, audacity.
vsthost is using asio only, the 2 others are using portaudio and portmidi.
vstboard is using Qt for gui, audacity uses wxwidget.
The problem is : what kind of host do you need (simple for one plug in ora complex one) Also, you should take a look at JUCE library which offers good features for all of that even if I would prefer the vstboard design (Qt + portaudio)
good luck