From a62b37603da42677b7c3f2ae87251cda88c83ec8 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 11 Jan 2022 04:45:07 -0500 Subject: [PATCH] update format spec for eventual ins/wave format --- papers/format.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/papers/format.md b/papers/format.md index 0e60b08db..261fd9676 100644 --- a/papers/format.md +++ b/papers/format.md @@ -210,3 +210,33 @@ size | description | - instrument | - volume | - effect and effect data... + +# the Furnace instrument format (.fui) + +the instrument format is pretty similar to the file format, but it also stores wavetables and samples used by the instrument. + +size | description +-----|------------------------------------ + 16 | "-Furnace instr.-" format magic + 2 | format version + 2 | reserved + 4 | pointer to instrument data + 2 | wavetable count + 2 | sample count + 4 | reserved + 4?? | pointers to wavetables + 4?? | pointers to samples + +instrument data follows. + +# the Furnace wavetable format (.fuw) + +similar to the instrument format... + +size | description +-----|------------------------------------ + 16 | "-Furnace waveta-" format magic + 2 | format version + 2 | reserved + +wavetable data follows.