Skip to content

File Format: SEQ

SalsaGal edited this page Apr 4, 2024 · 2 revisions

A proprietary format developed by Sony. Its structure is almost identical to a standard MIDI file of "Type 0" (SMF0). It's used in conjunction with vh/vb/vab files to play sequences with custom soundbanks. It is widely used in many PlayStation titles.

Header

The magic number should be "pQES".

Name Type Endianness
Magic number ASCII character x4 N/A
Version Unsigned 32 bit integer Big
Pulses per quarter note Unsigned 32 bit integer Big
Quarter note time Unsigned 24 bit integer Big
Time signature Unsigned 16 bit integer Big

Body

The body of a seq file is comprised of a set of commands that highly resemble the command set of MIDI files, in fact most of them look identical. To convert a seq file into a standard SMF0 MIDI file, use seq2mid. The body continues until the end of the file, and should be terminated with FF2F00.

FF5103XXXXXX is used for changing tempo in MIDI, however the seq format uses FF51XXXXXX instead.

Clone this wiki locally