Fix export WAV khong mo duoc: default 32-bit float -> PCM 16 (client + server render + plugins.py)

This commit is contained in:
2026-08-24 19:58:44 +07:00
parent 5b747606c7
commit 2b7c7cef2c
5 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -12497,7 +12497,7 @@ const ExportModal = ({ open, onClose, exportSettings, setExportSettings, isExpor
<div>
<label className="block text-[7px] text-zinc-500 font-bold uppercase mb-0.5">Định dạng</label>
<select value={exportSettings.format}
onChange={e => setExportSettings(p => ({ ...p, format: e.target.value, sampleRate: '44100', bitDepth: 'float', quality: '44khz' }))}
onChange={e => setExportSettings(p => ({ ...p, format: e.target.value, sampleRate: '44100', bitDepth: '16', quality: '44khz' }))}
className="w-full bg-[#141414] border border-zinc-800 rounded px-1 py-0.5 text-xs text-zinc-300 focus:outline-none">
<option value="wav">WAV</option>
<option value="mp3">MP3</option>
@@ -18431,7 +18431,7 @@ const App = () => {
try { remExpDir = localStorage.getItem('sonic_remember_export_dir') === '1'; } catch (e) { }
return {
sampleRate: '44100',
bitDepth: 'float',
bitDepth: '16',
format: 'wav',
source: 'project',
quality: '44khz',
File diff suppressed because one or more lines are too long