|
| Notices |
DriverHeaven is currently recruiting for the AWOMO Beta Test / Elite Op Team. AWOMO is a digital download service for games, and we're looking to expand the beta team. If you're interested. Sign up as a member here at DriverHeaven and then head HERE to submit your details. Thanks
For more info on AWOMO visit their site HERE
Welcome to the DriverHeaven.net forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
 |
|
Nov 16, 2005, 07:58 PM
|
#1
|
|
S-3D enthusiast
Join Date: Sep 2004
Location: Canada
Posts: 1,448
Rep Power: 28
|
redocneXk released - Realtime 5.1 ac3 Encoder
This is a realtime AC3 encoder that allows you to use spdif passthru with sound from any source.
It encodes to AC3 what you send it by using ASIO. ASIO is used to transfer audio from the sound card to the cpu. The cpu encodes the sound to AC3 and send it out of the computer by using the sound card digital passthru. You can easily do this to every sound played in windows with this program. It works with Creative cards on the kX drivers and the Creative drivers.
The latest version is 1.10.
Link : here for 1.10
Hosting provided by me
Link : here for 1.08 and previous
Hosting nicely provided by radiocolonel.it
As of 1.05, there are three modes handled by the -m switch that take care of selecting the correct inputs and mixing in software, if necessary, for the card and the audio drivers used. There is an auto-detection and it should work in most cases, so you will only need to use the -m switch if the detection is incorrect.
Link : InfoASIOv1.02.zip
This is a tool I wrote to see information about ASIO and access the ASIO control panel.
Instructions for setting the DSP if using the kX drivers :
In the DSP, connect the first 6 pins of Surrounder+ to the pins asio0 to asio5 on epilog and activate passthru in the mixer (check 'Digital Output Only' and select "SPDIF 0" for 'Toggle AC-3 Passthru mode'). Then double-click redocneXk.exe.
It's that simple. You can change some options by using switches. Look in the readme for explanations.
Below are some pics to help set the Mixer, the DSP, the Surrounder+ and the ASIO Control Panel. This is provided to help the users that never touched ASIO or the DSP. Other settings can be used.
Mixer
DSP
Surrounder+
ASIO Control Panel
************************************************** ******
NOTE on the encoder :
The encoding is done by the avcodec library. This library is licensed under the LGPL. A copy of the license is included in the zip file and the location where you can find the source code of ffmpeg is written in the readme. The dll is dynamically loaded at runtime. That means that you can recompile the dll and use it instead of the dll I provided. I haven't changed the code of the library. I used msys and mingw32 to compile the dll. The library avcodec is part of ffmpeg.
************************************************** ******
I also made another version of the tool with a GUI. It contains a mixer and a few more options.
Go to the thread here : redocneXk (GUI version) released - Realtime 5.1 ac3 Encoder
************************************************** ******
WARNING: this program usually causes a BSOD with games using OpenAL. The reason is unknown. It's recommended to avoid using it with games using OpenAL.
************************************************** ******
Use this thread for feedback, help and reporting bugs of redocneXk.
Last edited by Tril; Nov 23, 2008 at 05:25 PM.
Reason: Added a warning
|
|
|
Nov 16, 2005, 08:17 PM
|
#2
|
|
DriverHeaven Newbie
Join Date: Dec 2002
Location: Istanbul
Posts: 8
Rep Power: 0
|
Voila,
first I must say this was the project I'v been looking for years, it was really lame not being able to experience your sound cards features in music and games, as I don't have more than a 2-stereo and a digital input on my home theater.
second, it does the job perfectly, especially when your listening to music, Iv been trying to make a 2-stereo sound to surround using Pro-Logic effects on home theater, but now I see its no match to a real surround done in kX DSP.
it doesn't really have a latency issue, and you won't even notice a thing while playing non-fps games, the ac3 encoded sound is there and it matches the game perfectly, but in fps games, especially the multiplayer ones, you cant even withstand a 50ms delay as you have to react as soon as possible, but yet the latency is satisfying
to conclude, this project takes you out of a cable chaos while you still enjoy a 5.1 true surround experience on your system, great work 
|
|
|
Nov 16, 2005, 08:42 PM
|
#3
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,765
Rep Power: 28
|
I would have named it 'trill-code' or 'Trill X kode' (something more selfish).. lol
Or
Ay See 3 4 ME
Or
AC3PO (PO = Prologic output) Ok not selfish, but sorta funny...
or,
TRILLS AC3 ENCODER for KX
I know - where was I when you were looking for names... lol
Under any name - its SWEEET
Kudos Trill.
|
|
|
Nov 16, 2005, 09:20 PM
|
#4
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
Is it really as simple as the 1st post says. Where does the avcodec.dll go? And do we have to place a check mark in any of the SPDIF Options on the kX Mixer?
Can someone explain how to really get this to work?
|
|
|
Nov 16, 2005, 09:52 PM
|
#5
|
|
S-3D enthusiast
Join Date: Sep 2004
Location: Canada
Posts: 1,448
Rep Power: 28
|
You can leave the dll in the same folder as the exe. I can't comment on the settings of the mixer because my card does not support passthru and I never tested passthru myself.
I'll add an explanation of how to set-up the mixer in the first post once someone replies with the procedure in this thread.
My guess is that you have to choose SPDIF 0, SPDIF 1 or SPDIF 2 instead of Off on the bottom where it's written AC3. I don't know if you have to check "Toggle Digital Output Only Mode" or "Toggle SPDIF Bypass Mode".
|
|
|
Nov 17, 2005, 12:09 AM
|
#6
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
Thanks for the reply, I'll wait to someone explains it here.
|
|
|
Nov 17, 2005, 03:39 AM
|
#7
|
|
DH's Latest Mac Convert
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 15,749
|
mmm i was planning to hook my pc up to my home theatre eventually, this little program will really help with that 
|
|
|
Nov 17, 2005, 04:31 AM
|
#8
|
|
DriverHeaven Newbie
Join Date: Dec 2002
Location: Istanbul
Posts: 8
Rep Power: 0
|
Quote:
|
Originally Posted by thomasabarnes
Is it really as simple as the 1st post says. Where does the avcodec.dll go? And do we have to place a check mark in any of the SPDIF Options on the kX Mixer?
Can someone explain how to really get this to work?
|
You only have to check "SPDIF/Digital Out Only" mode on, and select "SPDIF 0" for bypass mode on kX mixer..
The rest is done with kX DSP, and is written clearly in readme file..
(aLL outputs from Surrounder+ to ASIO1 through ASIO6, you only need to connect a pin, program does the others automatically) 
|
|
|
Nov 17, 2005, 01:33 PM
|
#9
|
|
DriverHeaven Newbie
Join Date: Sep 2004
Location: Germany
Posts: 3
Rep Power: 0
|
hi
here this program works perfectly! really nice one!!
I've tested F.E.A.R, a first person shooter and it was great. bullets from all directions 
also latency looks quite alright because voices and shots were synchronously, imo
but maybe you can compile the program with sse and sse2 flags, so the latency is getting less?
(dont know if this works because im not a programmer  )
|
|
|
Nov 17, 2005, 02:59 PM
|
#10
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
Say does one need digital speakers for this to work? Can anybody say how the kX Mixer is suppose to be set up for this to work. I think I'm doing something wrong. When I double click on the redocneXk.exe one of the lines in the window that pops up says:
Error Message: No ASIO Driver error
But then at the bottom it says:
Status
ASIO driver started successfully.
I never tried using any SPDIF setting before. Sorry for my ignorance, but what am I doing wrong?
Last edited by thomasabarnes; Nov 17, 2005 at 03:04 PM.
|
|
|
Nov 17, 2005, 03:49 PM
|
#11
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,765
Rep Power: 28
|
Thomas:
Yes - you need either 5.1 digital speakers OR an external decoder, like a home theater receiver.
If you use only analog outs, this encoder will be of little use to you.
|
|
|
Nov 17, 2005, 04:37 PM
|
#12
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
LOL OK I C, thx!
|
|
|
Nov 17, 2005, 04:39 PM
|
#13
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,211
|
Quote:
|
Originally Posted by thomasabarnes
Error Message: No ASIO Driver error
But then at the bottom it says:
Status
ASIO driver started successfully.
|
I could be wrong but I think that is just a message indicating that there was no error.
i.e.
ErrorMessage: "[color=Blue]No[/color] ASIO Driver [color=Blue]Error[/color]"
as opposed to:
ErrorMessage: "No ASIO Driver"
|
|
|
Nov 17, 2005, 05:04 PM
|
#14
|
|
S-3D enthusiast
Join Date: Sep 2004
Location: Canada
Posts: 1,448
Rep Power: 28
|
I've changed the zip file. The first 8 lines about indexes are not supposed to appear. They were only for testings purposes. You can redownload the zip if you want.
Quote:
|
Error Message: No ASIO Driver error
|
Notice the "No" word. It means no errors.
If passthru is not activated, you will hear the sound you send to the asio pins0 to asio5 decoded by kX after the AC3 icon pops up.
There's something everyone should know. The plugin works with a buffer of 1536 samples. It needs to full that buffer before encoding.
1536/1=1536
1536/2=768
1536/3=512
1536/4=384
1536/5=307.2 NOT USABLE
1536/6=256
1536/7=219.4 NOT USABLE
1536/8=192
1536/9=170.7 NOT USABLE
1536/10=153.6 NOT USABLE
1536/11=139.6 NOT USABLE
1536/12=128
1536/13=118.2 NOT USABLE
1536/14=109.7 NOT USABLE
1536/15=102.4 NOT USABLE
1536/16=96
1536/24=64
1536/32=48
1536/48=32
From that you see that you get the numbers 32, 48, 64, 96, 128, 192, 256, 384, 512, 768 and 1536. You will get the lowest latency with redocneXk if you use one of those numbers as the number of samples for the ASIO buffer. You will get the same latency if you chose any of those numbers because it takes the same time to fill the buffer of 1536 samples.
What this means is don't choose 1024 or any number higher than 1536 for the ASIO latency in the ASIO Control Panel if you want the lowest latency.
|
|
|
Nov 17, 2005, 08:11 PM
|
#15
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
OK Tril, roger. Thanks for clearing that up for me/us. 
|
|
|
Nov 17, 2005, 10:18 PM
|
#16
|
|
S-3D enthusiast
Join Date: Sep 2004
Location: Canada
Posts: 1,448
Rep Power: 28
|
BTW, redocneXk comes from kXencoder reversed.  Calling it kXencoder would have been too boring.
|
|
|
Nov 18, 2005, 01:25 AM
|
#17
|
|
DriverHeaven Maniac
Join Date: Jan 2003
Posts: 1,282
Rep Power: 0
|
LOL That's cool man. I just noticed that!
|
|
|
Nov 18, 2005, 02:55 AM
|
#18
|
|
DH's Latest Mac Convert
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 15,749
|
took me a little while to notice as well, i was confused by the name before that lol
|
|
|
Nov 18, 2005, 03:07 AM
|
#19
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,765
Rep Power: 28
|
I thought it was Klingon or something..lol
|
|
|
Nov 21, 2005, 05:42 AM
|
#20
|
|
DriverHeaven Newbie
Join Date: Nov 2005
Posts: 6
Rep Power: 0
|
Hi, I have a few questions about this program. I'm in the process of upgrading from an Athlon XP and nForce2 motherboard with SoundStorm, to a newer dual-core Opteron system with an Audigy 2. So, I have been in search of a way to encode 5.1 game audio to Dolby Digital in real-time in software for the times when I hook my computer up to a receiver (since my old motherboard could do it) - and it looks like I may have just found my answer.
I apologize in advance if these questions are a bit stupid, but I want to make sure that I understand correctly how to use this program. Am I to install the Audigy 2 drivers from Creative's website as I normally would? Or the kX drivers that I'm starting to read about here? Then, how exactly would I go about setting up this program to encode all my audio into AC3/DD and send it out over the card's digital output? I didn't quite understand the references to ASIO and Surrounder+ in the readme file.
Any help will be much appreciated. 
Last edited by SynthDude2001; Nov 21, 2005 at 06:14 AM.
|
|
|
Nov 21, 2005, 06:42 AM
|
#21
|
|
Kx User
Join Date: Sep 2003
Location: Finland
Posts: 31
Rep Power: 0
|
Hi.
I was wondering too if this works also with the Creative drivers. I know the routings cannot be configured like with kX, but are the wave outs routed to some asio ins by default with the Creative drivers. Probably not, but if they would be, this would work, right?
Anyways I'll try redocneXk out soon (with kX). I have to say in forehand, this is absolutely GREAT. I've been looking for this kind of a thing for years (really). Thank you Tril!
|
|
|
Nov 21, 2005, 07:06 AM
|
#22
|
|
Kx User
Join Date: Sep 2003
Location: Finland
Posts: 31
Rep Power: 0
|
Sweet! Works like a dream so far. No configuration required (exept of course the asio routing). Good job. The only downside is it's cpu usage. It eats 6-10 percent of my Athlon 64 3000 (according to taskmanager). This was expected though, so not a problem really. Thanks again.
Edit: Tried with a 3D-shooter as well, and it works fine. This really is something special. I don't think this has been possible earlier with any sw based system. Truly a display of the power of kX and it's proficient users.
Last edited by ojlehtin; Nov 21, 2005 at 07:20 AM.
|
|
|
Nov 21, 2005, 04:16 PM
|
#23
|
|
DH's Latest Mac Convert
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 15,749
|
the Surrounder plus is a component of kX, which is a required install for this
|
|
|
Nov 21, 2005, 04:50 PM
|
#24
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,765
Rep Power: 28
|
KX is to be used instead of the CL drivers - btw.
|
|
|
Nov 25, 2005, 04:04 AM
|
#25
|
|
DriverHeaven Newbie
Join Date: Dec 2002
Location: Istanbul
Posts: 8
Rep Power: 0
| |