![]() Click OK, then exit DevStudio and re-launch it. This is important, because the default installation of DevStudio has include files for an older DirectX SDK, and grabbing those by mistake will result in errors like " LPDIRECTSOUND8 doesn't exist." Select Library Files from the Show Directories For drop-down, and follow the same process to add the full path to your DirectX library location (usually C: \dxsdk\lib). Drag these two folders up to the top of the list, making DevStudio check these locations before any other locations. Do the same thing to enter the path to the samples include directory, normally C:\dxsdk\samples\Multimedia\Common\include. The DirectX SDK installs itself by default at C:/dxsdk, so unless you specified a different location, you should enter C:\dxsdk\include. Click the button to the left of the red X to create a new entry, and type in the full path to the DirectX include directory. Select Include Files in the Show Directories For… drop-down box. ![]() Select Options from the Tools pull-down menu then select the Directories tab from the dialog that appears (you may need to scroll the tabs using the scroll buttons on the right). If you didn't select that option, complete the following steps to add the paths. (See Figure 2.3.) When you install DirectX, there's an option that lets you automatically add the appropriate paths to DevStudio's configuration. Building the Samples in This Book All of the sample programs in this book assume that you have the DirectX paths set up in your global configuration. The per-project configuration takes precedence over the global configuration (that is, DevStudio first looks for what it needs using the per-project settings, and if it can't find it, it uses the global settings). There's the global configuration, which applies to all projects you load on your computer, and is kept inside your computer's registry, and there's a per-project configuration, which applies only to the project you have loaded (and is stored inside the DSP project file). Global versus Per-Project Configurations DevStudio has two different configuration sets. Visual Studio version 7, the concepts are the same, but the actual buttons and menus you have to click will be different. If you're on another compiler, or if you're in Visual Studio. This section will teach you how to do that, assuming you're using Visual C version 6. There are two main things you need to do: you need to tell your compiler where it can find the DirectX headers, and where it can find the DirectX libraries. Its hard to say if we did it right but the recording that have come out of that studio sound great.بیشتر توضیحات افزودن یادداشت جدید HOW TO SET UP YOUR COMPILER FOR DIRECTX AUDIO Before you can do anything else, you must learn how to properly configure your compiler to build applications that use DirectX Audio. The idea was that these would dull the sound of the music on the outside of the studio while still maintaining the acoustic qualities of the room. We used the data generated to install sound muffling devices around the room. We generated tones in dozens of places around the room and my friend tracked the response using a computer program that he had access to. It made a single repeated sound that was familiar but not something I could ever put my finger on. It was a little device not much bigger than a cell phone. Once we got the basic frame of the space installed it was time to break out the tone generator. I didn't have any experience with sound engineering, but I had some carpentry skills and helped him with a lot of the construction. I have a good friend that set up a recording studio in his basement about 5 years ago. Even though it doesn't rise above the level of being a party trick it is still really impressive. The first time I saw it I just about fell out of my seat. My friend had memorized the various tone (He was a smart guy with a great voice) and he could dial just about any number you wanted just by repeating the tones during the dial tone. It is my understanding that telephones do not actually register the number pressed on the telephone, they register the corresponding tone produced by each individual number. A friend of mine could dial a telephone using only his voice.
0 Comments
Leave a Reply. |