News for hackers. Stuff that matters.
Re:Voc: a physical model of the vocal tract, written in ANSI C by zebproj on Monday June 12, 2017 @10:21PM (#14542497)
Hey! I'm the author of this thing. Let me know if you have any questions about it.

FYI, the generated C code is now part of the dev branch of Soundpipe here: http://pbat.ch/proj/soundpipe.html, my music DSP library, and it has also made it's way into the develop branch of AudioKit: http://audiokit.io.

Also, check out the original implementation Pink Trombone: https://dood.al/pinktrombone/. It's the perfect interface for this kind of model.

Re:Voc: a physical model of the vocal tract, written in ANSI C by TheNewAndy on Monday June 12, 2017 @10:45PM (#14542567)
Funnily enough, I also made a C90 port of the same code, and also named it "voc". Here is an oldish version:

http://ultra-premium.com/scratch/voc.zip

I would completely expect yours to be better in all ways (mine was basically a line for line transcription of all the audio and stripping out the UI stuff, where as you actually went to the effort of understanding the thing being ported).

Re:Voc: a physical model of the vocal tract, written in ANSI C by zebproj on Monday June 12, 2017 @11:15PM (#14542649)
I found your code last night, and it really freaked me out that there would be another person in the world who would want to make a C port of pink trombone and call it Voc as well.

Voc is pretty much a line-for-line port of PT as well, but I removed some bits like the simplex noise. I also wrote some small utilities to go with Voc, like small plotting programs and some plugins for my audio language for both the whole source-filter model and just the filter.

Still sinking my teeth into the literature. Voice synthesis has a very rich history!

Re:Voc: a physical model of the vocal tract, written in ANSI C by FigBug on Tuesday June 13, 2017 @03:29PM (#14547839)
What do you mean oldish version? Looks like it's from 2017 , or from an old version of pink trombone. Do you have the latest code in source control anywhere online?
Re:Voc: a physical model of the vocal tract, written in ANSI C by microcolonel on Monday June 12, 2017 @10:58PM (#14542602)
Very cool (soundpipe). Since I was a wee lad, I've been thinking about colonizing all major open source DAW/sequencer/audio editor programs with a single processing core, to the extent which would be acceptable. I think a lot more could be done if these individual projects (like Audacity, Hydrogen, Lmms, etc.) were just basically "shells" on the audio processing pipeline.
Re:Voc: a physical model of the vocal tract, written in ANSI C by zebproj on Monday June 12, 2017 @11:26PM (#14542693)
Do it! I think it's a rewarding exercise.

Also, build a language. Mine is Sporth: http://pbat.ch/proj/sporth.html

More recently, I've been building UIs on top of Sporth called Spigot: http://pbat.ch/proj/spigot

Re:Voc: a physical model of the vocal tract, written in ANSI C by jononor on Wednesday June 14, 2017 @10:48AM (#14553117)
Thanks to JACK, they kinda already are able to operate together decently.
Re:Voc: a physical model of the vocal tract, written in ANSI C by undershirt on Monday June 12, 2017 @11:54PM (#14542762)
is there a way to make it say words?

I think pinktrombone would make an excellent resource for learning how to make certain sounds when learning a foreign language.

Re:Voc: a physical model of the vocal tract, written in ANSI C by zebproj on Tuesday June 13, 2017 @12:00AM (#14542776)
In theory, I think it's doable, but you'd have to build some sort of interface for it. Right now, all that exists are the low level foundations.

The KL model does sing! Max Matthews and Bell Labs produced "Daisy Bell" using a very similar model 1960:

http://www.cs.princeton.edu/~prc/Daisy.mp3

This was the inspiration for HAL to sing Daisy in 2001: A Space Odyssey.

Re:Voc: a physical model of the vocal tract, written in ANSI C by Asooka on Tuesday June 13, 2017 @07:59AM (#14544135)
I'm interested in doing the reverse actually - take a voice recording, reverse-map it to the parameters of the model, then use those parameters and a different physical vocal tract to change your voice!
Re:Voc: a physical model of the vocal tract, written in ANSI C by Mankhool on Tuesday June 13, 2017 @10:34AM (#14544976)
This would have a large audience of voice and speech training professionals if it were available "ready to use" with no coding or compiling knowledge required. I think it's awesome!
Re:Voc: a physical model of the vocal tract, written in ANSI C by hannigan54 on Tuesday June 13, 2017 @10:25AM (#14544897)
This would get a lot of attention from the music production community if you could port it to a VST or AU plugin for use in a DAW!