MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / toJson

Method toJson

data_gen/tts/data_gen_utils.py:264–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 self.tier_list.append(tier)
263
264 def toJson(self):
265 _json = OrderedDict()
266 _json["file_type"] = self.file_type
267 _json["xmin"] = self.xmin
268 _json["xmax"] = self.xmax
269 _json["size"] = self.size
270 _json["tiers"] = self.tier_list
271 return json.dumps(_json, ensure_ascii=False, indent=2)
272
273
274def get_mel2ph(tg_fn, ph, mel, hparams):

Callers 1

get_mel2phFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected