https://aliencoder.tistory.com/33
IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable `--NotebookApp.iopub_data_rate_limit`. Current values: NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec) NotebookApp.rate_limit_window=3.0 (secs)
new => terminal => 다음 명령어 입력 후 새로운 노트북 실행
jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10


matplotlib 으로 진폭을 시각화한 이미지

진폭은 소리의 크기를 나타내는 것
가령 남자와 여자 소리를 구분해내려면 주파수로 변환을 해야 함
-> 이때 필요한 것이 푸리에 변환
(푸리에 변환을 사용하는 근본적인 이유는 time domain에서 해석하기 힘든 신호를 frequency domain에서 쉽게 해석할 수 있기 때문)
fft: 고속 푸리에 변환(Fast Fourier Transform, FFT). 전체에 대해 푸리에 변환을 하는 것. 해당 파일의 주파수 성분에 대해서만 알 수 있고 어느 시점에 존재하는지 알 수 없음.
sftf: short time fourier trasform. sftf 가 나온 이유.
- n_fft: 주파수 해상도
- win_length: 시간 해상도
- hop_length:
스펙트로그램(Spectrogram): sftf 를 3차원으로 표현한 시각화 도구. 파형, 스펙트럼의 특징이 결합된 것. x축은 시간, y축은 주파수, z축은 진폭을 나타냄.