login

online now

We have 77 guests and no members online

search

 

speech synthesis



GinSing contains complete support for synthesized speech for the Sounding IC. The Soundgin IC has exceptional voice synthesis, allowing on-the-fly changes to pitch (and musical note), speed and volume. For example, you may use the dynamic pitch control in response to a temperator sensor on the Arduino, as well as singing the spoken phrase from "Its Cold" to "Its 100 degrees!" at various singing notes.

The method for producing speech involves creating a phrase, which is a string of allphones, inline optional inflections, and inline optional timing information that is executed using the speak() command. A phrase can contain just a single word or an entire orration. Allophones are phonemes that are blended smoothly over time to create natural sound speech synthesis. Inflections produce variation in pitch, speed, and volume that can be embedded into a phrase to effect a single allophone. You can also dynamically control pitch, volume, and speed in general with additional function calls. Here is the code that that makes the announcement on our website:


  GSAllophone phrase[] = {_IE,_A,_M,_BENDDN ,_J,_I ,_NE ,_SE ,_PITCHDN,_I ,_PITCHDN,_NGE,_PA0,_ENDPHRASE };

  speak (phrase);


Speech is defined in GinSing through a series of speech fragments, commonly referred to as phonemes. There is not a direct correspondence from written word to spoken word, and GinSing does not provide this tranlation mechanism. There are however, several programs that can do this translation offline that you can use to create and tweak your phrases which generally work better than built-in on chip systems.



phoneme

sounds like

phoneme

sounds like





_A

Hat, Fast, Fan

_NE

Nip, Danger, Thin

_AA

Father, Fall

_NO

No, Snow, On

_AE

Gate, Ate, Ray

_NGE

Think, Ping

_AIR

Hair, Stair, Repair

_NGO

Hung, Song

_AU

Hot, Clock, Fox

_OE

Go, Hello, Snow

_BE

Bear, Bird, Beed

_OI

Boy, Toy, Voice

_BO

Bone, Book Brown

_OO

Book, Could, Should

_EB

Cab, Crib, Web

_OU

Our, Ouch, Owl

_OB

Bob, Sub, Tub

_OR

Corn, Four, Your

_CH

Church, Feature, March

_PE

People, Computer

_DE

Deep, Date, Divide

_PO

Pow, Copy

_DO

Do, Dust, Dog

_R

Ray, Brain, Over

_ED

Could, Bird

_SE

See, Vest, Plus

_OD

Bud, Food

_SO

So, Sweat

_E

Met, Check, Red

_SH

Ship, Fiction, Leash

_EE

See, Even, Feed

_T

Part, Little, Sit

_ER

Fir, Bird, Burn

_TH

Thin, month

_F

Food, Effort, Off

_THH

There, That, This

_GE

Get, Gate, Guest,

_TS

Parts, Costs, Robots

_GO

Got, Glue, Goo

_U

Luck, Jump, Plus

_HE

Help, Hand, Hair

_UE

Food, June

_HO

Hoe, Hot, Hug

_V

Vest, Even, Twelve

_I

Sit, Fix, Pin

_W

Wool, Sweat

_IE

Mice, Fight, White

_Y

Yes, Yarn, Million

_J

Dodge, Jet, Savage

_Z

Zoo, Zap

_KE

Can't, Clown, Key

_ZH

Azure, Treasure

_KO

Comb, Quick, Fox

_PA0

12 millisecond pause

_EK

Speak, Task

_PA1

48 millisecond pause

_OK

Book, Took, October

_PA2

62 millisecond pause

_LE

Lake, Alarm, Lapel

_FD0

1 millisecond fixed delay

_LO

Clock, Plus, Hello

_FD1

100 millisecond fixed delay

_M

Milk, Famous, Broom

_FD2

600 millisecond fixed delay



inflection

description



_SPEEDUP temporarily speed up the pronounciation of the next spoken allophone
_SPEEDDN temporarily slow down the pronunciation of the next spoken allophone
_VOLUP temporarily increase the volume of the next spoken allophone
_VOLDN temporarily decrease the volume of the next spoken allophone
_PITCHUP temporarily increase pitch of the next spoken allophone
_PITCHDN temoprarily decrease pitch of the next spoken allophone
_BENDUP temporarily smoothly increates the pitch of the next spoken allophone
_BENDDN temporarily smoothly decraase the pitch of the next spoken allophone


allophone dictionary

Click the following link to view 1400 commonly used words converted into allophones for direct entry into GinSing. You can use these words to construct a phrase array as in the example above. Make sure to terminate the array with the _ENDPHRASE token, and place pauses between words if desired.


view | print the allophone dictionary