Skip to content

Commit

Permalink
add launch_sound_play arg in voicevox launch
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 authored and tkmtnt7000 committed Dec 22, 2023
1 parent 324ec87 commit 986c88e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 3rdparty/voicevox/launch/voicevox_texttospeech.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<launch>

<arg name="device" default="" />
<arg name="launch_sound_play" default="true" />
<arg name="sound_play_respawn" default="true"
doc="Respawn sound_play node or not (default: true)" />
<arg name="default_speaker" default="2"
Expand All @@ -15,7 +16,8 @@
<param name="cpu_num_threads" value="$(arg cpu_num_threads)" />
</node>

<node name="sound_play_jp"
<node if="$(arg launch_sound_play)"
name="sound_play_jp"
pkg="sound_play" type="soundplay_node.py"
respawn="$(arg sound_play_respawn)"
output="screen" >
Expand Down

0 comments on commit 986c88e

Please sign in to comment.