Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats.
This commit is contained in:
parent
74dcbe8240
commit
acacb342e8
|
@ -100,6 +100,7 @@ formats/mod_native_file
|
|||
#formats/mod_shell_stream
|
||||
#formats/mod_shout
|
||||
formats/mod_sndfile
|
||||
#formats/mod_ssml
|
||||
formats/mod_tone_stream
|
||||
#formats/mod_vlc
|
||||
#languages/mod_java
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
BASE=../../../..
|
||||
|
||||
IKS_DIR=$(BASE)/libs/iksemel
|
||||
IKS_LA=$(IKS_DIR)/src/libiksemel.la
|
||||
LOCAL_CFLAGS += -I$(BASE)/libs/iksemel/include
|
||||
LOCAL_OBJS= $(IKS_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(IKS_LA): $(IKS_DIR) $(IKS_DIR)/.update
|
||||
@cd $(IKS_DIR) && $(MAKE)
|
||||
@$(TOUCH_TARGET)
|
|
@ -0,0 +1,26 @@
|
|||
<configuration name="ssml.conf" description="SSML parser config">
|
||||
|
||||
<!-- voices in order of preference -->
|
||||
<tts-voices>
|
||||
<voice name="slt" language="en-US" gender="female" prefix="tts://flite|slt|"/>
|
||||
<voice name="kal" language="en-US" gender="male" prefix="tts://flite|kal|"/>
|
||||
<voice name="rms" language="en-US" gender="male" prefix="tts://flite|rms|"/>
|
||||
<voice name="awb" language="en-US" gender="male" prefix="tts://flite|awb|"/>
|
||||
</tts-voices>
|
||||
|
||||
<!-- maps ISO language to say module -->
|
||||
<language-map>
|
||||
<language iso="en-US" say-module="en" language="en"/>
|
||||
</language-map>
|
||||
|
||||
<!-- say voices in order of preference -->
|
||||
<say-voices>
|
||||
<voice name="callie" language="en-US" gender="female" prefix="$${sounds_dir}/en/us/callie/"/>
|
||||
</say-voices>
|
||||
|
||||
<!-- map interpret-as to say macros -->
|
||||
<macros>
|
||||
<macro name="cardinal" method="pronounced" type="number"/>
|
||||
</macros>
|
||||
|
||||
</configuration>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue