moonscape-software commited on
Commit
29785b2
·
verified ·
1 Parent(s): 9061bfb

Draft card (test upload)

Browse files
Files changed (1) hide show
  1. README.md +282 -0
README.md ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "PACC-T: Parallel Acoustic Confound Corpus, Telecoms"
4
+ language:
5
+ - en
6
+ size_categories:
7
+ - 100K<n<1M
8
+ task_categories:
9
+ - audio-classification
10
+ tags:
11
+ - speech
12
+ - codec
13
+ - telephony
14
+ - bona-fide
15
+ - robustness
16
+ - anti-spoofing
17
+ - parallel-corpus
18
+ ---
19
+
20
+ # PACC-T: Parallel Acoustic Confound Corpus, Telecoms
21
+
22
+ PACC-T is 5,992 bona fide speech clips passed through 34 speech and audio codecs,
23
+ 12 tandem codec chains and 5 resample-only controls. Every condition contains
24
+ the same 5,992 clips, so any clip can be compared with itself across all 51 conditions.
25
+ Every clip has a per-clip record of the exact commands that produced it.
26
+
27
+ It contains no synthetic or spoofed speech. It is a reference for what telecom channels do to real
28
+ speech: a bona fide baseline, a robustness benchmark and a condition-shift test set.
29
+
30
+ | | |
31
+ |---|---|
32
+ | Conditions | 51 (34 codecs, 12 tandems, 5 controls) |
33
+ | Clips per condition | 5,992 (same clips in every condition) |
34
+ | Files | 305,592 FLAC, plus 5,992 sources in `pacc_base.tar` |
35
+ | Duration | about 7.2 h per condition, 366 h in total |
36
+ | Size | 20.7 GB of audio; one condition 0.18-0.75 GB; sources 0.89 GB |
37
+ | Download | per condition, so any subset can be fetched on its own |
38
+
39
+ Companion dataset: **PACC-P** (Presentation), the same 5,992 sources under 50 noise, reverberation,
40
+ filtering and pitch/tempo conditions. (DOI pending)
41
+
42
+ ## Before you measure
43
+
44
+ ### Sample rate and bandwidth are confounds, not side effects
45
+ Every narrowband codec decodes at 8 kHz, and many wideband codecs at 16 kHz.
46
+ Any feature measured on a codec condition mixes what the codec did with what
47
+ the lower sample rate and missing bandwidth did. Attribute an effect to a codec
48
+ only after comparing against the resample control at the same output rate.
49
+
50
+ ### Resample controls
51
+ resample_ctrl_8k / 16k / 22k / 44k / 48k hold the same 5,992 sources,
52
+ resampled with no codec. Each codec condition is paired with the control at its
53
+ output rate (see the condition index). An effect that appears in both the codec
54
+ and its control is a rate effect.
55
+
56
+ ### Output sample rate is not content bandwidth
57
+ A file's sample rate is an upper bound on its content, not a measure of it. `evs_swb_48k_*` is
58
+ stored at 48 kHz but, as super-wideband EVS, carries content only up to about 16 kHz. Tandem chains
59
+ are bounded by their narrowest hop. Estimate content bandwidth from the audio if a feature depends
60
+ on it.
61
+
62
+ ### Native bandwidth differs by pool
63
+ AMI sources are native 16 kHz: content stops at 8 kHz. In resample_ctrl_22k /
64
+ 44k / 48k and in codecs decoded above 16 kHz, AMI clips are upsampled and carry
65
+ no content above 8 kHz. VCTK sources are 48 kHz. Compare across rates within a
66
+ pool, or account for this when pooling.
67
+
68
+ ### Formant measurement on band-limited conditions
69
+ Narrowband conditions (8 kHz output, or any condition whose content stops near
70
+ 3.4-4 kHz) are a known failure case for LPC formant trackers configured for
71
+ wideband speech. With a ceiling above the available content (Praat's default is
72
+ 5500 Hz), the tracker fits spurious poles in the empty band. These "ghost
73
+ formants" pull F2 and F3 low, often by hundreds of Hz, with no error flag. Set
74
+ the formant ceiling from content bandwidth or speaker, check readings against
75
+ the matching resample control, or treat F2 and above as unreliable in these
76
+ conditions.
77
+
78
+ Tool defaults matter. For example, eGeMAPSv02 derives formants after resampling
79
+ to 11 kHz with an 11th-order autocorrelation LPC, and some voice-quality
80
+ measures (such as glottal-flow quotients) change with sample rate on identical
81
+ content. Validate any feature on the resample controls before attributing an
82
+ effect to a codec.
83
+
84
+ ## Sources
85
+
86
+ | Pool | Clips | Native format | Source corpus |
87
+ |---|---|---|---|
88
+ | AMI | 2,992 (4.45 h) | 16 kHz WAV, headset microphone | AMI Meeting Corpus: 139 meetings, 157 participants |
89
+ | VCTK_mic1 | 1,500 (1.36 h) | 48 kHz FLAC | CSTR VCTK Corpus 0.92, mic1: 109 speakers |
90
+ | VCTK_mic2 | 1,500 (1.36 h) | 48 kHz FLAC | CSTR VCTK Corpus 0.92, mic2: 108 speakers |
91
+
92
+ VCTK mic pairing: 1,485 utterances appear in both mic pools; 15 in each pool are unpaired. Joining
93
+ mic1 to mic2 on utterance ID gives 1,485 pairs, not 1,500. All sources are mono 16-bit PCM.
94
+ AMI file IDs encode meeting, channel, segment index and start/end time in seconds.
95
+
96
+ Per-source metadata ships as `sources/metadata.csv` in `pacc_base.tar`: speaker, gender and where
97
+ the label came from, VCTK age and utterance, AMI meeting, channel, participant and segment times.
98
+
99
+ ### Gender balance
100
+
101
+ | Pool | Female | Male | Label source |
102
+ |---|---|---|---|
103
+ | VCTK_mic1 | 750 | 750 | VCTK speaker metadata |
104
+ | VCTK_mic2 | 750 | 750 | VCTK speaker metadata |
105
+ | AMI | 1,126 (38%) | 1,866 (62%) | AMI participant metadata |
106
+
107
+ Sources were selected for gender balance. VCTK is balanced exactly. AMI is not: its clips were
108
+ selected using gender inferred from the audio (pitch and apparent vocal-tract length), and those
109
+ labels proved wrong for 17% of clips, mostly men labelled as women (441 clips, against 68 the other
110
+ way). Checked against AMI's own participant metadata, the AMI pool is 62% male. The `gender`
111
+ column gives the metadata label; the inferred label is kept, for transparency only, as
112
+ `gender_inferred_not_recommended`. For TS meetings, which have no entry in AMI's
113
+ `participants.xml`, sex is taken from the M/F prefix of the participant ID, which agrees with
114
+ `participants.xml` for all 189 participants listed there.
115
+
116
+ 8 AMI clips with no usable speech are excluded from all of PACC (`excluded_sources.csv`). Earlier
117
+ internal builds also held RAVDESS and CREMA-D clips; they were removed so that PACC is CC BY only.
118
+
119
+ ## Conditions
120
+
121
+ Output sample rate is the codec's native decode rate. Compare each condition with the resample
122
+ control at the same rate (last column) before attributing an effect to the codec.
123
+
124
+ Framing: **block** = frame-based codec; **sample** = sample-by-sample waveform coder with no frame
125
+ structure. Tools that look for frame boundaries have nothing to find in sample-based conditions.
126
+
127
+ ### Codecs
128
+
129
+ | Condition | Family | Codec | Bitrate | Framing | Output rate | Rate control |
130
+ |---|---|---|---|---|---|---|
131
+ | `aac_32k` | media | AAC-LC (ffmpeg native) | 32 kbps | block | 22.05 kHz | `resample_ctrl_22k` |
132
+ | `aac_64k` | media | AAC-LC (ffmpeg native) | 64 kbps | block | 44.1 kHz | `resample_ctrl_44k` |
133
+ | `amr_nb_122` | mobile | AMR-NB | 12.2 kbps | block | 8 kHz | `resample_ctrl_8k` |
134
+ | `amr_nb_475` | mobile | AMR-NB | 4.75 kbps | block | 8 kHz | `resample_ctrl_8k` |
135
+ | `amr_wb` | mobile | AMR-WB | 23.85 kbps | block | 16 kHz | `resample_ctrl_16k` |
136
+ | `codec2_1300` | low-rate | Codec 2 (1300 mode, see EDGE_CASES) | 1.3 kbps | block | 8 kHz | `resample_ctrl_8k` |
137
+ | `codec2_700` | low-rate | Codec 2 700C | 0.7 kbps | block | 8 kHz | `resample_ctrl_8k` |
138
+ | `evs_24400_dtxadapt` | mobile (VoLTE) | EVS, DTX adaptive CNG | 24.4 kbps | block | 16 kHz | `resample_ctrl_16k` |
139
+ | `evs_24400_dtxfixed` | mobile (VoLTE) | EVS, DTX fixed 8-frame CNG | 24.4 kbps | block | 16 kHz | `resample_ctrl_16k` |
140
+ | `evs_24400_nodtx` | mobile (VoLTE) | EVS, DTX off | 24.4 kbps | block | 16 kHz | `resample_ctrl_16k` |
141
+ | `evs_9600_dtxadapt` | mobile (VoLTE) | EVS, DTX adaptive CNG | 9.6 kbps | block | 16 kHz | `resample_ctrl_16k` |
142
+ | `evs_9600_dtxfixed` | mobile (VoLTE) | EVS, DTX fixed 8-frame CNG | 9.6 kbps | block | 16 kHz | `resample_ctrl_16k` |
143
+ | `evs_9600_nodtx` | mobile (VoLTE) | EVS, DTX off | 9.6 kbps | block | 16 kHz | `resample_ctrl_16k` |
144
+ | `evs_swb_48k_dtxadapt` | mobile (VoLTE) | EVS super-wideband, DTX adaptive CNG | 24.4 kbps | block | 48 kHz | `resample_ctrl_48k` |
145
+ | `evs_swb_48k_dtxfixed` | mobile (VoLTE) | EVS super-wideband, DTX fixed 8-frame CNG | 24.4 kbps | block | 48 kHz | `resample_ctrl_48k` |
146
+ | `evs_swb_48k_nodtx` | mobile (VoLTE) | EVS super-wideband, DTX off | 24.4 kbps | block | 48 kHz | `resample_ctrl_48k` |
147
+ | `g711_alaw` | PSTN | G.711 A-law | 64 kbps | sample | 8 kHz | `resample_ctrl_8k` |
148
+ | `g711_ulaw` | PSTN | G.711 mu-law | 64 kbps | sample | 8 kHz | `resample_ctrl_8k` |
149
+ | `g722` | PSTN wideband | G.722 (sub-band ADPCM) | 64 kbps | sample | 16 kHz | `resample_ctrl_16k` |
150
+ | `g726_16k` | PSTN | G.726 ADPCM | 16 kbps | sample | 8 kHz | `resample_ctrl_8k` |
151
+ | `g726_24k` | PSTN | G.726 ADPCM | 24 kbps | sample | 8 kHz | `resample_ctrl_8k` |
152
+ | `g726_32k` | PSTN | G.726 ADPCM | 32 kbps | sample | 8 kHz | `resample_ctrl_8k` |
153
+ | `gsm` | mobile | GSM 06.10 full rate | 13 kbps | block | 8 kHz | `resample_ctrl_8k` |
154
+ | `ilbc` | VoIP | iLBC | encoder default | block | 8 kHz | `resample_ctrl_8k` |
155
+ | `lc3` | Bluetooth LE Audio | LC3 | encoder default | block | 16 kHz | `resample_ctrl_16k` |
156
+ | `mp3_128k` | media | MP3 (LAME) | 128 kbps | block | 44.1 kHz | `resample_ctrl_44k` |
157
+ | `mp3_32k` | media | MP3 (LAME) | 32 kbps | block | 22.05 kHz | `resample_ctrl_22k` |
158
+ | `opus_16k_auto` | VoIP | Opus, mode chosen by encoder | 16 kbps | block | 48 kHz | `resample_ctrl_48k` |
159
+ | `opus_16k_celt` | VoIP | Opus, CELT forced (lowdelay) | 16 kbps | block | 48 kHz | `resample_ctrl_48k` |
160
+ | `opus_32k_auto` | VoIP | Opus, mode chosen by encoder | 32 kbps | block | 48 kHz | `resample_ctrl_48k` |
161
+ | `opus_32k_celt` | VoIP | Opus, CELT forced (lowdelay) | 32 kbps | block | 48 kHz | `resample_ctrl_48k` |
162
+ | `opus_6k_auto` | VoIP | Opus, mode chosen by encoder | 6 kbps | block | 48 kHz | `resample_ctrl_48k` |
163
+ | `opus_6k_celt` | VoIP | Opus, CELT forced (lowdelay) | 6 kbps | block | 48 kHz | `resample_ctrl_48k` |
164
+ | `speex_8k` | VoIP | Speex narrowband | encoder default | block | 8 kHz | `resample_ctrl_8k` |
165
+
166
+ ### Tandem chains (two codecs in sequence)
167
+
168
+ The first codec's output is the second codec's input. Effective bandwidth is bounded by the
169
+ narrowest hop, and the output's frame structure and quantisation reflect the last codec: in
170
+ `amr_wb_to_g711_ulaw` the output carries G.711's sample-by-sample companding lattice at 8 kHz,
171
+ while the speech had already been through AMR-WB's frame-based coding.
172
+
173
+ | Condition | Chain | Framing | Output rate | Rate control |
174
+ |---|---|---|---|---|
175
+ | `amr_wb_to_g711_ulaw` | AMR-WB 23.85 kbps then G.711 mu-law 64 kbps | block then sample | 8 kHz | `resample_ctrl_8k` |
176
+ | `evs_24400_dtxfixed_to_amr_nb_475` | EVS, DTX fixed 8-frame CNG 24.4 kbps then AMR-NB 4.75 kbps | block then block | 8 kHz | `resample_ctrl_8k` |
177
+ | `evs_24400_dtxfixed_to_amr_wb` | EVS, DTX fixed 8-frame CNG 24.4 kbps then AMR-WB 23.85 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
178
+ | `evs_24400_dtxfixed_to_g711_ulaw` | EVS, DTX fixed 8-frame CNG 24.4 kbps then G.711 mu-law 64 kbps | block then sample | 8 kHz | `resample_ctrl_8k` |
179
+ | `evs_24400_nodtx_to_amr_nb_475` | EVS, DTX off 24.4 kbps then AMR-NB 4.75 kbps | block then block | 8 kHz | `resample_ctrl_8k` |
180
+ | `evs_24400_nodtx_to_amr_wb` | EVS, DTX off 24.4 kbps then AMR-WB 23.85 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
181
+ | `evs_24400_nodtx_to_g711_ulaw` | EVS, DTX off 24.4 kbps then G.711 mu-law 64 kbps | block then sample | 8 kHz | `resample_ctrl_8k` |
182
+ | `opus_32k_auto_to_amr_wb` | Opus, mode chosen by encoder 32 kbps then AMR-WB 23.85 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
183
+ | `opus_32k_auto_to_evs_24400_dtxadapt` | Opus, mode chosen by encoder 32 kbps then EVS, DTX adaptive CNG 24.4 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
184
+ | `opus_32k_auto_to_g711_ulaw` | Opus, mode chosen by encoder 32 kbps then G.711 mu-law 64 kbps | block then sample | 8 kHz | `resample_ctrl_8k` |
185
+ | `opus_32k_celt_to_amr_wb` | Opus, CELT forced (lowdelay) 32 kbps then AMR-WB 23.85 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
186
+ | `opus_32k_celt_to_evs_24400_nodtx` | Opus, CELT forced (lowdelay) 32 kbps then EVS, DTX off 24.4 kbps | block then block | 16 kHz | `resample_ctrl_16k` |
187
+
188
+ ### Resample controls (no codec)
189
+
190
+ Each control is the source resampled with ffmpeg 8.1's default resampler (swresample, via `-ar`)
191
+ and written as 16-bit FLAC. The codec conditions use the same resampler for their own rate
192
+ conversion, so a control differs from its codec condition only by the codec.
193
+ `resample_ctrl_48k` is sample-identical to the VCTK sources (a no-op and determinism check); for
194
+ AMI it is an upsample from 16 kHz.
195
+
196
+ | Condition | Output rate |
197
+ |---|---|
198
+ | `resample_ctrl_8k` | 8 kHz |
199
+ | `resample_ctrl_16k` | 16 kHz |
200
+ | `resample_ctrl_22k` | 22.05 kHz |
201
+ | `resample_ctrl_44k` | 44.1 kHz |
202
+ | `resample_ctrl_48k` | 48 kHz |
203
+
204
+ ## Files
205
+
206
+ | Tarball | Contents |
207
+ |---|---|
208
+ | `pacc_base.tar` | the 5,992 source clips (`sources/<pool>/`), identical in PACC-T and PACC-P |
209
+ | `pacc-t_<condition>.tar` | one condition: `pacc-t/<condition>/<pool>/<file_id>.flac`, `params.csv`, `README.txt` |
210
+ | `pacc-t_sample.tar` | 14 fixed sources (5 VCTK utterances on both mics, 4 AMI clips) through every condition |
211
+
212
+ All audio is 16-bit mono FLAC. Extracting any set of tarballs builds one tree. `SHA256SUMS` and
213
+ `TARBALL_INDEX.csv` list every tarball; `pacc-t_manifest.csv` lists every file with its sha256.
214
+ Tarballs are deterministic: the same inputs rebuild byte-identical files.
215
+
216
+ ## Per-clip records and verification
217
+
218
+ Each condition's `params.csv` has one row per clip: input file and sha256, output sha256, sample
219
+ rate, frame count, and the full command sequence, with paths as placeholders.
220
+
221
+ - **Logged** (6 conditions: the EVS DTX-fixed conditions and their tandems): written at encode time,
222
+ including the EVS encoder's own DTX status line.
223
+ - **Recovered** (45 conditions, encoded before per-clip logging existed): each recorded command was
224
+ re-executed on 60 clips per condition (20 per pool) and reproduced the stored audio bit for bit,
225
+ 2,700 of 2,700. Rows were then filled from the files.
226
+
227
+ The column `params_origin` says which applies. Before packaging, contract tests confirmed: every
228
+ condition holds exactly the 5,992 base sources once each; no excluded source ships; manifest,
229
+ params and file hashes agree.
230
+
231
+ ## Tools and versions
232
+
233
+ - ffmpeg 8.1 (full_build, www.gyan.dev, Windows static), with libopencore-amrnb, libvo-amrwbenc,
234
+ libgsm, libilbc, libspeex, libopus, libmp3lame (LAME 3.100), liblc3 and libcodec2. The static
235
+ build does not expose the other libraries' version strings.
236
+ - EVS: 3GPP TS 26.443 floating-point reference C code, banner "Version 12.7.0 / 13.3.0",
237
+ mirror github.com/wanglihe/3gpp-evs at commit 519236cc07ca209cb3aa2cc32de6ca686269839b.
238
+ - Decoders: only `ilbc` pins its decoder (`-c:a libilbc`); all others use ffmpeg's default decoder
239
+ for the stream, as recorded in the params. A start-burst scan of every file (first 40 ms peak
240
+ against the rest of the clip) flagged none.
241
+
242
+ ## Known edge cases
243
+
244
+ See `EDGE_CASES.txt`. In short: EVS DTX variants coincide on clips without pauses; LC3 passes two
245
+ very quiet clips through unchanged; `codec2_1300` runs at 1300 bps despite a 700 bps argument;
246
+ 350 AMI sources carry clipping from the original recordings.
247
+
248
+ ## Motivation
249
+
250
+ The design of this corpus was motivated by Delgado et al. (ICASSP 2026), who argue that deepfake
251
+ detection must account for how audio is presented through real communication channels, and by Lee
252
+ et al. (ICASSP 2026), whose noise-aware multi-LoRA framework highlights real-world conditions.
253
+ Neither group was involved in producing this dataset.
254
+
255
+ - H. Delgado, G. Ramondetti, E. Dalmasso, G. Karvitsky, D. Colibro, H. Talib. "On Deepfake Voice
256
+ Detection - It's All in the Presentation." ICASSP 2026. arXiv:2509.26471.
257
+ - W. Lee, H. Dinh-Xuan, T.-P. Doan, S. Jung. "Dynamic Noise-Aware Multi LoRA Framework Towards
258
+ Real-World Audio Deepfake Detection." ICASSP 2026.
259
+
260
+ ## Licence and credits
261
+
262
+ PACC-T is released under **CC BY 4.0** by Moonscape Software. It is derived from:
263
+
264
+ - **CSTR VCTK Corpus 0.92.** J. Yamagishi, C. Veaux, K. MacDonald. University of Edinburgh, CSTR,
265
+ 2019. doi:10.7488/ds/2645. CC BY 4.0.
266
+ - **AMI Meeting Corpus.** University of Edinburgh et al. https://groups.inf.ed.ac.uk/ami/corpus/.
267
+ CC BY 4.0. J. Carletta (2006), "Announcing the AMI Meeting Corpus", ELRA Newsletter 11(1).
268
+
269
+ Please credit these sources alongside PACC-T.
270
+
271
+ ## Citation
272
+
273
+ ```bibtex
274
+ @dataset{moonscape_pacc_t_2026,
275
+ author = {{Moonscape Software}},
276
+ title = {{PACC-T: Parallel Acoustic Confound Corpus, Telecoms}},
277
+ year = {2026},
278
+ version = {1.0},
279
+ publisher = {Zenodo},
280
+ doi = {pending}
281
+ }
282
+ ```