View demo_kernel_kmeans.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View kernel_kmeans.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""Clustering with Kernel K-means.""" | |
# Author: Mathieu Blondel <mathieu@mblondel.org> | |
# Author: Akira Tamamori | |
# License: BSD 3 clause | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from sklearn.base import BaseEstimator, ClusterMixin |
View diffusion_model_book_2_2_score_based_model.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View config_gdrive.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Configuration for Benzaiten Starter Kit ver. 1.0 | |
# Copyright (C) 2022 by Akira TAMAMORI | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
View psgui_record_anasyn.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""PySimpleGUIにより音声を録音し、音声の分析合成を実施する. | |
波形とスペクトログラムもプロット可能. | |
""" | |
import queue | |
import sys | |
import threading | |
import time | |
import librosa # 音声分析のライブラリ | |
import matplotlib.pyplot as plt # グラフ描画のライブラリ |
View pysimplegui_anasyn_recog.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""PySimpleGUIにより音声を録音し、音声の分析合成を実施する. | |
波形とスペクトログラムもプロット可能. | |
""" | |
import librosa # 音声分析のライブラリ | |
import matplotlib.pyplot as plt # グラフ描画のライブラリ | |
import numpy as np | |
import PySimpleGUI as sg # GUI構築のライブラリ | |
import pysptk # 音声分析合成のライブラリ | |
import sounddevice as sd # 録音・再生系のライブラリ | |
import soundfile as sf # 読み込み・書き出しのライブラリ |
View training_sfe3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""Training script for Sinusoidal Frequency Estimation by Gradient Descent. | |
Copyright (C) 2022 by Akira TAMAMORI | |
Copyright (C) 2022 by @xiao_ming | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
View training_sfe5.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View training_sfe4.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View sfe_config2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SFE: | |
root_dir: "/work/tamamori/oscillator/" | |
data_dir: "data/" | |
feature: | |
sample_rate: 16000 # サンプリング周波数 | |
frame_length: 1024 # 分析窓長 | |
hop_length: 512 # ホップ長 | |
model: |
NewerOlder