tools/bench.sh: also generates the midi + sf2 fixtures (the bench renders their songs). licenses: TinySoundFont MIT row in NOTICE.md.
984 B
984 B
Formats
GENERATED by tools/gen_registry.py from each format's contract (caps) - do not edit. Every format listed here
is tested under both runtimes (luau --codegen -O2 and LuaJIT through the build) by bash tools/test.sh.
| Category | Format | Extensions | Read | Write | Capabilities | Test |
|---|---|---|---|---|---|---|
| image | png | .png .apng | yes | yes | animation: false, alpha: true, depths: 1, 2, 4, 8, 16 | tests/image/png.luau |
| music | midi | .mid .midi .smf .kar .rmi | yes | yes | formats: 0, 1, 2, render: true, streaming: true, rmid: true | tests/music/midi.luau |
| music | sf2 | .sf2 | yes | - | sm24: true, sf3: false | tests/music/sf2.luau |
Codecs (layer 1, shared by formats; not loadable on their own):
- codecs/Deflate: DEFLATE (RFC 1951) decoder and compressor, with the zlib (RFC 1950) and gzip (RFC 1952) wrappers.
- codecs/SoundFont: SoundFont 2 banks and the sample synth that plays MIDI through them. A codec (layer 1) shared by