{"data":{"_id":"69de3cac897a7725c66ff167","associated_paper_doi":null,"associated_paper_meta":{"author_overlap":0,"channel":"nemar/IsDerivedFrom","confidence":"high","is_oa":true,"oa_status":"gold","source":"paper_resolver"},"author_year":"Gwilliams2023","authors":["Laura Gwilliams","Graham Flick","Alec Marantz","Liina Pylkkänen","David Poeppel","Jean-Rémi King"],"bad_channels_info":null,"bids_version":"1.9.0","canonical_name":null,"computed_title":"Gwilliams et al. 2023 — Introducing MEG-MASC: a high-quality magneto-encephalography dataset for evaluating natural speech processing","contact_info":null,"contributing_labs":null,"data_processed":false,"dataset_doi":"10.82901/nemar.nm000229","dataset_id":"nm000229","datatypes":["meg"],"demographics":{"age_max":41,"age_mean":24.59259259259259,"age_min":18,"ages":[25,33,29,31,20,30,20,35,41,27,31,19,19,20,20,19,31,19,20,20,19,20,32,23,19,24,18],"handedness_distribution":{"r":27},"sex_distribution":{"f":15,"m":12},"species":null,"subjects_count":27},"experimental_modalities":null,"external_links":{"github_url":null,"osf_url":null,"paper_url":null,"source_url":"https://nemar.org/dataexplorer/detail/nm000229"},"funding":["FrontCog grant ANR-17-EURE-0017 (J.-R. King)","Abu Dhabi Research Institute (G1001) (A. Marantz, L. Pylkkänen)","Dingwall Foundation (L. Gwilliams)"],"generated_by":[{"CodeURL":"https://osf.io/ag3kj/","Description":"Dataset published as a BIDS-MEG release by the authors. Minor fixes applied during ingestion to satisfy BIDS validator: (1) repaired broken participants.json (syntax errors), (2) replaced 'male'/'female'/'right'/'left' in participants.tsv with M/F/R/L to match Levels, (3) removed orphan anat references from 6 scans.tsv files (MRI files not included in the OSF download), (4) added missing recommended sidecar fields verified against the paper.","Name":"Original BIDS dataset"}],"how_to_acknowledge":"Please cite: Gwilliams, L., Flick, G., Marantz, A., Pylkkänen, L., Poeppel, D., & King, J.-R. (2023). Introducing MEG-MASC: a high-quality MEG dataset of story comprehension. Scientific Data, 10, 862. https://doi.org/10.1038/s41597-023-02752-5","ingestion_fingerprint":"a7b9f89fe5740194d89a78838ffb016ab2d315524b66aa63653398acc86ef29d","license":"CC0","n_contributing_labs":null,"n_records":196,"name":"Gwilliams et al. 2023 — Introducing MEG-MASC: a high-quality magneto-encephalography dataset for evaluating natural speech processing","name_source":"canonical","nchans_counts":[{"count":196,"val":256}],"readme":"[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000229-blue)](https://doi.org/10.82901/nemar.nm000229)\n# MEG-MASC: a high-quality magneto-encephalography dataset for evaluating natural speech processing.\nLaura Gwilliams, Graham Flick, Alec Marantz, Liina Pylkkänen, David Poeppel, Jean-Rémi King\n- [Paper](https://arxiv.org)\n- [Data](https://osf.io/rguwj/)\n- [Code](https://github.com/kingjr/meg-masc)\n## Abstract\nThe \"MEG-MASC\" dataset provides a curated set of raw magnetoencephalography (MEG) recordings of 27 English speakers who listened to two hours of naturalistic stories. Each participant performed two identical sessions, involving listening to four fictional stories from the Manually Annotated Sub-Corpus (MASC) intermixed with random word lists and comprehension questions. We time-stamp the onset and offset of each word and phoneme in the metadata of the recording, and organize the dataset according to the 'Brain Imaging Data Structure' (BIDS). This data collection provides a suitable benchmark to large-scale encoding and decoding analyses of temporally-resolved brain responses to speech. We provide the Python code to replicate several validations analyses of the MEG evoked related fields such as the temporal decoding of phonetic features and word frequency. All code and MEG, audio and text data are publicly available to keep with best practices in transparent and reproducible research.\n## Please cite\n@article{gwilliams2022neural,\n  title={Neural dynamics of phoneme sequences reveal position-invariant code for content and order},\n  author={Gwilliams, Laura and King, Jean-Remi and Marantz, Alec and Poeppel, David},\n  journal={Nature Communications},\n  volume={13},\n  number={1},\n  pages={1--14},\n  year={2022},\n  publisher={Nature Publishing Group}\n}\n## Task organisation\nEach subject listened to four unique stories:\n  - task-0 : 'lw1',\n  - task-1 : 'cable_spool_fort',\n  - task-2 : 'easy_money',\n  - task-3 : 'The_Black_Widow'\nStories were presented in a different order to each participant:\n  participant_id\t:\ttask_order\n  sub-01\t:\t[0, 1, 2, 3]\n  sub-02\t:\t[0, 1, 3, 2]\n  sub-03\t:\t[0, 2, 3, 1]\n  sub-04\t:\t[3, 0, 1, 2]\n  sub-05\t:\t[2, 3, 1, 0]\n  sub-06\t:\t[0, 2, 1, 3]\n  sub-07\t:\t[0, 3, 1, 2]\n  sub-08\t:\t[3, 1, 0, 2]\n  sub-09\t:\t[2, 1, 3, 0]\n  sub-10\t:\t[1, 2, 3, 0]\n  sub-11\t:\t[1, 3, 2, 0]\n  sub-12\t:\t[2, 0, 3, 1]\n  sub-13\t:\t[1, 3, 0, 2]\n  sub-14\t:\t[1, 0, 3, 2]\n  sub-15\t:\t[2, 1, 0, 3]\n  sub-16\t:\t[3, 0, 2, 1]\n  sub-17\t:\t[1, 2, 3, 0]\n  sub-18\t:\t[2, 0, 1, 3]\n  sub-19\t:\t[0, 3, 2, 1]\n  sub-20\t:\t[2, 3, 0, 1]\n  sub-21\t:\t[1, 2, 3, 0]\n  sub-22\t:\t[1, 0, 2, 3]\n  sub-23\t:\t[0, 2, 3, 1]\n  sub-24\t:\t[3, 1, 2, 0]\n  sub-25\t:\t[0, 1, 3, 2]\n  sub-26\t:\t[3, 1, 0, 2]\n  sub-27\t:\t[1, 2, 3, 0]\n## Stimulus timestamps\nThe timing of each phoneme and each word is provided in each sub-*_ses-*_task-*_events.tsv file, for each subject, session and task. The timing links the MEG recording to the relevant speech moments of that story.\nEach events file contains five columns:\n  - onset (float) : onset time of event in seconds\n  - duration (float) : duration of event in seconds\n  - trial_type (dict) : dictionary of key:value pairs providing information about the event\n  - sample (int) : onset time of event in MEG samples\nNote (NEMAR copy, version 1.0.2): in this dataset the trial_type dictionary of every events.tsv is expanded into\nseparate columns (story, story_uid, sound_id, kind, start, sound, phoneme, word, sequence_id, condition, word_index,\nspeech_rate, voice, pronounced; n/a where a key is absent), and trial_type holds the event kind (sound, phoneme or\nword). The columns are described in the events.json sidecars. See CHANGES.\n## Stories.\nEach participant listened to four fictional stories, over the course of two ~1h-long MEG sessions, with the exception of 5 subjects who only underwent 1 session. The stories were played in different orders across participants. These stories were originally selected because they had been annotated for their syntactic structures (MASC).  The corresponding text files can be found in stimuli/text/*.txt\n## Word lists and pseudo-words.\nTo potentially investigate MEG responses to words independently of their narrative context, the text of these stories have been supplemented with word lists. Specifically, a random word list consisting of the unique content words (nouns, proper nouns, verbs, adverbs and adjectives) selected from the preceding text segment was added in a random order. In addition, a small fraction (<1%) of non-words were inserted into the natural sentences of the stories. The corresponding text files can be found in stimuli/text_with_wordlist/*.txt. For simplicity, the brain responses to these word lists and to these pseudo words are fully discarded from the present study.\n## Audio synthesis.\nEach of these stories was synthesized with Mac OS Mojave © version 10.14 text-to-speech. Voices (n=3 female) and speech rates (145 - 205 words per minute) varied every 5-20 sentences. The inter-sentence interval randomly varied between 0 and 1,000 ms. Both speech rate and inter-sentence intervals were sampled from a uniform distribution. Each `text_with_wordlist` files was divided into ~3 min sound files, which can be found in stimuli/audio/*.wav.\n## Forced Alignment.\nThe timing of words and phonemes were inferred from the forced-alignment between the wav and text files, using the ‘gentle aligner’ from the Python module lowerquality (https://github.com/lowerquality/gentle). We discarded the words that did not get a forced alignment through this procedure. Analysis of the Mel spectrogram and of the phonetic decoding led to better results when using gentle than when using the Penn Forced Aligner originally used in Gwilliams et al MASC. The timing of each word and phoneme can be found in the events.tsv of each individual recording session.\n## Verification. To verify that the forced alignment did not have a systematic bias, we systematically check the MEG decoding of phonetic features for each sound file separately.\n﻿References\n----------\nAppelhoff, S., Sanderson, M., Brooks, T., Vliet, M., Quentin, R., Holdgraf, C., Chaumon, M., Mikulan, E., Tavabi, K., Höchenberger, R., Welke, D., Brunner, C., Rockhill, A., Larson, E., Gramfort, A. and Jas, M. (2019). MNE-BIDS: Organizing electrophysiological data into the BIDS format and facilitating their analysis. Journal of Open Source Software 4: (1896). https://doi.org/10.21105/joss.01896\nNiso, G., Gorgolewski, K. J., Bock, E., Brooks, T. L., Flandin, G., Gramfort, A., Henson, R. N., Jas, M., Litvak, V., Moreau, J., Oostenveld, R., Schoffelen, J., Tadel, F., Wexler, J., Baillet, S. (2018). MEG-BIDS, the brain imaging data structure extended to magnetoencephalography. Scientific Data, 5, 180110. https://doi.org/10.1038/sdata.2018.110","recording_modality":["meg"],"references_and_links":["https://osf.io/ag3kj/","https://doi.org/10.1038/s41597-023-02752-5","https://www.nature.com/articles/s41597-023-02752-5"],"senior_author":"Jean-Rémi King","sessions":["0","1"],"sfreq_counts":[{"count":196,"val":1000.0}],"size_bytes":106896012365,"source":"nemar","source_datasets":[{"URL":"https://osf.io/ag3kj/"},{"DOI":"doi:10.1038/s41597-023-02752-5"}],"stats_computed_at":"2026-11-09T09:46:04.277931+00:00","storage":{"backend":"nemar","base":"s3://nemar/nm000229","dep_keys":["CHANGES","README.md","participants.json","participants.tsv"],"raw_key":"dataset_description.json"},"study_design":null,"study_domain":null,"tagger_meta":{"config_hash":"39931253008fe2df","model":"gpt-6-sol","source":"eegdash-llm-tagger","tagged_at":"2026-10-06T13:13:11Z","taxonomy":"v2"},"tags":{"confidence":{"modality":0.7,"pathology":0.6,"type":0.7},"modality":["Auditory"],"pathology":["Healthy"],"reasoning":{"decision_summary":"Pathology candidates: Healthy versus Unknown. The quoted participant count and age range, together with no stated clinical recruitment, favor Healthy, but only contextually (0.6). Modality candidates: Auditory versus Visual. “Natural speech processing” and the auditory music-and-speech analog favor Auditory, although presentation is unspecified (0.7). Type candidates: Language versus Perception. The stated aim, “evaluating natural speech processing”, favors Language over sensory-response analysis; this rests on one explicit aim phrase and the few-shot distinction between stimulus and construct (0.7). The title and dataset_description repeat the same phrase and are not counted as independent evidence.","evidence_alignment_check":"Pathology: Metadata says “Subjects: 30; Age range: 18-41” but names no condition. Few-shot normative-cohort examples suggest Healthy; they align insofar as neither indicates clinical recruitment, though the evidence is indirect. Modality: Metadata says “natural speech processing”; auditory speech is the strongest inference, consistent with the music-and-speech example, but the delivery channel is not explicit. Type: Metadata says “evaluating natural speech processing”. Few-shot examples suggest choosing the construct rather than the sensory channel; Language fits better than Perception. There is no explicit metadata–few-shot conflict.","few_shot_analysis":"The music-and-speech example labels sound stimuli Auditory, but its focus on auditory brain responses makes its type Perception. The auditory digit-span example shows that type follows the research construct rather than the stimulus: it is Memory, not Perception. These conventions support Auditory and, for this dataset's stated focus on natural speech processing, Language.","metadata_analysis":"The title calls this a “magneto-encephalography dataset for evaluating natural speech processing”; the dataset_description repeats that name. The participants_overview reports “Subjects: 30; Age range: 18-41”. Task names are numeric and do not describe stimuli or procedures. No diagnosis or stimulus-delivery method is explicitly stated.","paper_abstract_analysis":"No useful paper information."},"type":["Language"]},"tasks":["0","1","2","3"],"timestamps":{"dataset_created_at":null,"dataset_modified_at":"2026-11-08 16:32:09","digested_at":"2026-11-09T09:38:18.585823+00:00"},"total_duration_s":206192.0,"total_files":196},"database":"eegdash","success":true}