{"success":true,"data":{"ext":"dsf","name":"DSD Storage Facilityaudio file","description":"Dreamcast Sound Format (DSF) is an audio file format developed for Sega’s Dreamcast console and preserved by the retro gaming and emulator community. It is used for storing and playing game music, soundtracks, and extracted audio in software players, music libraries, and preservation tools. The format is legacy and generally safe to open, although playback often requires specialized support in modern applications.","mime":[],"risk_level":"Safe","signatures":[{"hex":"44 53 44 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"50 53 46 12","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["aac","ac3","aif","aifc","aiff","amr"],"usage":{"python":"def is_dsf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DSF by magic bytes.\"\"\"\n    signature = bytes([0x44, 0x53, 0x44, 0x20])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDSF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x44, 0x53, 0x44, 0x20]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDSF(data []byte) bool {\n    signature := []byte{0x44, 0x53, 0x44, 0x20}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Audio"}}