First of all, I’d like to say I’m a begginner with audio programmation.
Basically, what I’m trying to do is pretty simple: Let the user choose between which record input he’d like to record from, then, record the sound, process it, then playback the sound. This is all coded in C# with the latest Fmodex stable version. (4.0.22)
I succeeded to display the list of input drivers.
My things have been going pretty well until the time came to use the selectRecordDriver method. When my code hit that specific line, it goes into the fmod.dll wrapper and it crashes at that point.
Visual Studio 2005 debbugger says it cannot find the entrance point for the function ‘FMOD_System_SetRecordDriver’ in fmodex.dll.
I searched a lot about this problem, and the only thing I found is that this function has been removed in version 4.0.21 of Fmod.
Is it a problem with the wrapper? Is there a function that could replace the one removed?
Any help would be greatly appreciated!
- crazydread18 asked 9 years ago
the c# header is outdated.
there is no SetRecordDriver function in the fmod.h header file. From what i gather, its left over from an older version. to set the driver, you just call RecordStart with the driver ID. However, the C# version doesnt have this. The C# header seems to be incredibly outdated. Firelight does not maintain the C# headers from what they have stated before. It is created by a 3rd party, so there are bound to be errors.
You will have to modify the c# header in order to get it to work. In order for me to even test the c# header, i had to modify the memoryinfo.cs file cuz it wouldnt even compile.
i have done some modifications and the recording now works. Unfortunantly, i do not have the time to undertake a total revamp of the c# header. but you can download the modified header here [url:byn2ravd]http://storage.neptunecentury.com/fmod/fmod.zip[/url:byn2ravd]
Great! Thank you!
I finally got this thing working.
Now what I am gonna try to do is make my own effect on the sound… like Wah-Wah, phaser, echo, etc.
I know the DSP already has some function doing that, but audio manipulation is the subject of a research I must do, so I cannot use only some function to do that! 😉
Any track you could lead me to?
Please login first to submit.