跳到正文
原文
Hacker News · 首页· celphase·· 2026-10-17精选AI 评分41

开发者展示纯合成鸭叫音频模拟器

Show HN: High-quality duck audio synthesizer

AI 导读

celphase 在 Show HN 发布一个鸭叫音频合成器,所有鸭叫声均为实时建模生成,不含任何录音,具体对鸭子鸣管和声道进行建模,GitHub 仓库有完整技术拆解。项目大量使用 LLM,通过循环运行模型逐步校正合成参数,使输出频谱图与真实录音样本的频谱图匹配,其中一段合成结果被分类模型判定为比真实鸭叫样本更像鸭子。

推荐理由

作者说明了用 LLM 循环校正参数使频谱图匹配真实样本的做法,可迁移至其他音频合成任务。

正文 · 原文
Show HN: High-quality duck audio synthesizer (celphase.github.io)
78 points by celphase 7 hours ago | hide | past | favorite | 23 comments

I was vibe coding a simple three.js bird world simulation when reading this, guess we're building a three.js duck pond simulation now.


I like the simulation. They do 'dabbling' and 'picking insects' but they dont ever seem to do 'ducking' (tail up, head underwater).

Ducks are named after 'ducking' ... or possibly, 'ducking' is named after Ducks.

edit: also please remove hard ceiling of 120 peas. I want to throw more peas


I don't know who came up with idea that bread is bad for ducks but it ruined one fishing spot for me. There was a place where people were feeding bread to sucks and fly fishing there was awesome. Carps, chubs, crucians, rudds and roaches, even nases! All on dry flies. Then someone put out sign that bread harms ducks so people stopped feeding them and after a while all fish just disappeared.


several reasons why its bad.

- Bread doesn't have much nutritional value (especially the kind of white "bread" that is common in the US for example)

- It fills up their stomach fast so they don't forage for foods they would naturally eat

- Throwing bread at one place can lead to overcrowding (which is what happened in your great fishing spot) which stresses the animals

- They also shit a lot in one place, which leads to a bunch of problems

- Uneaten bread causes algae growth which leads to diseases and pests

best to feed them peas like in this neat app or I also heard that cut up frozen grapes are a good choice.


This is beautiful.

We used to feed the ducks at the lake in the park.

We bought poultry food at the local tack and feed store.

There were dozens of them. When they got spooked and all started flying, the breeze was notable.

Park eventually put in a sign to stop feeding them and took out the benches.


I love it. However i would love to walk around the pool and the ducks seem to stay with me a lot. But minor issues :)


A while back I played around with the clanker and got it to build a fully synthesized woodcock peent as a standalone html file.

That then became embedded as an easter egg into some other software.

Ducks were too hard for it though, unfortunately.

Lately, I again threw a clanker at something like that and got it to recreate some MGS codec sound effects.


One of my new hobbies is feeding the ducks by the river every other day. One time they were a bit far and there was a steep slope between me and the ducks, I threw some of the seeds and went back to sit on the bench, pulled my phone and got distracted, few minutes later and there was almost 100 ducks surrounding me and staring waiting for food, I have no idea from where they came from! After they got fed they all went to sleep.


i suppose this is an environment noise generator, with duck calls just being recordings. i wish you could control ducks individually, after i threw peas they just hang out near mic forever


This actually uses no recordings. All duck sounds are modeled live, with the quacks and rhaebs specifically modeling the duck's syrinx and vocal tract. The github repository has a full technical breakdown.


The project was created with significant LLM use, I'd add claude as a co-contributor if I could do so manually. I don't personally like to have it added as a co-author on commits on my own projects, though I always make sure it's there if I submit PRs using it.

Honestly I can't take credit for any major input on it other than a few technical choices. Audio is entirely outside my wheelhouse beyond what happens at the platform API level.

The process involved running the LLM in a loop to gradually correct parameters of a synthesis stack to have the spectrogram of the output match the spectrogram of a real recorded sample. One funny part is where the synthesis was marked by a classification model as more duck than the real duck sample.

来源:Hacker News · 首页 · news.ycombinator.com