Commit Graph

218 Commits

Author SHA1 Message Date
Brian Small 6da2ca1b2f Fixed a segfault which would occur when the size of possibleRuleChanges was less than 3 (maxReplacementCount) 2017-11-22 01:46:09 -08:00
Daniel Wolf b2f52824b3 Added --consoleLevel option. Default value is ERROR, not WARN. 2017-09-13 20:39:52 +02:00
Daniel Wolf 223244ed8c Added --machineReadable flag
Handling all stderr output through logging sinks
2017-09-12 22:38:15 +02:00
Daniel Wolf f0d3364213 Made ProgressBar destruction behavior configurable 2017-09-12 20:23:48 +02:00
Daniel Wolf 1511f0a9e0 Added logging functions 2017-09-12 20:23:48 +02:00
Daniel Wolf 55cf80e40b Refactoring: Made imports more specific 2017-09-12 19:29:10 +02:00
Daniel Wolf 4c0d706857 Refactoring: split logging code into individual files 2017-09-12 19:29:10 +02:00
Daniel Wolf 24e8da4474 Moved escapeJsonString to stringTools 2017-09-12 18:57:49 +02:00
Daniel Wolf d705a0c0ee Introduced parameter class ExporterInput 2017-09-12 18:57:49 +02:00
Daniel Wolf 1fb2eb9024 Fixed JSON output for non-ASCII filenames
When exporting to JSON, the "soundFile" string wasn't correctly encoded if it contained non-ASCII characters.
In this case, the resulting JSON was invalid and couldn't be parsed.
2017-08-15 21:05:18 +02:00
Daniel Wolf 5f451feb00 Made entire application Unicode-aware
All 8-bit strings are UTF-8-encoded now.
2017-08-15 20:47:05 +02:00
Daniel Wolf dd1108b6cd Removed BOM from all code files 2017-08-01 18:01:21 +02:00
Daniel Wolf 7330003f24 Renamed to Rhubarb Lip Sync (no hyphen) 2017-07-09 11:26:28 +02:00
Daniel Wolf 662fa9c7a2 Added --output CLI option 2017-07-01 21:44:58 +02:00
Daniel Wolf d1485d45d4 Changed animation rule for AW sound 2017-05-09 20:52:24 +02:00
Daniel Wolf 50a27e7da0 Optimized animation for words containing "to" 2017-03-26 22:17:26 +02:00
Daniel Wolf e94f7b9aeb Animating ER sound as E shape, not B 2017-03-26 22:17:25 +02:00
Saurabh Shrivastava 1c72009019 Fix missing header file for Boost version.
Additionally, added check for the presence of BOOST_VERSION macro.
2017-03-21 01:22:00 +05:30
Daniel Wolf c410c00214 Fixed #7: Incorrect animation before some pauses 2017-02-08 19:38:41 +01:00
Daniel Wolf def82a0ee6 Fixed #6: Crash with message "Time range start must not be less than end." 2017-02-02 20:48:30 +01:00
Daniel Wolf b987071009 Preferring wide-open mouths 2017-01-03 11:17:15 +01:00
Daniel Wolf 05a0050d52 Corner case: Preserving short shapes cut in half by timing optimization 2017-01-03 10:43:26 +01:00
Daniel Wolf cbf5c53c32 Refactored code for timing optimization 2017-01-03 10:06:40 +01:00
Daniel Wolf d3cf642a43 Added empty TimeRange constructor 2017-01-03 09:20:51 +01:00
Daniel Wolf da11232c31 Fixed errors occurring with zero-length files 2017-01-02 10:37:31 +01:00
Daniel Wolf 3bc4384b44 Added overarching animation step that prevents long static segments
See http://animateducated.blogspot.com/2016/10/lip-sync-animation-2.html?showComment=1478861729702#c2940729096183546458
2016-12-30 10:19:51 +01:00
Daniel Wolf 4dc9d4253e Added TimeRange.getMiddle() 2016-12-30 10:13:30 +01:00
Daniel Wolf 9c9d79c54d Enhanced ShapeRule type to carry more information and to be easier to use 2016-12-30 10:13:29 +01:00
Daniel Wolf b02f37e961 Renamed many symbols named "shapes" to "animation" to make the intent clearer 2016-12-29 15:17:45 +01:00
Daniel Wolf 876fa024ad Using D shape more often 2016-12-23 16:51:59 +01:00
Daniel Wolf a8df4ac4f5 Added --extendedShapes command-line parameter 2016-12-22 10:53:56 +01:00
Daniel Wolf 9712483a75 Improved pause animations
Previously, the pause shape could be identical to the following shape,
which meant that the mouth kept frozen at the beginning of the next word.
2016-12-21 20:57:36 +01:00
Daniel Wolf 62b6394bdf Improved timing for inbetweens 2016-12-21 20:21:12 +01:00
Daniel Wolf d777f760d5 When animating backward: Allow one non-conforming shape 2016-12-21 20:21:12 +01:00
Daniel Wolf 14969afab7 Added --quiet mode 2016-12-21 20:21:11 +01:00
Daniel Wolf fa0aff0012 G2P: Added fallback rules to prevent illegal results 2016-12-21 20:21:11 +01:00
Daniel Wolf faea06933b G2P: Fixed generated rules 2016-12-21 20:21:10 +01:00
Daniel Wolf 07fe549f42 G2P: Removing duplicate phones 2016-12-21 20:21:10 +01:00
Daniel Wolf e415d59c16 Added toAscii overload 2016-12-20 20:04:43 +01:00
Daniel Wolf 2cce8eebd9 Optimized timing at the beginning of an open or closed segment 2016-12-19 21:53:27 +01:00
Daniel Wolf 4af606ae89 Optimizing timing to make the animation less jittery and more readable 2016-12-19 21:53:02 +01:00
Daniel Wolf bdfd77bc4a Added convenience functions to TimeRange 2016-12-14 21:03:32 +01:00
Daniel Wolf c86512f73e Fixed initialization error with some compilers 2016-12-13 10:20:03 +01:00
Daniel Wolf 43cf341586 Extracted animation functions into dedicated files 2016-12-13 09:45:27 +01:00
Daniel Wolf 651521a8c1 Animation steps return entire new timeline 2016-12-13 09:45:27 +01:00
Daniel Wolf 3c134bbafe Anticipating only vowels 2016-12-13 09:45:27 +01:00
Daniel Wolf 0cf5f7f365 Improved "H" rule 2016-12-13 09:45:26 +01:00
Daniel Wolf 21bea661c1 Switched back to simple shape sets instead of shape rules
The extra information can be generated automatically.
2016-12-13 09:45:26 +01:00
Daniel Wolf a24fe8874c Added AutoJoin template parameter to timeline classes
Previously, timelines would always automatically join adjacent elements
if their values were equal. That behavior was usually desired for mouth
shapes, but not for phones, animation rules, etc.
2016-12-13 09:45:26 +01:00
Daniel Wolf 2eb0948c49 "Popping" mouth open without inbetweens 2016-12-07 19:28:22 +01:00