dolby digital output
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines
-----Original Message-----
From: Hod McWuff [mailto:[email protected]]
Sent: 17 February 2002 18:21
To: James Courtier-Dutton
Subject: RE: [Alsa-devel] dolby digital outputSo, the upshot is that thanks to the AC3 latency spec, even with a lightning-fast encoder, it wouldn't work.
Quoted 3 lines
I think it would be best for your application to do the mixing.
Quoted 7 lines
I think you may be right... but that still doesn't solve the additional latency, and digital output is still (unhappily) limited to two channels unless you're playing a canned stream, such as a dvd.
Any other ideas on how to deal with that, or would an extension to S/PDIF be required?
I think some high speed S/PDIF is available which can do 8 Channel 96Khz 24 bit audio but very few PC sound cards can do that.
I would have preferred everything to be converted to packet technologies, and then we could link all consumer equipment together with Ethernet cables! Circuit based technologies are quite complicated because one has to worry about clocking and synchronisation all the time.
With packet, each packet would just have a small header, with Stream ID, duration of packet, Packet number, with maybe a timestamp if one needs to synchronise two or more different streams together. Also circuit based technologies have no error correction.
A simple 100 Megs Full duplex point to point Ethernet cable can handle just about anything S/PDIF, USB, SCSI, IDE can throw at it.
Maybe that is why there is an IP version of SCSI now.
Cheers
James
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 2 lines · James Courtier-Dutton
A simple 100 Megs Full duplex point to point Ethernet cable can handle just about anything S/PDIF, USB, SCSI, IDE can throw at it.
I assume you've seen http://magic.gibson.com/?
Bob
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
So all I need now, is an Digital Amp with an Ethernet port for all 6 Channel PCM, AC3 and DTS output.
I already have an ethernet card for my PC and a HUB.
magic.gibson.com must be stupid not to realise that what we really want is an AMP with an Ethernet port, not yet another sound card.
We could then just connect the AMP to the ethernet port on any PC, and have perfect digital quality output.
Alsa would then not be needed, because once the audio is in packets, it would be better to keep it that way in the application.
One could even use Radio Lan technologies, and thus remove all the cabling as well.
Cheers
James
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Bob Ham
Sent: 18 February 2002 14:51
To: James Courtier-Dutton
Cc: [email protected]
Subject: RE: [Alsa-devel] dolby digital outputQuoted 1 line · James Courtier-Dutton
A simple 100 Megs Full duplex point to point Ethernet cable can
handle just
Quoted 1 line
about anything S/PDIF, USB, SCSI, IDE can throw at it.
I assume you've seen http://magic.gibson.com/?
Bob
--
Bob Ham: [email protected]My music: http://mp3.com/obelisk_uk
GNU Hurd: http://hurd.gnu.org/
Do your bit for UK drugs law reform: http://www.angeldeclaration.com/A pessimist expects the weather to get worse.
An optimist hopes it will improve.
A realist adjusts the sails.
Quoted 4 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 2 lines · James Courtier-Dutton
magic.gibson.com must be stupid not to realise that what we really want is an AMP with an Ethernet port
Umm.. this *is* what magic can provide. A guitar with a an ethernet port, an amp with an ethernet port, a mixer with an ethernet port, a computer with an ethernet port.. you name it. (And when I say ethernet here, I mean RJ45.) Has the following specs:
32 channels @ 44.1 kHz x 32 bits
32 channels @ 48 kHz x 32 bits
16 channels @ 96 kHz x 32 bits
8 channels @ 192 kHz x 32 bits
This is over one cable; it's not a network in the sense of ethernet. You can't plug all your instruments into a 100baseTX hub, unfortunately, but you can plug all your instruments into NICs in the back of your computer.
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 6 lines · Bob Ham
Has the following specs:
32 channels @ 44.1 kHz x 32 bits 32 channels @ 48 kHz x 32 bits 16 channels @ 96 kHz x 32 bits 8 channels @ 192 kHz x 32 bits
I should also note that this is full duplex.
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
The magic web site did not mention anything about an AMP.
Quoted 25 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Bob Ham
Sent: 18 February 2002 16:27
To: James Courtier-Dutton
Cc: ALSA Development Mailing List
Subject: RE: [Alsa-devel] dolby digital outputQuoted 1 line · James Courtier-Dutton
magic.gibson.com must be stupid not to realise that what we
really want is
Quoted 1 line
an AMP with an Ethernet port
Umm.. this *is* what magic can provide. A guitar with a an ethernet port, an amp with an ethernet port, a mixer with an ethernet port, a computer with an ethernet port.. you name it. (And when I say ethernet here, I mean RJ45.) Has the following specs:
32 channels @ 44.1 kHz x 32 bits
32 channels @ 48 kHz x 32 bits
16 channels @ 96 kHz x 32 bits
8 channels @ 192 kHz x 32 bits
Quoted 21 lines
This is over one cable; it's not a network in the sense of ethernet. You can't plug all your instruments into a 100baseTX hub, unfortunately, but you can plug all your instruments into NICs in the back of your computer.
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 1 line · James Courtier-Dutton
The magic web site did not mention anything about an AMP.
Magic is just a way to ferry audio data around.. that can be between any audio devices. The specification document gives a lot more details than the site and has a few setup examples (including one with an amp :)
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 1 line · James Courtier-Dutton
The magic web site did not mention anything about an AMP.
The specs do.
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to James Courtier-DuttonI think sending realtime audio data via eternet will be extremely difficult. It should be impossible to synchronize sample clock via ethernet. So each device has to have its own sample clock. This requires:
- resampling units (=no lossles connections possible) or
- large buffers to slowly adapt sample rates (huge variing latency, clock jitter, ...)
With S/PDIF or any other common digital audio interface it is at least possible to synchronize the receiver to the transmitter's clock.
So you have to resample only if you're mixing two or more digital inputs into one output.
If you're using pro equipment, it is even possible to remotely clock digital audio sources (wordclock line). In this case, you never have to resample and digital audio processing can be lossless.
But with ethernet connections it is even impossible to use separate digital-input amplifiers for your right and left speaker. (unless you add extra wordclock cabling...)
I don't know how the 'Wireless Multimedia Alliance' (www.wimedia.org, JVC, Sony,...) is going to handle these problems. Seems as if they extend the wireless lan standard by some sort of real-time transfers. Like USB. They call it IEEE 802.15.3.
Any comments? Am i wrong? What about Yamaha's MLAN (ieee1394)?
Stef(an).
Quoted 13 lines · James Courtier-Dutton
So all I need now, is an Digital Amp with an Ethernet port for all 6 Channel PCM, AC3 and DTS output.
I already have an ethernet card for my PC and a HUB.magic.gibson.com must be stupid not to realise that what we really want is an AMP with an Ethernet port, not yet another sound card.
We could then just connect the AMP to the ethernet port on any PC, and have perfect digital quality output.
Alsa would then not be needed, because once the audio is in packets, it would be better to keep it that way in the application.
Quoted 5 lines
One could even use Radio Lan technologies, and thus remove all the cabling as well.
Cheers
James
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
RE: audio via ethernet (was: dolby digital output)
When you switch from circuit based technologies to packet based ones, the problems you have to solve are totally different.
1) Circuit requires clock sync across the entire network just like the old TDM based telephone networks need. Packet does not.
2) Circuit introduces no delay for PCM data. Packet introduces a small delay(normally less than 1 ms). (due to the size of the packet).
3) Circuit SPDIF cannot handle 8 channel 32bit audio. (The next DVD standard). Packet technologies can.
4) All the problems of sending audio over packets have already been solved by the Voice over IP people.
5) The only real problem left with packet is QOS (quality of service across an entire network). But most people will just have point to point links in an audio setup. E.g. From PC to AMP.
Cheers
James
Quoted 68 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of stef
Sent: 18 February 2002 17:01
To: [email protected]
Subject: Re: [Alsa-devel] audio via ethernet (was: dolby digital output)I think sending realtime audio data via eternet will be extremely difficult. It should be impossible to synchronize sample clock via ethernet. So each device has to have its own sample clock. This requires:
- resampling units (=no lossles connections possible) or
- large buffers to slowly adapt sample rates (huge variing latency, clock jitter, ...)With S/PDIF or any other common digital audio interface it is at least possible to synchronize the receiver to the transmitter's clock.
So you have to resample only if you're mixing two or more digital inputs into one output.If you're using pro equipment, it is even possible to remotely clock digital audio sources (wordclock line). In this case, you never have to resample and digital audio processing can be lossless.
But with ethernet connections it is even impossible to use separate digital-input amplifiers for your right and left speaker. (unless you add extra wordclock cabling...)
I don't know how the 'Wireless Multimedia Alliance' (www.wimedia.org, JVC, Sony,...) is going to handle these problems. Seems as if they extend the wireless lan standard by some sort of real-time transfers. Like USB. They call it IEEE 802.15.3.
Any comments? Am i wrong? What about Yamaha's MLAN (ieee1394)?
Stef(an).
Quoted 2 lines · James Courtier-Dutton
So all I need now, is an Digital Amp with an Ethernet port for
all 6 Channel
Quoted 4 lines
PCM, AC3 and DTS output.
I already have an ethernet card for my PC and a HUB.magic.gibson.com must be stupid not to realise that what we
really want is
Quoted 3 lines
an AMP with an Ethernet port, not yet another sound card.
We could then just connect the AMP to the ethernet port on any
PC, and have
Quoted 5 lines
perfect digital quality output.
Alsa would then not be needed, because once the audio is in packets, it would be better to keep it that way in the application.One could even use Radio Lan technologies, and thus remove all
the cabling
Quoted 2 lines
as well.
Quoted 7 lines
Quoted 2 lines
Cheers
James_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to stefQuoted 2 lines · stef
I think sending realtime audio data via eternet will be extremely difficult.
Why?
Quoted 2 lines
It should be impossible to synchronize
sample clock via ethernet.
Why?
Did you read the gibson magic spec?
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
Quoted 5 lines · Dan Hollis
Quoted 2 lines · stef
I think sending realtime audio data via eternet will be extremely difficult.
Quoted 8 lines
Why?
Quoted 2 lines
It should be impossible to synchronize
sample clock via ethernet.Why?
Did you read the gibson magic spec?
Oh, sorry! I thought you were talking about ethernet (NICs, switches, hubs, MAC addressing, collisions) and not just cat5 cables and a compatible physical layer.
Stef(an).
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to stefQuoted 2 lines · stef
It should be impossible to synchronize
sample clock via ethernet.
If it's possible for me to synchronise my PC clock to sub-millisecond accuracy over *IP* on a LAN, I somehow doubt it'd be impossible to synchronise word clocks over ethernet.
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
Quoted 3 lines · Bob Ham
If it's possible for me to synchronise my PC clock to sub-millisecond accuracy over *IP* on a LAN, I somehow doubt it'd be impossible to synchronise word clocks over ethernet.
Sounds great! 20 nanoseconds would be enough.
But the problem in digital audio is that the clock has to be readjusted in short intervals.
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
Thanks,
Stef(an).
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
Quoted 2 lines · stef
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
Probably ntp. Works well, multicast mode should be excellent for this.
BTW if you use fixed size packets on fullduplex ethernet (as gibson's magic does), then sync should not be much of a problem. IIRC they also include synchronization data in the packets so that synchronization is easy.
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
Quoted 5 lines · Dan Hollis
Quoted 2 lines · stef
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
Probably ntp. Works well, multicast mode should be excellent for this.
It's not reasonable to compare ntp to word clock, ntp resyncs every few minuites and works by using some incredible maths.
However, on raw ethernet, the arrival of the packets + a timestamp should be enough synchronisation.
Quoted 1 line
From what I remeber of magic, it ensures the packets are sent
synchronosly.
- Steve
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
This one is a toughy. Even if you use NTP, you still have a signifficant amount of drift to deal with. The system clock is not sample-accurate. Multicast NTP still requires unicast connectivity to the multicast servers, so I really don't understand the point.
_J
Quoted 14 lines · Steve Harris
Quoted 5 lines · Dan Hollis
Quoted 2 lines · stef
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
Probably ntp. Works well, multicast mode should be excellent for this.
It's not reasonable to compare ntp to word clock, ntp resyncs every few minuites and works by using some incredible maths.
However, on raw ethernet, the arrival of the packets + a timestamp should be enough synchronisation.
Quoted 1 line
From what I remeber of magic, it ensures the packets are sent
Quoted 9 lines
synchronosly.
- Steve
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to Steve HarrisQuoted 2 lines · Steve Harris
However, on raw ethernet, the arrival of the packets + a timestamp should be enough synchronisation.
Yes, it should.
Quoted 2 lines
Quoted 1 line
From what I remeber of magic, it ensures the packets are sent
synchronosly.
No, it just tries very hard :-) by using fixed packet lengths, and strict inter-packet timings.
Still, it should be adequate for most cases. And definitely more flexible than most current systems.
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
Quoted 5 lines · Dan Hollis
Quoted 2 lines
Quoted 1 line
From what I remeber of magic, it ensures the packets are sent
synchronosly.
No, it just tries very hard :-) by using fixed packet lengths, and strict inter-packet timings.
;) OK, but as long as the system is magic only they should be able to guarantee that (modulo hardware failure).
- Steve
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to stefQuoted 2 lines · stef
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
The mother of all time protocols, NTP
http://www.eecis.udel.edu/~mills/ntp.htm
Signature · 15 lines
Bob Ham: [email protected] My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/ Do your bit for UK drugs law reform: http://www.angeldeclaration.com/ A pessimist expects the weather to get worse. An optimist hopes it will improve. A realist adjusts the sails. _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
Re: audio via ethernet (was: dolby digital output)
In reply to stefQuoted 2 lines · stef
But the problem in digital audio is that the clock has to be readjusted in short intervals.
I just thought of something. multicast is perfect for clock synchronization.
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
RE: audio via ethernet (was: dolby digital output)
In reply to stefI think it is very interesting hearing what peoples views are when comparing current digital audio technologies like SPDIF and packet based technologies like ethernet for digital audio.
Very few people have in depth knowledge of what is possible with both technology.
Some people have in depth knowledge of SPDIF and sample sync etc. Other people have in depth knowledge of packet technologies.
I will keep watching this thread to see where it goes.
Cheers
James
Quoted 22 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of stef
Sent: 18 February 2002 23:01
To: [email protected]
Subject: Re: [Alsa-devel] audio via ethernet (was: dolby digital output)Quoted 3 lines · Bob Ham
If it's possible for me to synchronise my PC clock to sub-millisecond accuracy over *IP* on a LAN, I somehow doubt it'd be impossible to synchronise word clocks over ethernet.
Sounds great! 20 nanoseconds would be enough.
But the problem in digital audio is that the clock has to be readjusted in short intervals.
Anyway, which software/protocol/service do you use for your clock synchronisation? _very_ interesting!
Quoted 8 lines
Thanks,
Stef(an).
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 4 lines · Bob Ham
Quoted 2 lines · James Courtier-Dutton
A simple 100 Megs Full duplex point to point Ethernet cable can handle just about anything S/PDIF, USB, SCSI, IDE can throw at it.
I assume you've seen http://magic.gibson.com/?
sadly, magic is patent-encumbered.
-Dan
Signature · 7 lines
[-] Omae no subete no kichi wa ore no mono da. [-] _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel