GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - katai5plate/ust2json: Convert UTAU Sequence Text and JSON to each other. UST情報(UTAU)とJSONを相互変換します。

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
test.js
test.js
 
 
type.ts
type.ts
 
 
utils.js
utils.js
 
 

Repository files navigation

ust2json

UTAU スクリプトと JSON を相互変換します

yarn add katai5plate/ust2json
const {
  readUST,
  writeJSON,
  ustToJSON,
  writeUSTFromJSON,
  isNoteSection,
} = require("ust2json");

// UST を読み込む
const ust = readUST("./sample.ust");
// UST を JSON に変換
const json = ustToJSON(ust);

// JSON を書き出す
writeJSON("./result.json", json);

// JSON のすべての歌詞を「ぬ」に変更
const edited = json.map((element) => {
  const { section, entries } = element;
  if (isNoteSection(section)) {
    entries.Lyric = "ぬ";
    return element;
  }
  return element;
});

// 変更を加えた JSON を UST として書き出す
writeUSTFromJSON("./res.ust", edited);

About

Convert UTAU Sequence Text and JSON to each other. UST情報(UTAU)とJSONを相互変換します。

Topics

htmlhtml5javascriptjsjsonpluginustutauutau-sequence-textutaupluginvocaloid

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.