word/memory: mirrored duplication of unpaired images
[sheet.git] / codec-audio.inc.pl
1 use utf8;
2 +{
3 intro => 'Comparison of audio compression formats.',
4 codec => {
5         mp3 => {
6                 name => '<abbr title="MPEG-1 Audio Layer III">MP3</abbr>',
7                 available => 1991,
8                 generation => 0,
9         },
10         vorbis => {
11                 name => 'Vorbis',
12                 available => 2000,
13                 generation => 1,
14         },
15         opus => {
16                 name => 'Opus',
17                 available => 2012,
18                 generation => 1,
19         },
20         aac => {
21                 name => '<abbr title="Advanced Audio Coding">AAC</abbr>',
22                 available => 1997,
23                 generation => 1,
24         },
25         atrac => {
26                 name => '<abbr title="Adaptive Transform Acoustic Coding">ATRAC</abbr>',
27                 available => 1992,
28                 generation => 0,
29         },
30 },
31 feature => {
32         default => {
33                 children => [qw( quality limits royalties support )],
34         },
35         quality => {
36                 name => 'compression quality',
37                 children => [qw( quality_music quality_speech quality_ll )],
38                 score => {
39                 },
40         },
41         quality_music => {
42                 name => 'music',
43                 score => {
44                         mp3  => 3,
45                         atrac => 2,
46                         vorbis => 4,
47                         aac  => 5,
48                         opus => 5,
49                 },
50         },
51         quality_speech => {
52                 name => 'speech',
53                 score => {
54                         mp3  => 3,
55                 },
56         },
57         quality_ll => {
58                 name => 'lossless',
59                 score => {
60                         mp3  => 'n',
61                         vorbis => 'n',
62                         opus => 'n',
63                         flac => 4,
64                 },
65         },
66         limits => {
67                 children => [qw( channels bitrate latency peeling )],
68                 score => {
69                 },
70         },
71         channels => {
72                 score => {
73                         mp3  => [3, 6, 'stereo, extended to upto 5.1'],
74                         vorbis => [4, 255],
75                         opus => [4, 255],
76                 },
77         },
78         peeling => {
79                 name => 'bitrate peeling',
80                 score => {
81                         vorbis => [3, undef, 'yes but "unusable" quality'],
82                         mp3  => 'n',
83                         opus => 'n',
84                         aac  => 'n',
85                 },
86         },
87         latency => {
88                 name => 'frame size (ms)',
89                 score => {
90                         mp3 => [3, 26, 'typical version and layer has 1152 samples at 44kHz'],
91                         opus => [5, 2.5],
92                 },
93         },
94         bitrate => {
95                 name => 'minimal bitrate',
96                 score => {
97                         mp3 => [4, 8],
98                         opus => [4, 6],
99                 },
100         },
101         royalties => {
102                 score => {
103                         mp3  => [5, undef, 'expired'],
104                         vorbis => 5,
105                         opus => [4, undef, 'open and free design'],
106                         atrac => [2, undef, 'proprietary, but the original patents have expired'],
107                 },
108         },
109         support => {
110                 score => {
111                         mp3  => 5,
112                         vorbis => 4,
113                         aac  => 4,
114                         opus => 4,
115                         atrac => 1,
116                 },
117         },
118 },
119 }