Spaces:
Running
Running
Download michael.html from Suarify/kecil-tts-web: direct link, hf CLI and curl.
- Browser
- Download file 12.7 kB
-
https://huggingface.co/spaces/Suarify/kecil-tts-web/resolve/main/michael.html
- Command line
-
hf download hf://spaces/Suarify/kecil-tts-web/michael.html
-
curl -L -o michael.html https://huggingface.co/spaces/Suarify/kecil-tts-web/resolve/main/michael.html
12.7 kB
| <html lang="en"><head><meta charset="utf-8"> | |
| <title>Kecil-TTS Michael: where does the watery / phasey sound come from</title> | |
| <style> | |
| body{font:15px/1.5 Inter,'Segoe UI',sans-serif;background:#0d1b26;color:#dcebf4;margin:0;padding:32px 16px 60px} | |
| main{max-width:1120px;margin:0 auto} | |
| h1{font-family:Sora,Inter,sans-serif;font-size:22px} h1 span{color:#5fd6d6} | |
| p.note{color:#9db1bf;font-size:13.5px} | |
| table{border-collapse:collapse;width:100%;margin:14px 0} | |
| td{padding:10px 8px;border-top:1px solid #22384a;vertical-align:top} | |
| .tx{width:34%} .cat{font-size:11px;color:#9db1bf;border:1px solid #22384a;border-radius:99px;padding:1px 8px;margin-right:6px} | |
| .bs{white-space:nowrap} | |
| button.p{background:#12242f;border:1px solid #2c4a5e;color:#dcebf4;border-radius:8px;padding:7px 10px;font:600 12px Inter,sans-serif;cursor:pointer;margin:2px 3px 2px 0} | |
| button.p:hover{border-color:var(--c);color:var(--c)} | |
| button.p.on{background:var(--c);color:#0d1b26} | |
| #rows.blind button.p{color:#0d1b26;background:#2c4a5e} | |
| #rows.blind button.p.on{background:#5fd6d6} | |
| #shuffle{background:#2fb8b8;color:#0d1b26;border:0;border-radius:99px;padding:9px 16px;font:700 13px Inter,sans-serif;cursor:pointer} | |
| table.m td{padding:6px 14px;font-size:13.5px} | |
| </style></head><body><main> | |
| <h1>Kecil-TTS <span>Michael</span> — hunting the remaining watery / phasey sound</h1> | |
| <p class="note">The owner hears watery + phase artifacts in v0.2.1 (FIX H). This round isolates the head's knobs on | |
| Michael's own weights: the <b>learned phase</b> (u), the <b>pulse shift</b> (a delay of the whole pulse per frame), | |
| and how much voiced noise energy stays in the gaps vs moves into the harmonics. All loudness-matched, | |
| same noise seed per sentence.</p> | |
| <p class="note">▶ <b>noPhase</b>: learned phase replaced by a flat phase (keeps the pulse shift). | |
| ▶ <b>noShift</b>: pulse shift removed (keeps the learned phase). ▶ <b>keepHalf</b>: half the voiced noise | |
| energy moved into the harmonics (solidity). ▶ <b>noBurst</b>: the 3 ms burst path removed entirely. | |
| ▶ <b>noMod</b>: pulsed-noise sources dropped.</p> | |
| <p><button id="shuffle">Start blind test</button> <span id="hint" style="color:#9db1bf;font-size:13px"></span></p> | |
| <table id="rows"><tr><td class="tx"><span class="cat">general</span> SAFIRA marah besar tanpa setahu ALIF.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0313_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0313_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0313_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0313_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0313_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0313_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0313_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0313_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr><tr><td class="tx"><span class="cat">general</span> Pada ketika itu MGS tidak mempunyai guru besar.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0551_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0551_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0551_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0551_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0551_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0551_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0551_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0551_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr><tr><td class="tx"><span class="cat">general</span> Ini terletak di bawah Jenis III, atau kematian sel sitoplasma.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0571_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0571_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0571_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0571_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0571_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0571_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0571_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0571_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr><tr><td class="tx"><span class="cat">general</span> Dia menghabiskan kira-kira dua jam menonton TV.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0726_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0726_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0726_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0726_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0726_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0726_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0726_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0726_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr><tr><td class="tx"><span class="cat">conversational</span> Saya Farah, pegawai yang menguruskan kes puan.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0746_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0746_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0746_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0746_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0746_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0746_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0746_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0746_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr><tr><td class="tx"><span class="cat">conversational</span> Saya Nurul, pegawai yang menguruskan kes encik.</td><td class="bs"><button class="p" style="--c:#e05c5c" data-src="michael_ablate/c0747_old.wav">▶<span class="l"> v0.2 (old export)</span></button><button class="p" style="--c:#5aa86c" data-src="michael_ablate/c0747_fixH.wav">▶<span class="l"> v0.2.1 (FIX H, current)</span></button><button class="p" style="--c:#8a6cc8" data-src="michael_ablate/c0747_harmOnly.wav">▶<span class="l"> harmonics only (no noise at all)</span></button><button class="p" style="--c:#d69a2d" data-src="michael_ablate/c0747_noPhase.wav">▶<span class="l"> FIX H, learned phase OFF</span></button><button class="p" style="--c:#4a90d9" data-src="michael_ablate/c0747_noShift.wav">▶<span class="l"> FIX H, pulse shift OFF</span></button><button class="p" style="--c:#2fb8b8" data-src="michael_ablate/c0747_keepHalf.wav">▶<span class="l"> FIX H + half noise -> harmonics</span></button><button class="p" style="--c:#b0752a" data-src="michael_ablate/c0747_noBurst.wav">▶<span class="l"> FIX H, burst path removed</span></button><button class="p" style="--c:#9a5fb8" data-src="michael_ablate/c0747_noMod.wav">▶<span class="l"> FIX H, pulsed noise removed</span></button></td></tr></table> | |
| <h2 style="font-family:Sora,Inter,sans-serif;font-size:17px">Averages over these 6 sentences</h2> | |
| <table class="m"><tr><th>version</th><th>periodicity</th><th>flatness 2-6 kHz</th><th>energy >4 kHz</th></tr><tr><td>v0.2 (old export)</td><td>0.643</td><td>0.516</td><td>0.096</td></tr><tr><td>v0.2.1 (FIX H, current)</td><td>0.649</td><td>0.437</td><td>0.088</td></tr><tr><td>harmonics only (no noise at all)</td><td>0.700</td><td>0.289</td><td>0.013</td></tr><tr><td>FIX H, learned phase OFF</td><td>0.582</td><td>0.433</td><td>0.093</td></tr><tr><td>FIX H, pulse shift OFF</td><td>0.590</td><td>0.433</td><td>0.092</td></tr><tr><td>FIX H + half noise -> harmonics</td><td>0.647</td><td>0.381</td><td>0.087</td></tr><tr><td>FIX H, burst path removed</td><td>0.654</td><td>0.430</td><td>0.074</td></tr><tr><td>FIX H, pulsed noise removed</td><td>0.656</td><td>0.393</td><td>0.082</td></tr></table> | |
| <p class="note" style="margin-top:18px">Tell me the two best buttons (they can be different variants per problem: | |
| e.g. one for the watery part, one for the phasey part) and I'll bake the winner into the next Michael export.</p> | |
| </main> | |
| <script> | |
| let cur=null; | |
| document.addEventListener('click',e=>{ | |
| const b=e.target.closest('button.p'); if(!b)return; | |
| if(cur&&cur!==b){cur.pause&&cur.pause();cur.classList.remove('on');} | |
| if(cur===b&&cur.pause===undefined)return; | |
| cur=b; b.classList.add('on'); | |
| const a=new Audio(b.dataset.src); a.onended=()=>b.classList.remove('on'); a.play(); cur=a; | |
| }); | |
| let blind=false; | |
| const shuffle=document.getElementById('shuffle'),tbl=document.getElementById('rows'),hint=document.getElementById('hint'); | |
| const NAMES=["v0.2 (old export)", "v0.2.1 (FIX H, current)", "harmonics only (no noise at all)", "FIX H, learned phase OFF", "FIX H, pulse shift OFF", "FIX H + half noise -> harmonics", "FIX H, burst path removed", "FIX H, pulsed noise removed"]; | |
| shuffle.onclick=()=>{ | |
| blind=!blind; tbl.classList.toggle('blind',blind); document.querySelectorAll('#rows td.bs').forEach(td=>{ | |
| const btns=[...td.children]; | |
| if(blind){const names=[...btns].map(b=>b.querySelector('.l').textContent); | |
| for(let i=names.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[names[i],names[j]]=[names[j],names[i]];} | |
| btns.forEach((b,i)=>b.querySelector('.l').textContent=names[i]);} | |
| else btns.forEach((b,i)=>b.querySelector('.l').textContent=' '+NAMES[i]); | |
| }); | |
| hint.textContent=blind?'Buttons are shuffled - pick the cleanest one, then press again to reveal.':''; | |
| shuffle.textContent=blind?'Reveal + stop blind test':'Start blind test'; | |
| }; | |
| </script></body></html> |