Noise Reducer

Hi all…I am new at Audacity and want to use audacity noise reducer for my application. I’m using JAVA for that. For JNI, I need to build a dll file for my implementation. Can you guys suggest me how I make this? Or can you provide me one?
And another question, can I use this for real-time audio? What about latency?

Audacity’s built in effects are designed to work in Audacity. They do not work in other applications as they depend on other classes within Audacity.
It may be possible to implement the same (or similar) algorithm in Java. The algorithm is described here: Missing features - Audacity Support

Thanks for your quick response. I can use NoiseReduction.cpp file with JNI. But for that, I need to generate dll file. Can you suggest me how to generate this??

I don’t believe that you can.
Look in the .cpp and .h files and you will see that it depends on many other files:
#include “Effect.h”
#include “LoadEffects.h”
#include “EffectManager.h”
#include “EffectUI.h”
#include “…/ShuttleGui.h”
#include “…/widgets/HelpSystem.h”
#include “FFT.h”
#include “Prefs.h”
#include “RealFFTf.h”
#include “…/SpectrumTransformer.h”
#include “…/WaveTrack.h”
#include “…/widgets/AudacityMessageBox.h”
#include “…/widgets/valnum.h”
#include
#include
#include <math.h>
#if defined(WXMSW) && !defined(CYGWIN)
#include <float.h>
#define finite(x) _finite(x)
#endif
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/dialog.h>
#include <wx/radiobut.h>
#include <wx/slider.h>
#include <wx/valtext.h>
#include <wx/textctrl.h>
#include <wx/sizer.h>