Difference between revisions of "TTA"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m
(The categories at the bottom were hardly in use. Obsoleting them for "Codecs".)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Codec Infobox
 
{{Codec Infobox
 +
| purpose =
 
| name = The True Audio
 
| name = The True Audio
| logo = [[Image:TTA-logo.png|Official TTA logo]]
+
| logo = [[File:TTA-logo.png]]
 
| type = lossless
 
| type = lossless
| purpose = The True Audio (TTA) codec
+
| maintainer = Aleksander Djuric<br/>Pavel Zhilin<br/>Tamir Barak<br/>Noam Koenigstein<br/>Kazuki Oikawa
| maintainer = Aleksander Djuric / Pavel Zhilin / Tamir Barak / Noam Koenigstein / Kazuki Oikawa
+
| released = TTA 2.3 (Windows version, 2015-02)
| recommended_encoder = TTA Lossless Audio Codec
+
| website = [http://tausoft.org/wiki/True_Audio_Codec_Overview tausoft.org]
| recommended_text = tta-2.3 (2015-02-24)
+
| website = http://tausoft.org/wiki/True_Audio_Codec_Overview
+
 
}}
 
}}
  
'''TTA''' (True Audio) audio codec is a free, simple real-time [[lossless]] audio encoder/decoder, based on adaptive prognostic filters which has shown satisfactory results comparing to majority of modern analogs.
+
'''The True Audio''' ('''TTA''') is a [[lossless]] audio [[codec]].  It is distributed as a free open-source (GPL/LGPL) encoder/decoder and library for several operating systems.  The TTA project also DirectShow filters and plugins for several audio players.  A third-party encoder/decoder is available through ffmpeg.  
  
==TTA Compressor==
+
TTA has one feature which apparently is unique among lossless codecs available to end-users, namely encryption with password protection.  Unlike most other codecs, TTA has chosen not to offer options to tune compression/CPU load; there is ''one'' setting.  Performance-wise, it has been measured not far from the default to -hx [[WavPack]] settings on CD audio<ref>http://audiograaf.nl/downloads.html Martijn van Beurden's comprehensive lossless comparison, version 4</ref> - which in the trade-off between size, encoding speed and decoding speed, might be considered rather on the ''fast encoder'' side.
  
* Down to 30-60% [[lossless]] audio data compression
+
== Features ==
* Real-time encoding/decoding algorithm
+
For an end-user considering TTA as a an audio format, the following features are quite common among lossless codecs.  Some competing formats are lacking certain of these features, and some are free from certain of the limitations listed.  To compare TAK with other lossless codecs, see [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]].
* Fast decoding and encoding
+
* Multiplatform
+
* Open source code and documentation
+
* Hardware support
+
  
TTA performs [[lossless]] compression on multichannel 8, 16 and 24 bit data of the [[WAV]] audio files. Being "lossless" means that no data/quality is lost in the compression - when uncompressed, the data will be identical to the original. The compression ratios of TTA depend on the type of music file being compressed, but the compression size will generally range between 30% - 70% of the original. TTA format supports both [[ID3]]v1 and [[ID3]]v2 information tags and also [[APEv2]].
+
* Streaming support
 +
* Error handling and
 +
* High-resolution audio support: up to 4 GHz sampling rate and 24 bits/channel
 +
* Multichannel support. Currently the reference encoder supports six channels, while the ffmpeg encoder supports 16. (However [https://docs.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-waveformatextensible WAVEFORMATEXTENSIBLE] is not supported.)
 +
* Piping support
 +
* Tagging: APEv2 or ID3  
 +
* Embedded CUE sheets support
 +
* Can be used in the [[Matroska]] container
 +
* Password protection
  
==The Project==
+
TTA has some software support through player plugins (and ffmpeg-based players).  There is also certain limited hardware support, most notably through [[Rockbox]], and the TTA website lists a few other hardware players with TTA support.<ref>http://tausoft.org/wiki/True_Audio_Codec_Support</ref>
  
The TTA project provides:
+
=== Limitations ===
 +
* No support for RIFF chunks (i.e., TTA cannot store and recreate ''non-audio'' chunks of the original .wav files).
 +
* The command-line encoder is picky about .wav files, not supporting all generations of the WAVE format; this can be circumvented by piping stdin to the encoder. 
 +
* Input must be either 8, 16 or 24 bits.  Unlike some other codecs, TTA is not able to make use of "wasted bits": other codecs can fit a 20-bit signal in a 24-bit container without penalty in compression size, but TTA appears unable to make use of the fact that the four least significant bits are zero.  Thus certain (non-CD) signals might compress a bit worse than among other formats (see van Beurden's lossless comparison, section 2.3.)
 +
* No support for floating-point formats (for that, use [[WavPack]] or [[OptimFrog]])
 +
* No no hybrid/lossy mode possible (for that, use [[WavPack]] or [[OptimFrog]]).
  
* Free and simple data format
+
Because TTA - like MP3 - can accommodate both APE tags and ID3, tagging ambiguity could be an issue: one application might not read another's tags.  Users might want to stick to one tag format. [[Mp3tag]] will write the same tagset to .tta files as to .mp3 files, possibly both ID3v1, ID3v2 and APE.
* Plugins for the most popular media players
+
* TTA DirectShow filters
+
* Tau Producer - GUI based compressor for Windows
+
* Set of the C/C++ TTA development libraries
+
  
==Addtional Reading==
+
==Links==
* [http://www.true-audio.com True Audio Software Project]
+
* [http://tausoft.org/wiki/True_Audio_Codec_Overview TTA Lossless Audio Codec - Tau Projects]
* [[Lossless_comparison|Lossless Codec Comparison]]  
+
* {{wikipedia|TTA (codec)}}
 +
* [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]] originally by [[User:Rjamorim|Rjamorim]]
 +
<references/>
  
 +
{{navbox audio codecs}}
  
 
[[Category:Codecs]]
 
[[Category:Codecs]]
[[Category:Lossless]]
 

Revision as of 19:31, 27 January 2022

The True Audio (TTA) is a lossless audio codec. It is distributed as a free open-source (GPL/LGPL) encoder/decoder and library for several operating systems. The TTA project also DirectShow filters and plugins for several audio players. A third-party encoder/decoder is available through ffmpeg.

TTA has one feature which apparently is unique among lossless codecs available to end-users, namely encryption with password protection. Unlike most other codecs, TTA has chosen not to offer options to tune compression/CPU load; there is one setting. Performance-wise, it has been measured not far from the default to -hx WavPack settings on CD audio[1] - which in the trade-off between size, encoding speed and decoding speed, might be considered rather on the fast encoder side.

Features

For an end-user considering TTA as a an audio format, the following features are quite common among lossless codecs. Some competing formats are lacking certain of these features, and some are free from certain of the limitations listed. To compare TAK with other lossless codecs, see HA Wiki's Lossless Codec Comparison.

  • Streaming support
  • Error handling and
  • High-resolution audio support: up to 4 GHz sampling rate and 24 bits/channel
  • Multichannel support. Currently the reference encoder supports six channels, while the ffmpeg encoder supports 16. (However WAVEFORMATEXTENSIBLE is not supported.)
  • Piping support
  • Tagging: APEv2 or ID3
  • Embedded CUE sheets support
  • Can be used in the Matroska container
  • Password protection

TTA has some software support through player plugins (and ffmpeg-based players). There is also certain limited hardware support, most notably through Rockbox, and the TTA website lists a few other hardware players with TTA support.[2]

Limitations

  • No support for RIFF chunks (i.e., TTA cannot store and recreate non-audio chunks of the original .wav files).
  • The command-line encoder is picky about .wav files, not supporting all generations of the WAVE format; this can be circumvented by piping stdin to the encoder.
  • Input must be either 8, 16 or 24 bits. Unlike some other codecs, TTA is not able to make use of "wasted bits": other codecs can fit a 20-bit signal in a 24-bit container without penalty in compression size, but TTA appears unable to make use of the fact that the four least significant bits are zero. Thus certain (non-CD) signals might compress a bit worse than among other formats (see van Beurden's lossless comparison, section 2.3.)
  • No support for floating-point formats (for that, use WavPack or OptimFrog)
  • No no hybrid/lossy mode possible (for that, use WavPack or OptimFrog).

Because TTA - like MP3 - can accommodate both APE tags and ID3, tagging ambiguity could be an issue: one application might not read another's tags. Users might want to stick to one tag format. Mp3tag will write the same tagset to .tta files as to .mp3 files, possibly both ID3v1, ID3v2 and APE.

Links

  1. http://audiograaf.nl/downloads.html Martijn van Beurden's comprehensive lossless comparison, version 4
  2. http://tausoft.org/wiki/True_Audio_Codec_Support