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 -*- | |
import wx | |
import numpy as np | |
import pyaudio | |
import pyworld as pw | |
import threading | |
import queue | |
from pynput.keyboard import Key, Controller, Listener |
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 -*- | |
# ============================================================================= | |
# どうがんばってもブツブツ途切れ途切れになってしまう。 | |
# 方法が悪いだけ?キューに積んでくだけじゃ足りない? | |
# よく分からん。とりあえずsptk使うのは中止。worldで行こう。 | |
# ============================================================================= | |
import numpy as np | |
import pyaudio |
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 -*- | |
import wx | |
import numpy as np | |
import pyaudio | |
import pyworld as pw | |
import threading | |
import queue | |
from pynput.keyboard import Key, Controller, Listener |
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 -*- | |
import wx | |
import numpy as np | |
import pyaudio | |
import pyworld as pw | |
import threading | |
import datetime | |
from pynput.keyboard import Key, Controller, Listener |
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 -*- | |
# ============================================================================= | |
# 参考ページ:http://nbviewer.jupyter.org/github/r9y9/pysptk/blob/master/examples/Speech%20analysis%20and%20re-synthesis.ipynb | |
# ============================================================================= | |
import numpy as np | |
import pysptk as sptk | |
import matplotlib.pyplot as plot | |
import librosa |
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 -*- | |
import numpy as np | |
import pyaudio | |
import pyworld as pw | |
import pysptk as sptk | |
import wave | |
import time | |
import threading | |
import struct | |
import matplotlib.pyplot as plot |
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 -*- | |
import numpy as np | |
import pyaudio | |
import pyworld as pw | |
import time | |
import threading | |
from pynput.keyboard import Key, Controller, Listener | |
#from scipy.io import wavfile |
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 -*- | |
import cv2 | |
import numpy as np | |
import time | |
cap=cv2.VideoCapture(1) | |
cap.set(cv2.CAP_PROP_FPS,30) #カメラのFPSを30に指定 | |
cap.set(cv2.CAP_PROP_FRAME_WIDTH,360) #カメラ映像の横幅を360に指定 | |
cap.set(cv2.CAP_PROP_FRAME_HEIGHT,240) #カメラ映像の縦幅を240に指定 |
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
#include<stdio.h> | |
#include<math.h> | |
#define PI 3.141592653589793 | |
#define R0 100.0 | |
#define X0 100.0 | |
#define E 100.0 | |
#define SIZE 81 |
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
#include<stdio.h> | |
#include<math.h> | |
#define PI 3.141592653589793 | |
double rad; | |
int i; | |
double macsin(int deg, int n) { | |
double tmp; |
NewerOlder