#!/bin/sh

export RTCSH_CWD=/localhost:5005/
export RTCTREE_NAMESERVERS="localhost:5005"

rtinject pyOpenJTalk0.rtc:text 'RTC.TimedString({time},"終了します。")'
sleep 3
rtdeact PulseAudioOutput0.rtc
rtdeact pyOpenJTalk0.rtc
rtdeact SoundPlayer0.rtc
rtdis pyOpenJTalk0.rtc:result PulseAudioOutput0.rtc:SampleInPort0
killall pulseaudiooutput
killall SoundPlayerComp
killall /usr/bin/python
