Sony Memory Stick Compressed Voice file
application/octet-stream
Magic Bytes
Offset: 0
4D 54 68 64
Sony Memory Stick Compressed Voice (MSV) is a proprietary audio format developed by Sony Corporation for storing compressed voice data on digital recording devices. It was primarily utilized for dictation and voice memos captured on Sony ICD series recorders and saved directly to Memory Stick media. Although largely obsolete, this legacy format remains safe for archival purposes, though modern systems typically require specialized software or proprietary codecs to facilitate playback and conversion.
Validation Code
How to validate .msv files in Python
Python
def is_msv(file_path: str) -> bool:
"""Check if file is a valid MSV by magic bytes."""
signature = bytes([0x4D, 0x54, 0x68, 0x64])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .msv files in Node.js
Node.js
function isMSV(buffer: Buffer): boolean {
const signature = Buffer.from([0x4D, 0x54, 0x68, 0x64]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsMSV(data []byte) bool {
signature := []byte{0x4D, 0x54, 0x68, 0x64}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/msv
curl https://filesignature.org/api/v1/msv