UST file format

Hello

I am trying out a MusicXml to UST converter, so i can easily import music and lyrics from other sources.
Does somebody know where to find the specs of the UST file format?

Thank you very much

UST files are for UTAU, and I’m not aware of any formally documented specification for them.

You can use UtaFormatix to convert your MusicXML directly to SVP format, or check the source code for how to read a UST programmatically.

https://sdercolin.github.io/utaformatix3/

Thank you very much

It’s probably easier to just open a UST file in a text editor and examine it. The format appears to be:

<header>
<note 1>
<note 2>
...
<note n>

USTs with multiple tracks would be more complex, but I’m too lazy to look for one . :wink:

Here’s the header from a file I found. Only the Tempo and Tracks can really be derived from the MusicXML, and perhaps the ProjectName:

[#VERSION]
UST Version1.2
[#SETTING]
Tempo=149.00
Tracks=1
ProjectName=Mangetsu no Jikkenshitsu - Main
VoiceDir=%VOICE%Kyohakushi ALiCE AKUi Edition
OutFile=Main.wav
CacheDir=Mangetsu no Jikkenshitsu - Main.cache
Tool1=wavtool.exe
Tool2=resampler.exe
Mode2=True
Autoren=True
MapFirst=False

For the notes, the Length and Lyric would come from the MusicXML file. The remainder would be defaults, since they don’t really have equivalents in MusicXML unless you wanted to try to capture amplitude changes. I assume that a Lyric of R is a rest:

Here’s a note from the same file:

[#0010]
Length=360
Lyric=R
NoteNum=64
PreUtterance=
Intensity=100
Modulation=0
PBW=0,100,50
PBY=-19.3,0,
PBS=0
Envelope=0,5,118.3,0,100,100,0,%,0

If you can parse MusicXML, the UST should be easy-peasy! :sunglasses:

「いいね!」 1

こんにちは。
ustの仕様についてはユーザー互助会Wikiが詳しいです。
以下のページはUTAUプラグイン向けの解説のため、厳密にはustそのものの仕様ではありませんが、「データ形式」以降の説明は参考になるかもしれません。

「いいね!」 1