Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
m-toman committed Nov 24, 2014
1 parent 77fde3a commit cda4502
Show file tree
Hide file tree
Showing 204 changed files with 323,523 additions and 3 deletions.
66 changes: 66 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Build instructions

===========================
All platforms without SAPI5
===========================
CMake (http://www.cmake.org/) build files are provided with the package.

Linux Example:

Probably needed prerequisites:
$ sudo apt-get install g++
$ sudo apt-get install cmake

Build:
$ cmake .
$ make

Resulting libraries in ./release/lib
Resulting binaries in ./release/bin


==================
Windows with SAPI5
==================
To build the SAPI5 code for Windows, please use the provided MS Visual Studio project files (htstts.sln).

Description below:

Solution htstts
---------------
htstts.sln contains the complete solution.

Debug and Release configurations for 32- and 64-bit builds are provided for all projects.

The projects usually compile their output in subfolders of their project directory and are then prerequisites for other projects.
Visual Studio dependencies are set in the solution, so prerequisites are built first.

hts_engine and flite as backend modules are built first and produce static libraries.
These are used by the manager project to build a static manager library.
The frontends (sapi, api, cli) then incorporate the manager library.

Project flite
-------------
Compiles flite as a backend module for text analysis.
This is used as text analysis module for English.

Project hts_engine
------------------
Compiles hts_engine as a backend module for synthesis.

Project manager
---------------
Requires flite and hts_engine as backend, provides an interface to the frontend modules.

Project cli
-----------
Command-Line-Interface project.
Requires manager project.

Project sapi
------------
SAPI5 interface.
sapi/register contains a small tool for registration of a SAPI5 voice.
sapi/install contains an NSIS (Nullsoft Scriptable Install System) script to generate Windows installers for SAPI voices.
Requires manager project.

30 changes: 30 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
set (CMAKE_LEGACY_CYGWIN_WIN32 1)

cmake_minimum_required (VERSION 2.6)
project (SALB)

# compiler stuff
set (CMAKE_CXX_FLAGS "-std=c++0x")


# specify output subdirs
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release/bin)


# hts_engine
add_subdirectory (engine/synthesis/hts_engine)

# flite
add_subdirectory (engine/text/flite)

# internal text analyzer
add_subdirectory (engine/text/internal)

# manager
add_subdirectory (engine/manager)

# CLI
add_subdirectory (cli)

368 changes: 368 additions & 0 deletions COPYING

Large diffs are not rendered by default.

Loading

0 comments on commit cda4502

Please sign in to comment.