bugfix: change raw data folder in zip

This commit is contained in:
wataru 2023-02-09 04:25:27 +09:00
parent 391b61c073
commit 699f1c3ba0
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ export const ExportController = () => {
const textData = targetCorpus.text[j] const textData = targetCorpus.text[j]
const textHiraData = targetCorpus.text_hira[j] const textHiraData = targetCorpus.text_hira[j]
// 生データ // 生データ
zip.file(`raw/${fileName}`, userData.micWavBlob); zip.file(`00_myvoice/raw/${fileName}`, userData.micWavBlob);
// // 24Khzデータ // // 24Khzデータ
// const wav24Khz = convert48KhzTo24Khz(userData.micWavBlob); // const wav24Khz = convert48KhzTo24Khz(userData.micWavBlob);
@ -58,7 +58,7 @@ export const ExportController = () => {
const start = region ? region[0] : 0; const start = region ? region[0] : 0;
const end = region ? region[1] : 0; const end = region ? region[1] : 0;
const wav24KhzTrim = convert48KhzTo24Khz(userData.micWavBlob, start, end); const wav24KhzTrim = convert48KhzTo24Khz(userData.micWavBlob, start, end);
zip.file(`rawTrim24k/${fileName}`, wav24KhzTrim); zip.file(`00_myvoice/rawTrim24k/${fileName}`, wav24KhzTrim);
// VF生データ // VF生データ
zip.file(`00_myvoice/vf/${fileName}`, userData.vfWavBlob); zip.file(`00_myvoice/vf/${fileName}`, userData.vfWavBlob);