Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/going-digital/Talkie
Speech library for Arduino
https://github.com/going-digital/Talkie
Last synced: 3 months ago
JSON representation
Speech library for Arduino
- Host: GitHub
- URL: https://github.com/going-digital/Talkie
- Owner: going-digital
- Created: 2012-06-25T09:57:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-11-24T06:20:42.000Z (almost 5 years ago)
- Last Synced: 2024-06-30T18:09:48.981Z (4 months ago)
- Language: Arduino
- Size: 2.01 MB
- Stars: 304
- Watchers: 40
- Forks: 113
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-arduino - Talkie - Speech library for Arduino (Libraries)
- awesome-arduino - Talkie - Speech library for Arduino (Libraries)
README
Talkie
======Speech library for Arduino
Quick start
-----------
[Download the .zip file from the link at the top of the page or click here.](https://github.com/going-digital/Talkie/zipball/master) Install the "talkie" directory in your Arduino / libraries directory. Restart the Arduino software, and pick one of the examples from the Talkie section. Program it onto a 168 or 328 based Arduino (Uno, Duemilanove or Diecimila - not a Mega or Leonardo). Connect headphones or an audio amplifier to digital pin 3.Note that currently, Talkie only on 168 or 328 based Arduinos at 16MHz only. A reduced-CPU version for 8MHz devices with reduced speech quality is included in the [Solder Time 2 talkie project.](https://github.com/going-digital/st2_talkie)
Introduction
------------
It is a software implementation of the Texas Instruments speech synthesis architecture (Linear Predictive Coding) from the late 1970s / early 1980s, as used on several popular applications:
* Texas Instruments Speak & Spell family of educational products
* Texas Instruments TI-99/4A Speech System expansion
* Acorn BBC Micro Speech Synthesiser expansion
* Atari arcade games (eg. Star Wars series, Indiana Jones, Gauntlet)
* Apple ][ Echo 2
* IBM PS/2 Speech AdapterTalkie comes with over 1000 words of speech data that can be included in your projects. Most words only take a fraction of a KB, so you can add plenty.
How to use the library
----------------------
See the examples. Any commented data lines in the examples can be un-commented and used. Note that some speech libraries come with word endings such as '-S', '-Z', '-TEEN' that can be used to increase vocabulary.Word dictionaries
-----------------
* Vocab_UK_Acorn - a male UK english voice. 165 words related to home computing. 16K bytes in total. Data originally part of Acorn Computers Speech Synthesiser, and famously voiced by BBC's Kenneth Kendall.* Vocab_US_Clock - a female US english voice. 35 words related to time of day. 4K bytes in total. Data of unknown origin from ROM serial number VM71003A.
* Vocab_US_TI99 - a deep male US english voice. 360 words related to home computing. 32K bytes in total. Data originally part of Texas Instruments TI-99/4A Speech System.
* Vocab_US_Male - a male US english voice. 206 words related to aeronautics. 16K bytes in total. Data of unknown origin. ROM serial number VM61002.
* Vocab_US_Male_Large - a male US english voice. 402 words related to aeronautics. 48K bytes speech data. Data of unknown origin. ROM serial number VM61003/4/5.
* Demo_Toms_Diner - demo of the work-in-progress Talkie compressor. 24K bytes music data. Tom's Diner was written/recorded by Suzanne Vega [(Amazon UK)](http://www.amazon.co.uk/Solitude-Standing-Suzanne-Vega/dp/B000026GZQ) [(Amazon US)](http://www.amazon.com/Solitude-Standing-Suzanne-Vega/dp/B000002GHB) or look for 'Solitude Standing' on your preferred music store. (Only this album contains the original a capella version)
The Audio output
----------------
Talkie sets up a special very high speed PWM, so audio can be taken directly from pin 3 with no other filtering.Note that Talkie uses Timers 1 and 2 for this purpose, which may conflict with PWM outputs or other libraries.
Future plans
------------
1. I'm working on an encoder for generating your own recordings (See demo). Its not producing results of the quality I would like, but things are improving. For now Qboxpro, an unsupported old Windows application, can produce Talkie compatible data streams.
2. Improve compatibility with other Arduinos and AVR devices
3. Implement rule based infinite vocabulary synthesis from Computer Concepts Speech ROM and Texas Instruments Terminal Emulator 2.Important facts
---------------
* LPC currently outputs speech sounds on digital pin 3 only. This is currently hard-wired within the library.
* Tivoice uses Timer 1 and Timer 2, which can break analogWrite(), and some other libraries.Thanks
------
* For motivation and encouragement: Linx Electronics Club, esp. Rob, Shaw, Steve
* Thanks to the original Texas Instruments speech group: Larry Brantingham, Paul Breedlove, Richard Wiggins and Gene Frantz
* Thanks to the emulator-heads for their extensive documentation and coefficient tables: Lord Nightmare, Kevtris and all [MAME](http://mamedev.org) and [MESS](http://www.mess.org) contributors
* Thanks to the authors of low bandwidth open source speech codecs for their inspirational source code: [Asterisk](http://www.asterisk.org), [Codec2](http://codec2.org), [Hawkvoice](http://hawksoft.com/hawkvoice), [Speex](http://www.speex.org)
* Scene greets: [LFT](http://www.linusakesson.net), [Mahoney](http://www.livet.se/mahoney)This library was developed using [Arduino](http://arduino.cc) and [Freemat](http://freemat.sourceforge.net).