Skip to content

Instantly share code, notes, and snippets.

View ein-setting.el
;; -*- mode: emacs-lisp; coding: utf-8-unix -*-
;; 1. jupyterをインストール: pip3 install jupyter
;; 2. ipyparallelもインストール: pip3 install ipyparallel
;; 3. jupyter-notebookを起動
;; 4. M-x ein:run を実行して ipynbを作成したいフォルダを指定
;; 5. ノートブック一覧から [Open]をクリックする
;; 6. ノートブックの保存はC-x C-s or C-x C-w
;; 7. jupyterを終了するときは M-x ein:stop
View flymake-posframe.el
;;; flymake-posframe.el --- Display flymake diagnostics at point -*- lexical-binding: t; -*-
;; Copyright (C) 2018 Aya Igarashi
;; Copyright (C) 2020 by Akira TAMAMORI
;; Author: Aya Igarashi <ladiclexxx@gmail.com>
;; URL: https://github.com/Ladicle/flymake-posframe
;; Keywords: convenience, languages, tools
;; Version: 1.0.0
;; Package-Requires: ((emacs "26.1") (posframe "0.4.2"))
@tam17aki
tam17aki / init-lsp.el
Last active Aug 14, 2020
settings of lsp-mode
View init-lsp.el
;; -*- mode: emacs-lisp; coding: utf-8-unix -*-
;; 補完はC-M-i (M-TAB) の elpy-company-backendsが本命
;; もしくはC-M-/ のdabbrev-completion or M-/ の hippie-expand
;; 当該ファイルのあるフォルダでlspを有効化するときはlsp-workspace-folders-add
(require 'lsp-mode)
(setq lsp-log-io nil)
(setq lsp-trace nil)
@tam17aki
tam17aki / audio_tools.py
Created Jul 26, 2020 — forked from kastnerkyle/audio_tools.py
Audio tools for numpy/python. Constant work in progress.
View audio_tools.py
raise ValueError("DEPRECATED/FROZEN - see https://github.com/kastnerkyle/tools for the latest")
# License: BSD 3-clause
# Authors: Kyle Kastner
# Harvest, Cheaptrick, D4C, WORLD routines based on MATLAB code from M. Morise
# http://ml.cs.yamanashi.ac.jp/world/english/
# MGC code based on r9y9 (Ryuichi Yamamoto) MelGeneralizedCepstrums.jl
# Pieces also adapted from SPTK
from __future__ import division
import numpy as np
@tam17aki
tam17aki / feat_librosa_gla.py
Last active Sep 30, 2020
librosaのGriffin-Limアルゴリズムで無矛盾位相復元
View feat_librosa_gla.py
#!/usr/bin/env python3
# MIT License
# Copyright (C) 2020 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,
@tam17aki
tam17aki / feat_fo_pyin.py
Last active Jul 23, 2020
pYINによる基本周波数推定
View feat_fo_pyin.py
#!/usr/bin/env python3
# MIT License
# Copyright (C) 2020 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,
@tam17aki
tam17aki / feat_fo_yin.py
Last active Jul 23, 2020
YINによる基本周波数推定
View feat_fo_yin.py
#!/usr/bin/env python3
# MIT License
# Copyright (C) 2020 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,
@tam17aki
tam17aki / pysox_tremolo.py
Last active Jul 14, 2020
PySoXを用いた音声情報処理シリーズ トレモロ編
View pysox_tremolo.py
#!/usr/bin/env python3
""" 音声情報処理 n本ノック !! """
# Copyright (C) 2020 by Akira TAMAMORI
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@tam17aki
tam17aki / pysox_bandpass_bandreject.py
Last active Jul 14, 2020
PySoXを用いた音声情報処理シリーズ バンドパスフィルタ / バンドリジェクトフィルタ編
View pysox_bandpass_bandreject.py
#!/usr/bin/env python3
""" 音声情報処理 n本ノック !! """
# Copyright (C) 2020 by Akira TAMAMORI
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@tam17aki
tam17aki / pysox_lowpass-highpass.py
Last active Jul 14, 2020
PySoXを用いた音声情報処理シリーズ ローパスフィルタ/ハイパスフィルタ編
View pysox_lowpass-highpass.py
#!/usr/bin/env python3
""" 音声情報処理 n本ノック !! """
# Copyright (C) 2020 by Akira TAMAMORI
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
You can’t perform that action at this time.