You can use this code with OBS to show the subtitle and use Vtuber studio to show Live2D by following this guide.
-
Download OBS, Vtuber studio, EarTrumpet, VoiceMeeter banana(after you install VoiceMeeter banana you'll also need to restart your PC) and open VoiceVox.
-
For VoiceMeeter banana, we need to change voice output and voice input first.
-
Open the Control Panel by pressing the
Windows key
and typingControl Panel
. In the upper right corner, click onView by
and selectLarge icon
. -
Click on
Sound
, scroll down until you seeVoiceMeeter Input
, and then click on it. Finally, clickSet Default
. -
Click on
Recording
at the top, scroll down until you seeVoiceMeeter Aux Output
, click on it, and then clickSet Default
. -
The first time the program is opened, it would look like this.
-
Click on each
A1
to deselect them on all five panels. Similarly, do the same withB1
. It should now look like this. -
On the upper right corner, click on
A1
and select your speaker output (WDM is recommended). -
Now, click on
A1
for all VIRTUAL INPUTS. However, for VOICEMEETER AUX, you'll also need to click onB1
.
-
-
For Vtuber Studio.
-
Open the settings by double-clicking on the screen and then click on the gear icon located on the left side.
-
Scrolldown until you see
Microphone Setting
checkUse microphone
and selectVoiceMeeter Output (VB-Audio VoiceMeeter VAIO)
by clicking on theMicrophone
. -
Go to Model setting at the top left corner(a people icon with a gear). Scroll down until you see
Mouth Open
. Click oninput
and select or typeVoiceVolumePlusMouthOpen
. -
Optional: In
Microphone Setting
, I recommend settingVolume gain
to 20 and everything else is set to 0.
-
-
For OBS, we'll add subtitles to display the text, and for Vtuber studio, we'll use it to show Live2D.
-
To add a subtitle, press
+
in the source, selectText(GDI+)
, and name it asSubtitle
. -
After adding the text source, a window will appear like this. You'll need to check
Read from file
and then clickBrowse
. -
Navigate to
subtitle.txt
, which is located inside thetext_log
folder, and select it. -
Customize and configure the subtitle file according to your preferences, (For my recommendation, I suggest reducing the size of the text, setting
Alignment
to center andVerticle alignment
to center, right-clicking on the text, navigating toTranform
and selectingCenter Horizontally
. Also, checkOutline
, set the outline size to 10-14, and change the outline color to black by clicking onSelect color
). -
To add Vtuber Studio, press
+
in the source, selectWindow Capture
and name it asLive2D
-
After adding the video source, a window will appear like this. Click on
Window
, select[VTube Studio.exe]: VTube Studio
, onCapture Method
chooseWindows 10 (1903 and up)
, and then clickOK
. -
Right-click on the preview screen, choose
Windowed Projector (Preview)
, and resize it as your desire.
-
-
Running the code, open EarTrumpet and scroll down to the bottom you'll see
VoiceMeeter Input (VB-Audio VoiceMeeter VAIO)
, right click onPython 3.11.xx
and click onchange
icon, selectVoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX VAIO)
. -
Change your
playback/output device
by clicking on the speaker icon on the taskbar (or go towindow setting
->System
->Sound
->Choose your output device
). SelectVoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX VAIO)
first and then selcetVoiceMeeter Input (VB-Audio VoiceMeeter VAIO)
(we need to do this process to let Python recognize these playback devices). -
In Vtuber Studio, open the settings, navigate to
Microphone Setting
and click onReload
. -
Enjoy! your AI assistant!