HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Feb 15, 2004, 11:02 PM   #1
DriverHeaven Newbie
 
Join Date: Feb 2004
Posts: 9
Rep Power: 0
tommy_99a is on a distinguished road

ac3 encode in realtime

Dear Eugene Gavrilov,

i've found a source-site that maybe is a point of interest for all emu 10kx users!

it's a realtime software ac3 encoder for linux (and the best: its under GPL)

http://essej.net/ac3jack/

is it possible to imlement this in the kx project by dsp-plugin or do you need to reprogram the driver?

king regards
tommy
tommy_99a is offline   Reply With Quote


Old Feb 15, 2004, 11:18 PM   #2
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,106
Rep Power: 73
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

unfortunately, GPL-based software cannot be integrated into kX (but L-GPL can)

/E
Eugene Gavrilov is offline   Reply With Quote
Old Feb 16, 2004, 07:29 AM Threadstarter Thread Starter   #3
DriverHeaven Newbie
 
Join Date: Feb 2004
Posts: 9
Rep Power: 0
tommy_99a is on a distinguished road

maybe you can contact him about the imlementation, and he can explain you send a coockbock
withaut to read the code.
his adress: Jesse Chappell jesse@essej.net

it's a peace of software to convert realtime (he sad at a pentium4 1800 max. 10% CPU usage) up to 6 analog inputs to ac3 stream throuth the spdif out

thx
tommy_99a is offline   Reply With Quote
Old Feb 17, 2004, 12:35 AM   #4
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,106
Rep Power: 73
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

unfortunately, I doubt I can manage to find enough free time for that -- I suggest any people interested in real-time ac-3 encoding participate in this task (since this feature can be implemented as a 3-rd party application anyway)

/E
Eugene Gavrilov is offline   Reply With Quote
Old Feb 17, 2004, 08:15 AM   #5
DriverHeaven Junior Member
 
Join Date: Aug 2003
Posts: 28
Rep Power: 0
pzmt is on a distinguished road

as ac3 coder is used ffmpeg library (L-GPL)
pzmt is offline   Reply With Quote
Old Feb 17, 2004, 11:10 AM   #6
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,106
Rep Power: 73
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

and ffmpeg uses a52 library, which is GPL-based

/E
Eugene Gavrilov is offline   Reply With Quote
Old Feb 17, 2004, 11:21 AM   #7
DriverHeaven Junior Member
 
Join Date: Aug 2003
Posts: 28
Rep Power: 0
pzmt is on a distinguished road

a52 is used only for decoding

for ac3 encoding is used another source and from ffmpeg package
README

2) Licensing
------------

* Read the file COPYING. ffmpeg and the associated libraries EXCEPT
liba52 and libpostproc are licensed under the Lesser GNU General
Public License.

* liba52 and libpostproc are distributed under the GNU General Public
License and their compilation and use is optional in ffmpeg.

and from ac3 encoder source libavcodec/ac3enc.c

/*
* The simplest AC3 encoder
* Copyright (c) 2000 Fabrice Bellard.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.

Then ac3encoding is LGPL
pzmt is offline   Reply With Quote
Old Feb 17, 2004, 08:45 PM   #8
DriverHeaven Newbie
 
Join Date: Jan 2004
Posts: 16
Rep Power: 0
C2Mummy is on a distinguished road

I'd love to see kX drivers do realtime ac3 encoding - this would bring it in line with the nforce ICE dolby digital encoder found on nforce2 motherboards.

This would make it the only sound card to support realtime ac3 encoding (afaik), something unique to kX and the 10kX cards. Gamers and musicians alike would rejoice!

Adding features not found anywhere else is something I'm sure will attract alot of attention and further support for these excellent drivers!

Bring it on!

I'd help if I could, but alas it's a bit beyond my programming skills. Someone please make it happen!

Regards.
C2Mummy is offline   Reply With Quote
Old Feb 17, 2004, 11:55 PM   #9
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,106
Rep Power: 73
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

ah, ok. so, the -encoder- is L-GPL-covered
so, any volunteer to start this development? (since I'm really unsure I can dedicate myself...)

so, the main idea: one will need a simlest ASIO application (host) with, say, 6-channel recording module
this application (user-level -- there's no need to write any kernel-level stuff!) will encode the audio in real-time and will use the standard AC-3 passthru mechanism to output it to the SPDIF
that's it

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old Sep 11, 2004, 02:38 AM   #10
KX Fanboy
 
Join Date: May 2004
Posts: 26
Rep Power: 0
DraugluinWolf is on a distinguished road

Bump
DraugluinWolf is offline   Reply With Quote
Old Sep 11, 2004, 03:45 AM   #11
Apple Fanboy?
 
dj_stick's Avatar
 
Join Date: Jun 2003
Location: Basement of the first floor
Posts: 17,469
Rep Power: 188
dj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his statusdj_stick is godlike in his status
System Specs

perhaps someone can write this to work with kX's new addon API
__________________
Chris - The Aussie Super Mod
Hardwareheaven Rules - Sig Request Thread

How you can help HardwareHeaven by using Digg!

Hardwareheaven Super-Moderator

Quote:
Originally Posted by OmegaRED View Post
You know, there's "off topic" and then there's so freakin' off topic it you gotta wear a straitjacket to join the conversation.
dj_stick is offline   Reply With Quote
Old Nov 10, 2004, 06:26 PM   #12
DriverHeaven Newbie
 
Join Date: Nov 2004
Posts: 1
Rep Power: 0
wildtollwut is on a distinguished road

i'd like to try it. however, i have never programmed an add-on or something similar for kx project drivers.
so, where to start?

thanks
wildtollwut is offline   Reply With Quote
Old Nov 14, 2004, 03:42 AM   #13
DriverHeaven Junior Member
 
Join Date: Feb 2004
Posts: 29
Rep Power: 0
CRFX is on a distinguished road

A dolby encoder pluging would be awsome. I'm using a nforce 2 mostly for that feature. If this becomes a realality, would it be posible (hardware wise) to have multible ac-3 outputs since there are 4 digital outs.
I would love to be able to control 2 - 4 standard recievers with 1 card for my bi - tri amping needs. 24 channels of digital output = yummy!
CRFX is offline   Reply With Quote
Old Nov 15, 2004, 02:58 PM   #14
DriverHeaven Junior Member
 
Join Date: Oct 2004
Posts: 25
Rep Power: 0
Foolou is on a distinguished road

Just my 5 pence to the AC3-encoder stuff:

The encoding would be done by the systems CPU and then the AC3-data would be passed to the according out-channels of the card?

That would consume a lot of CPU-time.
Foolou is offline   Reply With Quote
Old Apr 6, 2005, 12:28 AM   #15
DriverHeaven Junior Member
 
Join Date: Feb 2004
Posts: 29
Rep Power: 0
CRFX is on a distinguished road

*Bumps*
CRFX is offline   Reply With Quote
Old Jun 14, 2005, 10:47 AM   #16
Kx User
 
Join Date: Sep 2003
Location: Finland
Posts: 31
Rep Power: 0
ojlehtin is on a distinguished road

I can only join the crowd asking for this feat because I've got no clue how to program this. Still, this would be absolutely great. If I understood correctly, this would make it possible to output surrond sound from eg. games through the spdif to an external decoder.
Ofcourse, such gaming needs aren't a priority for kX and I appreciate that, but if someone with the time and skills would do this, he'd make lots of people happy

Cheers.
__________________
Oswald
ojlehtin is offline   Reply With Quote
Old Jul 12, 2005, 05:42 PM   #17
DriverHeaven Junior Member
 
Join Date: Oct 2003
Posts: 21
Rep Power: 0
bobo1on1 is on a distinguished road

If there was a Directshow filter that could record from asio and make a 6 channel wave from that, you could use the latest ac3filter beta to encode ac3 in realtime.
I have already accomplished that with the RecL en RecR outputs of KX, but that is only stereo.
I use my onboard sound to send the ac3 to my receiver.

http://www.xs4all.nl/~loosen/Dolby/graphedit%20ac3.png
bobo1on1 is offline   Reply With Quote
Old Jul 12, 2005, 07:31 PM   #18
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 50
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

look here;
http://www.hardwareheaven.com/3-d-audio/79137-dolby-pro-logic-encoder.html
Maddogg6 is offline   Reply With Quote
Old Jul 13, 2005, 02:46 PM   #19
DriverHeaven Junior Member
 
Join Date: Oct 2003
Posts: 21
Rep Power: 0
bobo1on1 is on a distinguished road

Quote:
Originally Posted by Maddogg6
Already got that working a long time ago but it's just not the same as having six discrete channels.
bobo1on1 is offline   Reply With Quote
Old Aug 22, 2005, 05:04 PM   #20
DriverHeaven Junior Member
 
Join Date: Oct 2003
Posts: 21
Rep Power: 0
bobo1on1 is on a distinguished road

Ok from the looks of it this shouldn't be very hard to do, from my perspective there are two possibilities:

1. A program that records the asio outputs, encodes it to six channel pcm and sends the sound to a directshow graph, using a directshow filter like dolbyoutDS to encode to ac3.

2. A directshow filter that records from asio and encodes it to six channel pcm, this directshow filter can then be used in a program like graphedit.

The ac3 stream can then be send to another (cheap) sound card that can stream ac3 directly to its spdif output, like the onboard sound on almost every modern motherboard.


I am working on something like that in delphi, I have found sourcecode to record from asio and I have found sourcecode to stream data to a directshow graph, too bad I haven't got a clue on what to do with the two
bobo1on1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools