How to Run GPU FIR, from beginning to ending
1. Hardware and Software
Hardware: example as my configuration.
CPU: Athlon BE 2350 + Scythe Orochi cooler
VGA: GeForce 9500GT Falness MSI
Mother: GeForce 8200 MSI
Sound In: CMedia PCI
Softwares
WindowsXP Home SP2 32bit.
Display Driver
177.79_geforce_winxp_32bit_english
MotherBoard Driver
nforce_winxp_18.11_english_whql
Realtek HD Audio Driver (from CD)
HD Audio Driver
nForce_HDA_10.3.00.23_international
C-Media PCI Audio Driver (from CD)
Windows Update, update, update....
Download
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
vcredist_x86.exe
This is required for FIR Parameter Generator, and PortAudio.
And, setup your NVIDIA HDMI Audio as default output, 7.1ch. (see previous page)
You don't need CUDA toolkit, etc.
2. GPU-FIR Package
Download GPUFIR_20080821.zip.
Extract as C:\GPUFIR.
=================================================
Directory of C:\GPUFIR
08/21/2008
07:46
PM
116 Edit Parameters.bat
08/21/2008 07:48
PM
812 Generate FIR Coeffs.bat
08/21/2008 07:53 PM <DIR> Params
08/21/2008 07:50 PM <DIR> Programs
08/21/2008 07:50 PM 41 Run.bat
3
File(s)
969 bytes
Directory of C:\GPUFIR\Params
03/16/2008 07:06 PM 225 EQ01.txt
08/03/2008
04:53
PM
13 Freq01.txt
08/03/2008 04:53
PM
12 Freq02.txt
08/03/2008 04:53
PM
15 Freq03.txt
08/03/2008 04:53
PM
16 Freq04.txt
08/21/2008 07:47 PM 579 WaveX.ini
6
File(s)
860 bytes
Directory of C:\GPUFIR\Programs
11/30/2007 10:05 AM 167,936 cudart.dll
12/03/2007 11:32 AM 266,240 cutil32.dll
04/18/2008 07:55 PM 24,576 FIRParamGen.exe
08/20/2008 07:28 AM 94,208 portaudio_x86.dll
08/20/2008 08:28 PM 172,032 WaveX05.exe
5 File(s) 724,992 bytes
Total Files Listed:
14 File(s) 726,821 bytes
8 Dir(s) 26,948,370,432 bytes free
=================================================
2.1 Parameter Edit
Double Click Edit Parameters.bat
It will open These files, by Notepad.
Freq01.txt "0.0, 1000" Channel 1,2 = 0-1000
Freq02.txt "0.0, 1000" Channel 3,4 = 0-1000 (They are Center/Sub, not used)
Freq03.txt "1000.0, 3600.0" Channel 5,6 = 1K-3.6K
Freq03.txt "3600.0,44100.0" Channel 7,8 = 3.6K-44.1K
These setting are for my LINN Komponent 104. adjust to yours.
=================================================
C:\GPUFIR>"Edit Parameters"
C:\GPUFIR>notepad .\Params\Freq01.txt
C:\GPUFIR>notepad .\Params\Freq02.txt
C:\GPUFIR>notepad .\Params\Freq03.txt
C:\GPUFIR>notepad .\Params\Freq04.txt
=================================================
2.2 Double Click "Generate FIR Coeffs.bat".
This BAT file runs FIR Coeff Generator.
=================================================
C:\GPUFIR>"Generate FIR Coeffs"
C:\GPUFIR>C:\GPUFIR\Programs\FIRParamGen.exe 44100 8192 8 C:\GPUFIR\PARAMS\Freq0
1.txt C:\GPUFIR\PARAMS\EQ01.txt C:\GPUFIR\PARAMS\Out_Freq01.txt C:\GPUFIR\PARAMS
\Out_Coeff01.txt C:\GPUFIR\PARAMS\Out_Kaiser01.txt
FIRParamGen Start....
Sample Frequency = 44100Hz
Kaiser Window alpha = 8
Freq Parameter file = C:\GPUFIR\PARAMS\Freq01.txt
EQ Parameter file = C:\GPUFIR\PARAMS\EQ01.txt
Freq Output File = C:\GPUFIR\PARAMS\Out_Freq01.txt
Coeff Output File = C:\GPUFIR\PARAMS\Out_Coeff01.txt
Kaiser Output File = C:\GPUFIR\PARAMS\Out_Kaiser01.txt
Freq Low, High = 0.000000,1000.000000
EQFreq[1],EQGain[1] = 99999.000000,0.000000
Creating Frequency Response.
Calculating Coeffs.
Applying Kaiser Window.
Output Kaiser Window data.
Output Coeffs data.
Calculating Freq Responce.
Output Freq Responce.
C:\GPUFIR>C:\GPUFIR\Programs\FIRParamGen.exe 44100 8192 8 C:\GPUFIR\PARAMS\Freq0
2.txt C:\GPUFIR\PARAMS\EQ01.txt C:\GPUFIR\PARAMS\Out_Freq02.txt C:\GPUFIR\PARAMS
\Out_Coeff02.txt C:\GPUFIR\PARAMS\Out_Kaiser02.txt
FIRParamGen Start....
Sample Frequency = 44100Hz
Kaiser Window alpha = 8
Freq Parameter file = C:\GPUFIR\PARAMS\Freq02.txt
EQ Parameter file = C:\GPUFIR\PARAMS\EQ01.txt
Freq Output File = C:\GPUFIR\PARAMS\Out_Freq02.txt
Coeff Output File = C:\GPUFIR\PARAMS\Out_Coeff02.txt
Kaiser Output File = C:\GPUFIR\PARAMS\Out_Kaiser02.txt
Freq Low, High = 0.000000,1000.000000
EQFreq[1],EQGain[1] = 99999.000000,0.000000
Creating Frequency Response.
Calculating Coeffs.
Applying Kaiser Window.
Output Kaiser Window data.
Output Coeffs data.
Calculating Freq Responce.
Output Freq Responce.
C:\GPUFIR>C:\GPUFIR\Programs\FIRParamGen.exe 44100 8192 8 C:\GPUFIR\PARAMS\Freq0
3.txt C:\GPUFIR\PARAMS\EQ01.txt C:\GPUFIR\PARAMS\Out_Freq03.txt C:\GPUFIR\PARAMS
\Out_Coeff03.txt C:\GPUFIR\PARAMS\Out_Kaiser03.txt
FIRParamGen Start....
Sample Frequency = 44100Hz
Kaiser Window alpha = 8
Freq Parameter file = C:\GPUFIR\PARAMS\Freq03.txt
EQ Parameter file = C:\GPUFIR\PARAMS\EQ01.txt
Freq Output File = C:\GPUFIR\PARAMS\Out_Freq03.txt
Coeff Output File = C:\GPUFIR\PARAMS\Out_Coeff03.txt
Kaiser Output File = C:\GPUFIR\PARAMS\Out_Kaiser03.txt
Freq Low, High = 1000.000000,3600.000000
EQFreq[1],EQGain[1] = 99999.000000,0.000000
Creating Frequency Response.
Calculating Coeffs.
Applying Kaiser Window.
Output Kaiser Window data.
Output Coeffs data.
Calculating Freq Responce.
Output Freq Responce.
C:\GPUFIR>C:\GPUFIR\Programs\FIRParamGen.exe 44100 8192 8 C:\GPUFIR\PARAMS\Freq0
4.txt C:\GPUFIR\PARAMS\EQ01.txt C:\GPUFIR\PARAMS\Out_Freq04.txt C:\GPUFIR\PARAMS
\Out_Coeff04.txt C:\GPUFIR\PARAMS\Out_Kaiser04.txt
FIRParamGen Start....
Sample Frequency = 44100Hz
Kaiser Window alpha = 8
Freq Parameter file = C:\GPUFIR\PARAMS\Freq04.txt
EQ Parameter file = C:\GPUFIR\PARAMS\EQ01.txt
Freq Output File = C:\GPUFIR\PARAMS\Out_Freq04.txt
Coeff Output File = C:\GPUFIR\PARAMS\Out_Coeff04.txt
Kaiser Output File = C:\GPUFIR\PARAMS\Out_Kaiser04.txt
Freq Low, High = 3600.000000,44100.000000
EQFreq[1],EQGain[1] = 99999.000000,0.000000
Creating Frequency Response.
Calculating Coeffs.
Applying Kaiser Window.
Output Kaiser Window data.
Output Coeffs data.
Calculating Freq Responce.
Output Freq Responce.
C:\GPUFIR>
=================================================
Now Coeff Files, Freq Responce are calculated. see Params folder.
=================================================
C:\GPUFIR>cd params
C:\GPUFIR\Params>dir
Volume in drive C has no label.
Volume Serial Number is FCA7-3B70
Directory of C:\GPUFIR\Params
08/21/2008 08:01 PM <DIR> .
08/21/2008 08:01 PM <DIR> ..
03/16/2008 07:06 PM 225 EQ01.txt
08/03/2008
04:53
PM
13 Freq01.txt
08/03/2008 04:53
PM
12 Freq02.txt
08/03/2008 04:53
PM
15 Freq03.txt
08/03/2008 04:53
PM
16 Freq04.txt
08/21/2008 08:01 PM 159,732 Out_Coeff01.txt
08/21/2008 08:01 PM 159,732 Out_Coeff02.txt
08/21/2008 08:01 PM 159,747 Out_Coeff03.txt
08/21/2008 08:01 PM 159,747 Out_Coeff04.txt
08/21/2008 08:01 PM 194,617 Out_Freq01.txt
08/21/2008 08:01 PM 194,617 Out_Freq02.txt
08/21/2008 08:01 PM 193,933 Out_Freq03.txt
08/21/2008 08:01 PM 189,835 Out_Freq04.txt
08/21/2008 08:01 PM 114,688 Out_Kaiser01.txt
08/21/2008 08:01 PM 114,688 Out_Kaiser02.txt
08/21/2008 08:01 PM 114,688 Out_Kaiser03.txt
08/21/2008 08:01 PM 114,688 Out_Kaiser04.txt
08/21/2008 07:47 PM 579 WaveX.ini
18 File(s) 1,871,572 bytes
2 Dir(s) 26,947,596,288 bytes free
C:\GPUFIR\Params>
=================================================
Finally you can run WaveX05.exe. use Run.bat
=================================================
C:\GPUFIR>Run
C:\GPUFIR>.\Programs\WaveX05.exe .\Params\Wavex.ini
before paHostApiInitializers[0].
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
after paHostApiInitializers[0].
before paHostApiInitializers[1].
after paHostApiInitializers[1].
before paHostApiInitializers[2].
after paHostApiInitializers[2].
before paHostApiInitializers[3].
after paHostApiInitializers[3].
using device id 7 (Primary Sound Capture Driver)
input device # 7.
input LL: 0 s
input HL: 0 s
using device id 10 (Primary Sound Driver)
Output device # 10.
Output LL: 0 s
Output HL: 0 s
Pa_IsFormatSupported reports device will support 8 channels.
PA - PlatformId = 0x2
PA - MajorVersion = 0x5
PA - MinorVersion = 0x1
PortAudio on DirectSound - Latency = 16384 frames, 371 msec
InitOutputBuffer() returns 0
InitInputBuffer() returns 0
StartStream: DSW_StartInput returned = 0x0.
PaHost_StartOutput: IDirectSoundBuffer_SetCurrentPosition returned = 0x0.
PaHost_StartOutput: IDirectSoundBuffer_Play returned = 0x0.
stream started.
=================================================
Now I can start CD Player to listen..
configuration
CD Player to C-Media SPDIF,
GPU FIR program,
HDMI 3 Way FIRed output to Denon AVR-1908
3 Way active LINN 104
If you want to change location, see each bat file and wavex.ini file.