SVX
application/octet-stream
Magic Bytes
Offset: 0
46 4F 52 4D 38 53 56 58
8-Bit Sampled Voice (SVX) is an audio interchange file format developed by Electronic Arts for the Commodore Amiga computer system. This format is primarily utilized for storing digital audio samples and sound effects within IFF containers for legacy multimedia software and early video games. As a legacy audio format, it is considered safe for general use, though modern playback requires specialized conversion tools or emulators to interpret the original hardware specifications correctly.
Validation Code
How to validate .svx files in Python
Python
def is_svx(file_path: str) -> bool:
"""Check if file is a valid SVX by magic bytes."""
signature = bytes([0x46, 0x4F, 0x52, 0x4D, 0x38, 0x53, 0x56, 0x58])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .svx files in Node.js
Node.js
function isSVX(buffer: Buffer): boolean {
const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D, 0x38, 0x53, 0x56, 0x58]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsSVX(data []byte) bool {
signature := []byte{0x46, 0x4F, 0x52, 0x4D, 0x38, 0x53, 0x56, 0x58}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/svx
curl https://filesignature.org/api/v1/svx