I just released a new version of my processing freetts wraper
in this version I added two new speak methods that allow to choose the speaker the voice is coming from
tts.speak( "I am in the center" ); tts.speakLeft( "I am on the left" ); tts.speakRight( "I am on the right" );
go to the ttslib project page and download a copy. Installation works as usual by unzipping the file in your sketchbook/library folder.
I gave some more code and love to my animator-library for processing and I think it has improved enough to release a new version
Animators can now be added to a Sequence
Sequence s = new Sequence(); s.addAnimator( new LinearAnimator( 500,100,200 )); s.addAnimator( new SquareAnimator( 200, 200, 100 ));
the sequence can be started using s.start() and the value is fetched using s.get()
A simpler form of defining sequences is to use the string-parser
the same Sequence as above can be defined using
Sequence s = Sequence.parse( "S100,L500->200,Q200->100");
The animators are separated with a comma, each block starts with a letter and one or two parameter
- "S" is the start value
- "L" defines a LinearAnimator the first integer defines the time the second one the target value
- "Q" defines a SquareAnimator the first integer defines the time the second one the target value
- "R" defines a RootAnimator the first integer defines the time the second one the target value
- "D" defines a Delay in milliseconds
I also added a bunch of new Examples that show how to use the new features
As always feedback is very welcome!
I just released a new version of my processing freetts wrapper.
In this version the pitch of the voice can be altered by using
tts.setPitch( 1000 ); // set the base frequency to 1000 hertz tts.setPitchShift( 1.2 ); // how much should the pich change over time? tts.setPitchRange(100); // in this example the pitch will vary between 1000 and 1100 hertz
Go to the ttslib project page and download a copy. Install as unsual by unzipping it into your sketchbook/libraries Folder.read more ...