Skip to content

Instantly share code, notes, and snippets.

View taroushirani's full-sized avatar
😷

Tarou Shirani taroushirani

😷
View GitHub Profile
@taroushirani
taroushirani / consonant_invariant_tempo_shift_data_augmentation2.py
Created January 4, 2024 14:39
Tempo-shift data augmentation with preserved consonant duration
#! /usr/bin/python
import argparse
from glob import glob
import logging
import os
from os.path import join, basename, splitext
import re
import sys
from tqdm import tqdm
@taroushirani
taroushirani / nnsvs_kurobousuku_ai_song_db_dev_48k_world_training.ipynb
Created July 18, 2023 12:53
nnsvs_kurobousuku_ai_song_db_dev_48k_world_training
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@taroushirani
taroushirani / nnsvs_kurobousuku_ai_song_db_dev_48k_world_training.ipynb
Created July 16, 2023 16:01
nnsvs_kurobousuku_ai_song_db_dev_48k_world_training
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@taroushirani
taroushirani / nnsvs_dev20220717_oniku_kurumi_utagoe_db_dev_latest_training_20220717.ipynb
Created July 24, 2022 02:18
nnsvs_dev20220717_oniku_kurumi_utagoe_db_dev_latest_training_20220717
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@taroushirani
taroushirani / spsvsmod.py
Created May 3, 2022 07:30
CLI for NNSVS packed model
#! /usr/bin/python
import argparse
import logging
from nnmnkwii.io import hts
from nnsvs.dsp import bandpass_filter
from nnsvs.gen import (
gen_spsvs_static_features,
gen_world_params,
postprocess_duration,
@taroushirani
taroushirani / spsvs_sample.py
Created April 18, 2022 13:10
Sample script for SPSVS class
#! /usr/bin/python
import argparse
import logging
from nnmnkwii.io import hts
from nnsvs.svs import SPSVS
import numpy as np
import os
from os.path import expanduser, exists, join
import sys
@taroushirani
taroushirani / make_graph.py
Last active February 13, 2022 12:17
Make graphs of learning curves from NNSVS outputs
# /usr/bin/python
import argparse
import sys
import os
from os.path import basename, expanduser, join
import glob
import re
import pandas as pd
import matplotlib.pyplot as plt
@taroushirani
taroushirani / ust2xml.py
Last active December 12, 2021 12:44
Convert from UST file to MusicXML file.
#! /usr/bin/python
import argparse
import sys
from tqdm import tqdm
from os.path import expanduser
import utaupy as up
import music21 as m21
def convert_lyric(lyric, table):
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@taroushirani
taroushirani / nnsvs_oniku_kurumi_utagoe_db_official_recipe.ipynb
Created December 31, 2020 10:33
nnsvs_oniku_kurumi_utagoe_db_official_recipe
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.