From e8e7f2ed46975a30acfd266c158a3027489ea6a3 Mon Sep 17 00:00:00 2001 From: YuzukiTsuru <740291272@qq.com> Date: Sun, 3 Jul 2022 17:04:56 +0800 Subject: [PATCH] Done, to whoever merges this, good luck. Former-commit-id: 53ad6222bb5ccac0adf978ca0035e85b04bee294 --- docs/README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/README.md b/docs/README.md index a60147c..d75a424 100644 --- a/docs/README.md +++ b/docs/README.md @@ -47,15 +47,16 @@ lessaudio is the audio source model format file used by lessampler, which contai > ! Note: the current version of lessaudio only saves the data of lessaudiomodel, if there is any modification in the future, it will be explained here -| index | data | data size | -| ----- | ---- | --------- | -| 1 | | | -| 2 | | | -| 3 | | | -| 4 | | | -| 5 | | | -| 6 | | | -| 7 | | | -| 8 | | | -| 9 | | | +| index | data name | data | data type | data size | +| ----- | ------------------ | ------------------------- | ------------- | ------------------------- | +| 1 | `lessaudio_header` | `5402` | `std::string` | `sizeof(std::streamsize)` | +| 2 | `x_length` | `audioModel.x_length` | `int` | `sizeof(int)` | +| 3 | `fs` | `audioModel.fs` | `int` | `sizeof(int)` | +| 4 | `frame_period` | `audioModel.frame_period` | `double` | `sizeof(double)` | +| 5 | `f0_length` | `audioModel.f0_length` | `int` | `sizeof(int)` | +| 6 | `w_length` | `audioModel.w_length` | `int` | `sizeof(int)` | +| 7 | `fft_size` | `audioModel.fft_size` | `int` | `sizeof(int)` | +| 8 | `f0` | `audioModel.f0` | `vector` | `audioModel.f0.size() * sizeof(double)` | +| 9 | `spectrogram` | `audioModel.spectrogram` | `vector>` | `audioModel.f0.size() * audioModel.w_length * sizeof(double)` | +| 10 | `aperiodicity` | `audioModel.aperiodicity` | `vector>` | `audioModel.f0.size() * audioModel.w_length * sizeof(double)` |