3 ms·
Interesting use of Knuth's literate programming concept. I remember reading about it and the source code of TeX in PDF format a long time ago, but now that I ha
by userbinator 9y ago
Interesting use of Knuth's literate programming concept. I remember reading about it and the source code of TeX in PDF format a long time ago, but now that I have a chance to read another piece of code written in it, I'm finding it less readable because of the proportional fonts than if it were equally-commented but in a more conventional monospace programming font.
Also, some samples of making it talk would be good, like: https://en.wikipedia.org/wiki/Voder https://en.wikipedia.org/wiki/Voder
- zebproj 9y ago> I'm finding it less readable because of the proportional fonts than if it were equally-commented but in a more conventional monospace programming font. My initial motivations for using literate programming with Voc was to take advantage of TeX's math mode to express what was happening numerically in code, as well as to have the ability to use BibTex inside the code. > Also, some samples of making it talk would be good, like: https://en.wikipedia.org/wiki/Voder https://en.wikipedia.org/wiki/Voder At the bottom of the page, there are music examples on Vimeo, with plots of the 44 vocal tract diameters being manipulated in realtime: https://vimeo.com/220091107 https://vimeo.com/220091107 https://vimeo.com/220091290 https://vimeo.com/220091290 https://vimeo.com/220091487 https://vimeo.com/220091487 My goal was really to build vocalizations, and not necessarily to produce speech. This engine is a bit more low level than that. It could be possible to build a speech engine on top of Voc though... next steps perhaps?
- Jtsummers 9y agoThe font issue should be fixable with some configuration. I personally do literate programming in org mode and generate HTML files from it for my colleagues and myself. With it, code blocks output to HTML use a fixed width font. I haven't checked the tex output (low priority, the HTML output is good enough for me).