New side project: Samuel, a model I trained to mimic speech using Pink Trombone, a (pre-existing)…
@vvolhejn2.2K followers
154,921 views
37 Comments
Comments from the original post on X (Twitter)

@vvolhejn
From an ML perspective, it's a speech autoencoder where the decoder is Pink Trombone. It's a non-trivial task: Pink Trombone is non-differentiable, sample-by-sample, and if you optimize the model to just match the waveform, it's not intelligible. Write-up coming soon!
103 likes

@vvolhejn
Try it: Credits to Neil Thapen for the original Pink Trombone and @ConcreteSciFi for the programmable version I used as the starting point.
42 likes

@bitplane
This is awesome. But recording on Firefox under Linux seems a bit slow. If I can get it working I'll send a PR :)
24 likes

@vvolhejn
Thank you, PRs with fixes welcome!
12 likes

@bitplane
Found and fixed, I'll finish testing and send a PR shortly. Also, this always trips me up when creating from the API rather than with `gh repo create` - you aren't watching the repo so you won't get notifications on PRs or issues!
2 likes

@LuisSnuis
I'm not sure if this really is how vocal tract is supposed to move
19 likes

@cube_flipper
omfg @repligate someone actually did it
7 likes

@stoppmeister
couldn't this technically be used as an extremely efficient, human voice focused, audio encoder? the data to move the pink trombone correctly is probably tiny, this seems very intelligible and is more dynamic than just storing text and playing it back with TTS.
7 likes

@moultano
I wonder how well something like this would work as a super low bitrate voice codec.
6 likes

@made_by_dy
Nice! I've also built speech simulator based on pink trombone You can control the intonation here manually I guess there can be switchable phoneme tables, based from your example, for TTS with accents.
6 likes

@waefrebeorn
i am proud of you i tried it but had alien voice problems you made it sound so good mine sounded awful yours is amazing i will finish my work using your work lol thank you
5 likes

@TRA4669
AAA III UUU EEE OOOOOOOOOOO
4 likes

@andrew_n_carr
I LOVE THIS
3 likes

@itsnotmyfault01
Jesus Christ. Also, I want a version that does this with I have no idea why I want it, and I am exceedingly unlikely to make any music at all with it, but I still want it.
3 likes

@huggingpuppy
this is insane I love it
2 likes

@simplify3
I played with pink trombone years ago and found it very hard to control. This is very impressive – it captured my singing quite well.
2 likes

@raphaelmilliere
Very cool! How hard would it be to simulate the rest of the pharynx and train a model to sing with it?
2 likes

@RamaAdrien
what an amazing project I love it. who could have thought speech could be encoded in a pink tormbone lol 🎺
2 likes

@MisaDev4
this is cool
1 like

@anachronistical
Now to build a robot version and train it the same way
1 like
















