Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 17th January 2002, 12:16 AM   #1
Ignite is offline Ignite  Canada
diyAudio Member
 
Join Date: Jul 2001
Location: Toronto, Ontario, Canada
Send a message via ICQ to Ignite
Default DIY AC-3 Encoding?

After the let-down of not having AC-3 encoding capability on my new SoundBlaster Audigy, I've been thinking of how I might go about creating AC-3 output myself for the card.

The card has the ability to do the encoding, it is just prevented to do so by the massive price Creative Labs would have to pay in order to legally sell that technology.

The card also has the Audigy Drive (similar to Live! Drive) hookup which provides some form of digital output which is sent to the drive DACs and output devices.

I'm wondering if the drive hookup could be attached to some DSP hardware which would provide the AC-3 encoding.

This is a bit out of my leauge, though I plan to research until it no longer is.

Any thoughts on this?
  Reply With Quote
Old 17th January 2002, 01:25 PM   #2
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Quote:
The card has the ability to do the encoding,
Do you mean it can send a pre-encoded AC3 stream over S/PDIF, or that it can actually encode AC3 in realtime? The latter would be pretty impressive, but I doubt this is a "factory" feature.

You may wish to start by looking at http://opensource.creative.com. There is enough information there to get you outputting AC3 files that you have on hand...search the web if you don't have any, or get a copy of SoundForge's encoder. Or rip one off a DVD.

You could try getting a developer account at Creative if you wish to use the Windows API, but in my experience this is not possible. I faxed the NDA in three times and they never gave me an account or responded to my emails.

Good luck...I'd be thrilled if you came up with something. It's a difficult task but a very worthy one, IMHO. Besides, it lays a lot of groundwork for a DIY decoder. :)
  Reply With Quote
Old 18th January 2002, 08:42 PM   #3
Ignite is offline Ignite  Canada
diyAudio Member
 
Join Date: Jul 2001
Location: Toronto, Ontario, Canada
Send a message via ICQ to Ignite
Interesting things I've found out:

Dolby charges a horrendous amount to use AC-3 technology, so creative didn't want to front the bucks. Instead the card is designed to output multiple signals of plain S/PDIF. 3 separate signals (and cables) for 5.1.

This raises an interesting question: Can a home theatre reciever handle 3 different digital pcm streams over optical or is it no different then coax, AC-3 or multiple lines?

See, I have an optical input on my reciever, and I'd love to be able to get 5.1 digital output from my computer all the time, not just in AC-3 passthrough mode.

It's just a matter of figuring out how to take 3 S/PDIF signals and either turn them into AC-3 or some other 5.1 signal my reciever can use.

The most obvious solution is a DAC right before my reciever. At least then the signal will be digital until it is cleared from the EM interference of my computer.
  Reply With Quote
Old 21st January 2002, 02:06 PM   #4
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Optical and coax carry the same signals (S/PDIF) just different mechanics. There are some companies (Alesis) that do multichannel (4-8?) over optical connectors, but this is something entirely different.

It sounds like the seperate DAC might work out well for you; this is actually what I am doing, a six channel DAC to do 5.1 decoding. The difference is that I am ripping the streams bodily from an off-the-shelf AC3 decoder, whereas you have them nicely packaged from your sound card.

There are some decent 6-channel DACs (single chip) or you could always go discrete for slightly more. This is MUCH easier than sythesizing AC3 in realtime, and will actually be higher quality.
  Reply With Quote
Old 25th January 2002, 02:33 PM   #5
hifiZen is offline hifiZen  Canada
diyAudio Member
 
hifiZen's Avatar
 
Join Date: May 2001
Location: Mountain View, CA
It sounds to me like you already have exactly what you want available. Doing the AC-3 encoding will compress the digital streams, thus losing quality. By contrast, the 6-channel DAC sounds like the best option, since you'll get the full uncompromised quality (whatever that happens to be) of your SPDIF digital outs on all six channels.

DIY AC-3 encoding would be difficult at best, and is probably not something particularly useful to the DIYer. AC-3 decoding OTOH, is potentially very useful... especially if you have equipment which outputs a 5.1 encoded stream.
__________________
- Chad.
  Reply With Quote
Old 25th January 2002, 06:29 PM   #6
diyAudio Member
 
Join Date: Jan 2002
try to search at http://www.burr-brown.com/

They can offer clips & demo borad
  Reply With Quote
Old 25th January 2002, 07:10 PM   #7
diyAudio Member
 
Join Date: Jan 2002
Location: Nova Scotia Canada
Default Software solution

I have a soundblaster live! 5.1 card, and have wondered about this myself. There are a few pure software dolby digital(AC3) encoders available. http://www.soundmusic.com/sekd/ac3encoder.htm)
If something like this could be implemented into the SB live! drivers, then the 6 channel output that would normally be sent out the 3 stereo 1/8" jacks could be send out digitally as an AC3 stream in the same fashion that it is passed-through from DVD. The only question would be if your computer had enough power to encode it in real-time..
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac vs PC Encoding/Playback JimOfOakCreek Digital Source 19 4th March 2008 09:40 PM
MP3 encoding makes marginal recordings sound better? Circlotron Everything Else 8 8th February 2005 12:36 AM
PLL for use with SPDIF (biphase mark encoding) Akh_Ind Digital Source 7 3rd December 2003 06:41 AM


New To Site? Need Help?

All times are GMT. The time now is 10:44 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2