https://github.com/lostmsu/pink-trombone
Pink Trombone (vocal cord simulator) implementation in Rust
https://github.com/lostmsu/pink-trombone
Last synced: 9 months ago
JSON representation
Pink Trombone (vocal cord simulator) implementation in Rust
- Host: GitHub
- URL: https://github.com/lostmsu/pink-trombone
- Owner: lostmsu
- License: mit
- Created: 2021-07-28T04:36:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T04:59:30.000Z (almost 5 years ago)
- Last Synced: 2024-10-13T08:53:18.556Z (over 1 year ago)
- Language: Rust
- Size: 97.7 KB
- Stars: 27
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pink Trombone
[](https://crates.io/crates/pink-trombone/)
This is a revised version of the Pink Trombone speech
synthesizer originally developed by Neil Thapen in 2017.
The original source code was modularized and converted to TypeScript.
Then the TypeScript code was converted to Rust.
Pink Trombone uses two-dimensional
[digital waveguide synthesis](https://en.wikipedia.org/wiki/Digital_waveguide_synthesis)
to synthesize human speech sounds.
**Online demo**: [chdh.github.io/pink-trombone-mod](https://chdh.github.io/pink-trombone-mod)
Screenshot:

# Sample code
You can easily connect Pink Trombone to any audio framework, that accepts
`f32` inputs. [An example](examples/pink-trombone.rs) for
[rodio](https://github.com/RustAudio/rodio).
## Bibliographic references cited by Neil Thapen
- Julius O. Smith III, "Physical audio signal processing for virtual musical instruments and audio effects."
https://ccrma.stanford.edu/~jos/pasp/
- Story, Brad H. "A parametric model of the vocal tract area function for vowel and consonant simulation."
The Journal of the Acoustical Society of America 117.5 (2005): 3231-3254.
http://sal.arizona.edu/sites/default/files/story_jasa2005.pdf
- Lu, Hui-Ling, and J. O. Smith. "Glottal source modeling for singing voice synthesis."
Proceedings of the 2000 International Computer Music Conference, 2000.
- Mullen, Jack. Physical modelling of the vocal tract with the 2D digital waveguide mesh.
PhD thesis, University of York, 2006.
http://www-users.york.ac.uk/~dtm3/Download/JackThesis.pdf