What is mya?
|
 |
Mya (for MYriad Archive) is a file format which concatenate several
music documents (.myr, .mu3, .xml, .mxl, .mod, .s3m, .mid, .kar) in
one binary file with .mya extension.
This file format is read by Melody Player and the Myriad Music
Plug-In.
Reminder : Only Melody Player manage .mod, .s3m, .mid or .kar.
How to generate a .mya file?
|
 |
Manually, from an external program (written in PHP or Perl on a web
server for example).
Automatically from the JukeBox in Harmony Assistant.
What is his description?
|
 |
First a header:
Size in byte
|
Description
|
4
|
'mya ' (0x6D 0x79 0x61
0x20)
|
2
|
version, now 0x0100
|
4
|
number of documents in the
archive
|
For each document:
Size in byte |
Description
|
2
|
Size of document name
(TN)
|
TN
|
Document name (UTF-8
encoding)
|
4
|
Music duration in seconds (0 if
unknown)
|
4
|
Document data size (TF)
|
TF
|
Document data |