Sibelius Music - Score file
application/x-sibelius
Magic Bytes
Offset: 0
0F 53 49 42 45 4C 49 55 53
Sibelius Music Score file (SIB) is a proprietary binary file format developed and maintained by Avid Technology for its musical notation software. It is primarily used by composers, arrangers, and publishers to create, edit, and store musical scores containing notation, lyrics, and playback data. While generally classified as a safe data format, users should ensure compatibility across different versions of the software, as older releases may lack support for features introduced in modern iterations.
Validation Code
How to validate .sib files in Python
Python
def is_sib(file_path: str) -> bool:
"""Check if file is a valid SIB by magic bytes."""
signature = bytes([0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53])
with open(file_path, "rb") as f:
return f.read(9) == signature
How to validate .sib files in Node.js
Node.js
function isSIB(buffer: Buffer): boolean {
const signature = Buffer.from([0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53]);
return buffer.subarray(0, 9).equals(signature);
}
Go
func IsSIB(data []byte) bool {
signature := []byte{0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53}
if len(data) < 9 {
return false
}
return bytes.Equal(data[:9], signature)
}
API Endpoint
GET
/api/v1/sib
curl https://filesignature.org/api/v1/sib