Papers › An Open source Implementation of ITU-T Recommendation P.808 with Validation

An Open source Implementation of ITU-T Recommendation P.808 with Validation

17 May 2020arXiv:2005.08138archive 2025-07-28

Babak Naderi, Ross Cutler

The ITU-T Recommendation P.808 provides a crowdsourcing approach for conducting a subjective assessment of speech quality using the Absolute Category Rating (ACR) method. We provide an open-source implementation of the ITU-T Rec. P.808 that runs on the Amazon Mechanical Turk platform. We extended our implementation to include Degradation Category Ratings (DCR) and Comparison Category Ratings (CCR) test methods. We also significantly speed up the test process by integrating the participant qualification step into the main rating task compared to a two-stage qualification and rating solution. We provide program scripts for creating and executing the subjective test, and data cleansing and analyzing the answers to avoid operational errors. To validate the implementation, we compare the Mean Opinion Scores (MOS) collected through our implementation with MOS values from a standard laboratory experiment conducted based on the ITU-T Rec. P.800. We also evaluate the reproducibility of the result of the subjective speech quality assessment through crowdsourcing using our implementation. Finally, we quantify the impact of parts of the system designed to improve the reliability: environmental tests, gold and trapping questions, rating patterns, and a headset usage test.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 21 code samples harvested from 1 repository linked to this paper: 17 ran (of which 0 constructed an object rather than computing a result; 17 with no instrument failure: 0 honoured, 0 violated, 17 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: official repository: 21 samples from 1 repository, 17 ran (17 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

microsoft/P.808 officialmentioned in papermentioned on GitHubMITSyntology: 21 samples, 17 ran (0 instrument-failed) · 4 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested: 17 ran (of which 0 constructed an object rather than computing a result; 17 with no instrument failure: 0 honoured, 0 violated, 17 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

17ran
4unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from microsoft/P.808. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

microsoft/P.808 official repository 21 samples, 17 ran (0 instrument-failed) · 4 unverified
active_speech_level_dbov src/utils/create_bandwidth_check_clips.py ran MIT (permissive) · e88fec7c0329bda1 · report fixture: signature signal:ndarray/1/float, sr:int/0/int, frame_ms:float/0/float, threshold_db:float/0/float · returned float64 · level recorded 2026-09-25
add_background_noise src/create_gold_clips.py ran fingerprinted MIT (permissive) · e7b53d1bd52460bb · report fixture: signature signal:ndarray/1/float, sr:int/0/int, snr_db:float/0/float · returned ndarray · level recorded 2026-09-25
apply_signal_distortion src/create_gold_clips.py ran fingerprinted MIT (permissive) · 75759035bd91fc72 · report fixture: signature signal:ndarray/1/float, clip_threshold:float/0/float · returned ndarray · level recorded 2026-09-25
check_last_subjective_test src/process_qualification_ans.py ran MIT (permissive) · 215b698494381522 · report fixture: signature ans:str/0/str · returned bool · level recorded 2026-09-25
check_listening_device src/process_qualification_ans.py ran MIT (permissive) · ead9249c30d8a2b0 · report fixture: signature ans:str/0/str · returned bool · level recorded 2026-09-25
check_mother_tongue src/process_qualification_ans.py ran MIT (permissive) · e668d00f5d997ea8 · report fixture: signature ans:str/0/str · returned bool · level recorded 2026-09-25
conv_filename_to_condition src/create_input.py ran fingerprinted MIT (permissive) · 9907d254ba4dd07a · report fixture: signature f_name:str/0/str, condition_pattern:str/0/str · returned OrderedDict · level recorded 2026-09-25
generate_pink_noise src/create_gold_clips.py ran fingerprinted MIT (permissive) · 3849af706ed5ed7c · report fixture: signature n_samples:int/0/int, sr:int/0/int · returned ndarray · level recorded 2026-09-25
get_encoded_gold_ans src/master_script.py ran MIT (permissive) · 5ff16b3827081645 · report fixture: signature url:str/0/str, ans:float/0/float · returned str · level recorded 2026-09-25
normalize_to_dbfs src/utils/create_jnd_check_clips.py ran fingerprinted MIT (permissive) · 710e73f2301ec75e · report fixture: signature signal:ndarray/1/float, target_dbfs:float/0/float · returned ndarray · level recorded 2026-09-25
outliers_modified_z_score src/result_parser.py ran fingerprinted MIT (permissive) · 977672f85d76ee83 · report fixture: signature votes:ndarray/1/float · returned list · level recorded 2026-09-25
outliers_z_score src/result_parser.py ran fingerprinted MIT (permissive) · 88aa2735cc86e2c0 · report fixture: signature votes:list/1/float · returned list · level recorded 2026-09-25
rel_path src/result_parser.py ran fingerprinted MIT (permissive) · 66305b6c700495fc · report fixture: signature p:str/0/str · returned str · level recorded 2026-09-25
rms in 6 papers src/utils/create_bandwidth_check_clips.py ran fingerprinted MIT (permissive) · 7c90db5cb9981e1a · report fixture: signature signal:ndarray/1/float · returned float · level recorded 2026-09-25
scale_to_dbov src/utils/create_bandwidth_check_clips.py ran fingerprinted MIT (permissive) · 56c0e3f3a494ebfd · report fixture: signature signal:ndarray/1/float, target_dbov:float/0/float · returned ndarray · level recorded 2026-09-25
snr_mixer src/utils/create_jnd_check_clips.py ran MIT (permissive) · d5407098010eab79 · report fixture: signature clean:ndarray/1/float, noise:ndarray/1/float, snr:float/0/float, target_level_dbfs:float/0/float · returned ndarray · level recorded 2026-09-25
update_gold_clips_for_personalized src/master_script.py ran MIT (permissive) · dbd5dc9894a7d943 · report fixture: signature df_gold:DataFrame/0/? · returned DataFrame · level recorded 2026-09-25
add_clips_balanced_block src/create_input.py unverified MIT (permissive) · c2e664e9c05dee61 · report
create_input_for_acr src/create_input.py unverified MIT (permissive) · 9138fb8858a1a02d · report
speech_stats_for_audio src/utils/detect_silence_vad.py unverified MIT (permissive) · 958cb86721b252f3 · report
update_gold_clips_for_p804 src/master_script.py unverified MIT (permissive) · 7ba5f9e783c82e4a · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections