Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
AES3
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Professional digital audio interface standard}} {{Use British English|date=March 2020}} '''AES3''' is a [[technical standard|standard]] for the exchange of [[digital audio]] signals between [[professional audio]] devices. An AES3 signal can carry two channels of [[pulse-code modulation|pulse-code-modulated digital audio]] over several [[transmission media]] including [[balanced line]]s, [[unbalanced line]]s, and [[optical fiber]].<ref name="AES-EBU-3250-E">{{cite web|url=https://tech.ebu.ch/docs/tech/tech3250.pdf|title=Specification of the AES/EBU digital audio interface (The AES/EBU interface)|publisher=European Broadcast Union|year=2004|access-date=2014-01-07}}</ref> AES3 was jointly developed by the [[Audio Engineering Society]] (AES) and the [[European Broadcasting Union]] (EBU) and so is also known as '''AES/EBU'''. The standard was first published in 1985 and was revised in 1992 and 2003. AES3 has been incorporated into the [[International Electrotechnical Commission]]'s standard '''IEC 60958''', and is available in a consumer-grade variant known as [[S/PDIF]]. ==History and development== The development of standards for [[digital audio]] interconnect for both professional and domestic audio equipment, began in the late 1970s<ref name="AES-standards-history">{{cite web|url=http://www.aes.org/standards/about/|title=About AES Standards|access-date=2014-01-07|publisher=Audio Engineering Society|quote="In 1977, stimulated by the growing need for standards in digital audio, the AES Digital Audio Standards Committee was formed."}}</ref> in a joint effort between the Audio Engineering Society and the European Broadcasting Union, and culminated in the publishing of AES3 in 1985. The AES3 standard has been revised in 1992 and 2003 and is published in AES and EBU versions.<ref name="AES-EBU-3250-E"/> Early on, the standard was frequently known as AES/EBU. Variants using different physical connections are specified in IEC 60958. These are essentially consumer versions of AES3 for use within the domestic [[high fidelity]] environment using connectors more commonly found in the consumer market. These variants are commonly known as S/PDIF. ==Related standards and documents== ===IEC 60958=== '''IEC 60958''' (formerly IEC 958) is the [[International Electrotechnical Commission]]'s [[technical standard|standard]] on [[digital audio interface]]s. It reproduces the AES3 professional digital audio interconnect standard and the consumer version of the same, [[S/PDIF]]. The standard consists of several parts: * IEC 60958-1: General * IEC 60958-2: Software Information Delivery Mode * IEC 60958-3: Consumer applications * IEC 60958-4: Professional applications * IEC 60958-5: Consumer application enhancement ===AES-2id=== '''AES-2id''' is an AES information document published by the [[Audio Engineering Society]]<ref>[http://www.aes.org AES Official Site]</ref> for digital audio engineeringβGuidelines for the use of the AES3 interface. This document provides guidelines for the use of AES3, AES Recommended Practice for Digital Audio Engineering, Serial transmission format for two-channel linearly represented digital audio data. This document also covers the description of related standards used in conjunction with AES3 such as [[AES11]]. The full details of AES-2id can be studied in the standards section of the [[Audio Engineering Society]] web site<ref>[http://www.aes.org/publications/standards/ Standards web site]</ref> by downloading copies of the AES-2id document as a PDF file. ==Hardware connections== The AES3 standard parallels part 4 of the international standard IEC 60958. Of the physical interconnection types defined by IEC 60958, two are in common use. ===IEC 60958 type I=== [[Image:Xlr-connectors.jpg|thumb|XLR connectors, used for IEC 60958 type I connections.]] Type I connections use [[balanced]], three-conductor, 110-ohm [[twisted pair]] cabling with [[XLR connector]]s. Type I connections are most often used in professional installations and are considered the standard connector for AES3. The hardware interface is usually implemented using [[RS-422]] line drivers and receivers. {| class="wikitable" |+ Type I connector ends ! ! Cable end ! Device end |- ! Input | XLR male plug | XLR female jack |- ! Output | XLR female plug | XLR male jack |} ===IEC 60958 type II=== IEC 60958 Type II defines an unbalanced electrical or optical interface for [[consumer electronics]] applications. The precursor of the IEC 60958 Type II specification was the Sony/Philips Digital Interface, or [[S/PDIF]]. Both were based on the original AES/EBU work. S/PDIF and AES3 are interchangeable at the protocol level, but at the physical level, they specify different electrical signalling levels and [[Impedance matching|impedances]], which may be significant in some applications. ===BNC connector=== [[File:BNC connector 20050720 001.jpg|thumb|right|BNC connector, used for AES-3id connections.]] AES/EBU signals can also be run using unbalanced BNC connectors a with a 75-ohm coaxial cable. The unbalanced version has a very long transmission distance as opposed to the 150 meters maximum for the balanced version.<ref>{{citation |url=https://tech.ebu.ch/docs/other/aes-ebu-eg.pdf |title=Engineering Guidelines: the EBU/AES Digital Audio Interface |author=John Emmett |date=1995 |publisher=[[European Broadcasting Union]] }}</ref> The AES-3id standard defines a 75-ohm [[BNC connector|BNC]] electrical variant of AES3. This uses the same cabling, patching and infrastructure as analogue or digital video, and is thus common in the broadcast industry. ==Protocol== [[Image:SPDIF AES EBU protocol colored.svg|thumb|300px|right|Simple representation of the protocol for both AES3 and S/PDIF]] :''The low-level protocol for data transmission in AES3 and S/PDIF is largely identical, and the following discussion applies for S/PDIF, except as noted.'' AES3 was designed primarily to support stereo [[PCM]] encoded audio in either [[digital audio tape|DAT]] format at 48 kHz or [[CD]] format at 44.1 kHz. No attempt was made to use a carrier able to support both rates; instead, AES3 allows the data to be run at ''any'' rate, and encoding the clock and the data together using [[biphase mark code]] (BMC). Each bit occupies one ''time slot''. Each audio sample (of up to 24 bits) is combined with four flag bits and a synchronisation preamble which is four time slots long to make a ''subframe'' of 32 time slots. The 32 time slots of each subframe are assigned as follows: {| class="wikitable" |+ AES3 subframe |- ! Time slot ! Name ! Description |- | 0β3 | Preamble | A synchronisation preamble (biphase mark code violation) for audio blocks, frames, and subframes. |- | 4β7 | Auxiliary sample (optional) | A low-quality auxiliary channel used as specified in the channel status word, notably for producer [[Talkback (recording)|talkback]] or [[recording studio]]-to-studio communication. |- | 8β27, or 4β27 | Audio sample | One sample stored with [[most significant bit]] (MSB) last. If the auxiliary sample is used, bits 4β7 are not included. Data with smaller sample bit depths always have MSB at bit 27 and are zero-extended towards the [[least significant bit]] (LSB). |- | 28 | Validity (V) | Unset if the audio data are correct and suitable for D/A conversion. During the presence of defective samples, the receiving equipment may be instructed to mute its output. It is used by most CD players to indicate that concealment rather than error correction is taking place. |- | 29 | User data (U) | Forms a serial data stream for each channel (with 1 bit per frame), with a format specified in the channel status word. |- | 30 | Channel status (C) | Bits from each frame of an audio block are collated giving a 192-bit channel status word. Its structure depends on whether AES3 or [[S/PDIF]] is used. |- | 31 | Parity (P) | [[Even parity]] bit for detection of errors in data transmission. Excludes preamble; Bits 4β31 have an even number of ones. |} Two subframes (A and B, normally used for left and right audio channels) make a '''frame'''. Frames contain 64 bit periods and are produced once per audio sample period. At the highest level, each 192 consecutive frames are grouped into an ''audio block''. While samples repeat each frame time, metadata is only transmitted once per audio block. At 48 kHz sample rate, there are 250 audio blocks per second, and 3,072,000 time slots per second supported by a 6.144 MHz biphase clock.<ref>{{cite web|url=http://broadcastengineering.com/mag/broadcasting_aesebu_digital_audio/ |title=The AES/EBU digital audio signal distribution standard |publisher=Broadcastengineering.com |date=1 September 2004 |last=Robin |first=Michael |access-date=2012-05-13 |archive-url=https://archive.today/20120709235416/http://broadcastengineering.com/mag/broadcasting_aesebu_digital_audio/ |archive-date=2012-07-09 |url-status=dead}}</ref> ===Synchronisation preamble=== The synchronisation preamble is a specially coded ''preamble'' that identifies the subframe and its position within the audio block. Preambles are not normal BMC-encoded data bits, although they do still have zero [[DC bias]]. Three preambles are possible: *X (or M) : 11100010{{sub|2}} if previous time slot was ''0'', 00011101{{sub|2}} if it was ''1''. (Equivalently, 10010011{{sub|2}} [[NRZI]] encoded.) Marks a word for channel A (left), other than at the start of an audio block. *Y (or W) : 11100100{{sub|2}} if previous time slot was ''0'', 00011011{{sub|2}} if it was ''1''. (Equivalently, 10010110{{sub|2}} [[NRZI]] encoded.) Marks a word for channel B (right). *Z (or B) : 11101000{{sub|2}} if previous time slot was ''0'', 00010111{{sub|2}} if it was ''1''. (Equivalently, 10011100{{sub|2}} [[NRZI]] encoded.) Marks a word for channel A (left) at the start of an audio block. The three preambles are called X, Y, Z in the AES3 standard; and M, W, B in IEC 958 (an AES extension). The 8-bit preambles are transmitted in the time allocated to the first four time slots of each subframe (time slots 0 to 3). Any of the three marks the beginning of a subframe. X or Z marks the beginning of a frame, and Z marks the beginning of an audio block. <pre> | 0 | 1 | 2 | 3 | | 0 | 1 | 2 | 3 | Time slots _____ _ _____ _ / \_____/ \_/ \_____/ \_/ \ Preamble X _____ _ ___ ___ / \___/ \___/ \_____/ \_/ \ Preamble Y _____ _ _ _____ / \_/ \_____/ \_____/ \_/ \ Preamble Z ___ ___ ___ ___ / \___/ \___/ \___/ \___/ \ All 0 bits BMC encoded _ _ _ _ _ _ _ _ / \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \ All 1 bits BMC encoded | 0 | 1 | 2 | 3 | | 0 | 1 | 2 | 3 | Time slots </pre> In two-channel AES3, the preambles form a pattern of ZYXYXYXY..., but it is straightforward to extend this structure to additional channels (more subframes per frame), each with a Y preamble, as is done in the [[MADI]] protocol. ===Channel status word=== There is one channel status bit in each subframe, a total of 192 bits or 24 bytes for each channel in each block. Between the AES3 and S/PDIF standards, the contents of the 192-bit channel status word differ significantly, although they agree that the first channel status bit distinguishes between the two. In the case of AES3, the standard describes, in detail, the function of each bit.<ref name="AES-EBU-3250-E" /> *Byte 0: Basic control data: sample rate, compression, emphasis **bit 0: A value of 1 indicates this is AES3 channel status data. 0 indicates this is S/PDIF data. **bit 1: A value of 0 indicates this is linear audio PCM data. A value of 1 indicates other (usually non-audio) data. **bits 2β4: Indicates the type of signal [[preemphasis]] applied to the data. Generally set to 100{{sub|2}} (none). **bit 5: A value of 0 indicates that the source is locked to some (unspecified) external time sync. A value of 1 indicates an unlocked source. **bits 6β7: Sample rate. These bits are redundant when real-time audio is transmitted (the receiver can observe the sample rate directly), but are useful if AES3 data is recorded or otherwise stored. Options are unspecified, 48 kHz (the default), 44.1 kHz, and 32 kHz. Additional sample rate options may be indicated in the ''extended sample rate'' field (see below). *Byte 1: indicates if the audio stream is stereo, mono or some other combination. **bits 0β3: Indicates the relationship of the two channels; they might be unrelated audio data, a stereo pair, duplicated mono data, music and voice commentary, a stereo sum/difference code. **bits 4β7: Used to indicate the format of the user channel word *Byte 2: Audio word length **bits 0β2: Aux bits usage. This indicates how the aux bits (time slots 4β7) are used. Generally set to 000{{sub|2}} (unused) or 001{{sub|2}} (used for 24-bit audio data). **bits 3β5: Word length. Specifies the sample size, relative to the 20- or 24-bit maximum. Can specify 0, 1, 2 or 4 missing bits. Unused bits are filled with 0, but audio processing functions such as mixing will generally fill them in with valid data without changing the effective word length. **bits 6β7: Unused *Byte 3: Used only for multichannel applications{{elucidate|date=June 2020}} *Byte 4: Additional sample rate information{{elucidate|date=June 2020}} **bits 0β1: Indicates the grade of the sample rate reference, per [[AES11]] **bit 2: Reserved **bits 3β6: Extended sample rate. This indicates other sample rates, not representable in byte 0 bits 6β7. Values are assigned for 24, 96, and 192 kHz, as well as 22.05, 88.2, and 176.4 kHz. **bit 7: Sampling frequency scaling flag. If set, indicates that the sample rate is multiplied by 1/1.001 to match [[NTSC]] video frame rates. *Byte 5: Reserved *Bytes 6β9: Four [[ASCII]] characters for indicating channel origin. Widely used in large studios. *Bytes 10β13: Four ASCII characters indicating channel destination, to control automatic switchers. Less often used. *Bytes 14β17: 32-bit sample address, incrementing block-to-block by 192 (because there are 192 frames per block). At 48 kHz, this wraps approximately every day.{{efn|Exactly 24 h 51 min 18.485333 s}} *Bytes 18β21: 32-bit sample address offset to indicate samples since midnight.<ref>{{cite web|url=https://tech.ebu.ch/docs/tech/tech3250.pdf|title=Specification of the AES/EBU digital audio interface (The AES/EBU interface)|publisher=European Broadcast Union|year=2004|access-date=2014-01-07|page=12 |quote=Bytes 18 to 21, Bits 0 to 7: Time of day sample address code. Value (each Byte): 32-bit binary value representing the first sample of current block. LSBs are transmitted first. Default value shall be logic "0". Note: This is the time-of-day laid down during the source encoding of the signal and shall remain unchanged during subsequent operations. A value of all zeros for the binary sample address code shall, for the purposes of transcoding to real time, or to time codes in particular, be taken as midnight (i.e., 00 h, 00 min, 00 s, 00 frame). Transcoding of the binary number to any conventional time code requires accurate sampling frequency information to provide the sample accurate time.}}</ref> *Byte 22: Channel status word reliability indication **bits 0β3: Reserved **bit 4: If set, bytes 0β5 (signal format) are unreliable. **bit 5: If set, bytes 6β13 (channel labels) are unreliable. **bit 6: If set, bytes 14β17 (sample address) are unreliable. **bit 7: If set, bytes 18β21 (timestamp) are unreliable. *Byte 23: [[Cyclic redundancy check|CRC]]. This byte is used to detect corruption of the channel status word, as might be caused by switching mid-block.{{efn|Generator polynomial is ''x''<sup>8</sup> + ''x''<sup>4</sup> + ''x''<sup>3</sup> + ''x''<sup>2</sup> + 1, preset to 1.}} ===Embedded timecode=== [[SMPTE timecode]] data can be embedded within AES3 signals. It can be used for [[synchronization]] and for logging and identifying audio content. It is embedded as a 32-bit binary word in bytes 18 to 21 of the channel status data.<ref>{{cite book |pages=226, 228 |first=John |last=Ratcliff |title=Timecode: A user's guide |publisher=Focal Press |year=1999 |isbn=0-240-51539-0}}</ref> The [[AES11]] standard provides information on the synchronization of digital audio structures.<ref>{{citation |url=https://www.aes.org/publications/standards/search.cfm?docID=18 |title=AES11-2009 (r2019): AES recommended practice for digital audio engineering - Synchronization of digital audio equipment in studio operations |date=2009 |publisher=[[Audio Engineering Society]]}}</ref> the [[AES52]] standard describes how to insert unique identifiers into an AES3 bit stream.<ref>{{citation |url=https://www.aes.org/publications/standards/search.cfm?docID=48 |title=AES52-2006 (r2017): AES standard for digital audio engineering - Insertion of unique identifiers into the AES3 transport stream |date=2006 |publisher=[[Audio Engineering Society]]}}</ref> === SMPTE 2110 === [[SMPTE 2110]]-31 defines how to encapsulate an AES3 data stream in [[Real-time Transport Protocol]] packets for transmission over an IP network using the SMPTE 2110 IP based multicast framework.<ref>{{citation |url=https://ieeexplore.ieee.org/document/8454952 |archive-url=https://web.archive.org/web/20200815052110/https://ieeexplore.ieee.org/document/8454952 |url-status=dead |archive-date=August 15, 2020 |title=ST 2110-31:2018 - SMPTE Standard - Professional Media Over Managed IP Networks: AES3 Transparent Transport|journal=St 2110-31:2018|date=August 2018|pages=1β12|doi=10.5594/SMPTE.ST2110-31.2018|isbn=978-1-68303-151-2|url-access=subscription}}</ref> === SMPTE 302M === [[SMPTE 302M]]-2007 defines how to encapsulate an AES3 data stream in an [[MPEG transport stream]] for television applications.<ref>{{citation |url=https://ieeexplore.ieee.org/document/7291632 |archive-url=https://web.archive.org/web/20180603232324/https://ieeexplore.ieee.org/document/7291632/ |url-status=dead |archive-date=June 3, 2018 |title=ST 302:2007 - SMPTE Standard - For Television β Mapping of AES3 Data into an MPEG-2 Transport Stream|journal=St 302:2007|date=October 2007|pages=1β9|doi=10.5594/SMPTE.ST302.2007 |isbn=978-1-68303-151-2|url-access=subscription}}</ref> === Other formats === AES3 digital audio format can also be carried over an [[Asynchronous Transfer Mode]] network. The standard for packing AES3 frames into ATM cells is [[AES47]]. ==See also== *[[ADAT Lightpipe]]{{snd}}Multichannel optical digital audio interface ==Notes== {{Notelist}} ==References== {{Reflist}} ==Further reading== *{{cite book |first=John |last=Watkinson |title=The Art of Digital Audio Third Edition |publisher=Focal Press |year=2001 |isbn=0-240-51587-0}} *{{cite conference |first=John |last=Watkinson |title=The AES/EBU Digital Audio Interface |book-title=UK Conference: AES/EBU Interface |id=EBU-02 |date=August 1989 |url=https://tech.ebu.ch/publications/aes-ebu-guide}} == External links == *[https://www.aes.org/publications/standards/search.cfm?docID=13 Download page for AES3 standard] *European Broadcasting Union, [http://tech.ebu.ch/docs/tech/tech3250.pdf Specification of the Digital Audio Interface (The AES/EBU interface)] Tech 3250-E third edition (2004) *{{cite web |url=https://tech.ebu.ch/docs/other/aes-ebu-eg.pdf |title=Engineering Guidelines: The EBU/AES Digital Audio Interface |year=1995 |first=John |last=Emmett |publisher=[[EBU]]}} *{{cite journal |url=http://www.ips.org.uk/files/04_AES3_Channel_Status_Revisited.pdf |title=AES3 Channel Status Revisited |author=Mark Yonge |journal=Line up |issue=101 |date=JuneβJuly 2005 |pages=20β22 |access-date=2013-09-01 |archive-url=https://web.archive.org/web/20150501130511/http://www.ips.org.uk/files/04_AES3_Channel_Status_Revisited.pdf |archive-date=2015-05-01 |url-status=dead }} *{{cite web |url=http://www.bnoack.com/data/AES_channelstatus.html |title=AES3 / AES-EBU channel status byte settings |access-date=2009-03-24 |archive-date=2012-02-22 |archive-url=https://web.archive.org/web/20120222121924/http://www.bnoack.com/data/AES_channelstatus.html |url-status=dead }} * [http://www.ihs.com/products/industry-standards/org/iec/historical/page40.aspx IEC - Historical Collection], IHS {{List of IEC standards}} {{Digital audio and video protocols}} {{European Broadcasting Union}} [[Category:Audio communications protocols]] [[Category:Digital audio]] [[Category:Sound]] [[Category:Broadcast engineering]] [[Category:Wikipedia articles with ASCII art]] [[Category:IEC 60958]] [[Category:Audio Engineering Society standards]] [[Category:European Broadcasting Union]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite conference
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Digital audio and video protocols
(
edit
)
Template:Efn
(
edit
)
Template:Elucidate
(
edit
)
Template:European Broadcasting Union
(
edit
)
Template:List of IEC standards
(
edit
)
Template:Notelist
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Snd
(
edit
)
Template:Sub
(
edit
)
Template:Use British English
(
edit
)