Difference between revisions of "TTA"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(added link to Rjamorim's lossless comparison)
(The categories at the bottom were hardly in use. Obsoleting them for "Codecs".)
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
'''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.
+
{{Codec Infobox
 +
| purpose =
 +
| name = The True Audio
 +
| logo = [[File:TTA-logo.png]]
 +
| type = lossless
 +
| maintainer = Aleksander Djuric<br/>Pavel Zhilin<br/>Tamir Barak<br/>Noam Koenigstein<br/>Kazuki Oikawa
 +
| released = TTA 2.3 (Windows version, 2015-02)
 +
| website = [http://tausoft.org/wiki/True_Audio_Codec_Overview tausoft.org]
 +
}}
  
==TTA Compressor==
+
'''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.
  
* Down to 30-60% [[lossless]] audio data compression
+
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.
* Real-time encoding/decoding algorithm
+
* 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.
+
== 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 [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]].
  
==The Project==
+
* 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 TTA project provides:
+
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>
  
* Free and simple data format
+
=== Limitations ===
* Plugins for the most popular media players
+
* No support for RIFF chunks (i.e., TTA cannot store and recreate ''non-audio'' chunks of the original .wav files).
* TTA DirectShow filters
+
* 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. 
* Tau Producer - GUI based compressor for Windows
+
* 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.)
* Set of the C/C++ TTA development libraries
+
* No support for floating-point formats (for that, use [[WavPack]] or [[OptimFrog]])
 +
* No no hybrid/lossy mode possible (for that, use [[WavPack]] or [[OptimFrog]]).
  
==Addtional Reading==
+
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.
* [http://www.true-audio.com True Audio Software Project]
+
 
* [http://tta.corecodec.org/ Project @ Corecodec.Org]
+
==Links==
* [[Lossless_comparision|Lossless Codec Comparison]] by Rjamorim
+
* [http://tausoft.org/wiki/True_Audio_Codec_Overview TTA Lossless Audio Codec - Tau Projects]
 +
* {{wikipedia|TTA (codec)}}
 +
* [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]] originally by [[User:Rjamorim|Rjamorim]]
 +
<references/>
 +
 
 +
{{navbox audio codecs}}
 +
 
 +
[[Category:Codecs]]

Latest 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[edit]

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[edit]

  • 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[edit]

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