OSCR

Block oscr:b:8NT9HQ8RVWYSJ-4

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:8NT9HQ8RVWYSJ-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-025-66731-7 · its page here
Code
github.com/b2m-musiclm/b2m, fmri2music/utils.py, lines 32 to 53 (seconds_to_idx)
Commit read
596bd2515cdaf17e4c308e52a041db1aa1caddce
SWHID
swh:1:cnt:6535b508bf45146043fbc6e8c15176ddd3a80cf3;origin=https://github.com/b2m-musiclm/b2m;anchor=swh:1:rev:596bd2515cdaf17e4c308e52a041db1aa1caddce;path=/fmri2music/utils.py;lines=32-53 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 51 (Method › Decoding: generating music from fMRI)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:8NT9HQ8RVWYSJ-4 (https://openscicode.org/b/oscr:b:8NT9HQ8RVWYSJ-4)
fmri2music/utils.py, lines 32 to 53, in github.com/b2m-musiclm/b2m (https://github.com/b2m-musiclm/b2m), commit 596bd2515cdaf17e4c308e52a041db1aa1caddce.
Paper: https://doi.org/10.1038/s41467-025-66731-7
SWHID: swh:1:cnt:6535b508bf45146043fbc6e8c15176ddd3a80cf3;origin=https://github.com/b2m-musiclm/b2m;anchor=swh:1:rev:596bd2515cdaf17e4c308e52a041db1aa1caddce;path=/fmri2music/utils.py;lines=32-53