Merge branch 'main' into release

This commit is contained in:
Vanilagy
2025-09-22 22:06:18 +02:00
+5
View File
@@ -247,11 +247,16 @@ The following options are available:
```ts
type WavOutputFormatOptions = {
large?: boolean;
metadataFormat?: 'info' | 'id3';
onHeader?: (data: Uint8Array, position: number) => unknown;
};
```
- `large`\
When enabled, an RF64 file be written, allowing for file sizes to exceed 4 GiB, which is otherwise not possible for regular WAVE files.
- `metadataFormat`\
The metadata format to use for writing metadata tags.
- `'info'` (default): Writes metadata into a RIFF INFO LIST chunk, the default way to contain metadata tags within WAVE. Only allows for a limited subset of tags to be written.
- `'id3'`: Writes metadata into an ID3 chunk. Non-default, but used by many taggers in practice. Allows for a much larger and richer set of tags to be written.
- `onHeader`\
Will be called once the file header is written. The header consists of the RIFF header, the format chunk, and the start of the data chunk (with a placeholder size of 0).