Skip to content

Instantly share code, notes, and snippets.

@kuguma
kuguma / wave_split.py
Created July 25, 2022 10:34
waveファイルを無音区間で分割して吐き出すやつ
from struct import unpack
from scipy.io import wavfile
import scipy.io
import numpy as np
import os, sys
import glob
threshold = 0
@kuguma
kuguma / install.txt
Last active April 7, 2021 12:11
Install
1. 入力系
Ctrl2Cap https://docs.microsoft.com/en-us/sysinternals/downloads/ctrl2cap
英字キーボード/Ctrl+Space切替 https://enjoypclife.net/2016/10/17/windows-10-us-keyboard-layout-japan-tips/
再起動
2. Chocolatey
choco install ConEmu git GoogleJapaneseInput rapidee slack SourceTree GoogleChrome winscp vlc foobar2000 audacity 7zip everything vscode zoom discord -y
必要に応じて ninite
#include <array>
template <typename T, typename ...Args>
inline std::array<T, sizeof...(Args)> make_array(Args &&...args) {
return std::array<T, sizeof...(Args)>{ std::forward<Args>(args)... };
}
#define MAKE_ARRAY(T, ...) decltype(make_array<T>(__VA_ARGS__)){__VA_ARGS__}
#include <typeinfo>