Skip to content

Instantly share code, notes, and snippets.


Toru Taniguchi nitaruto

View GitHub Profile
nitaruto /
Last active January 27, 2022 08:57
install memo of git-ghost on Ubuntu 16.04
sudo apt-get install golang

# set in ~/.bashrc like:
export GOPATH=$HOME/work/go
export PATH=$GOPATH/bin:$PATH

mkdir -p $GOPATH
go get
go1.16 download
nitaruto / a_weight_fir_16k.txt
Last active September 15, 2021 06:34
A-weighting filter (16kHz sampling) for SoX. Filter coefficient was picked up from FaNT (
View a_weight_fir_16k.txt
nitaruto /
Created August 26, 2021 15:18
compare x ** p vs np.exp(p * np.log(x))
#!/usr/bin/env python3
import numpy as np
import timeit
def setup(N):
x = np.random.rand(N)
return x
def pow1(x, p):