소리 파형 시각화

Python으로 배우는 음성 언어 처리

Daniel Bourke

Machine Learning Engineer/YouTube Creator

다른 소리 파형 추가

  • 새 오디오 파일: good_afternoon.wav
  • 둘 다 48 kHz
  • 모든 오디오 파일에 동일한 변환 적용
Python으로 배우는 음성 언어 처리

플롯 설정하기

import matplotlib.pyplot as plt

# Initialize figure and setup title plt.title("Good Afternoon vs. Good Morning")
# x and y axis labels plt.xlabel("Time (seconds)") plt.ylabel("Amplitude")
# Add good morning and good afternoon values plt.plot(time_ga, soundwave_ga, label ="Good Afternoon") plt.plot(time_gm, soundwave_gm, label="Good Morning", alpha=0.5)
# Create a legend and show our plot plt.legend() plt.show()
Python으로 배우는 음성 언어 처리

굿모닝 소리 파형 vs 굿애프터눈 소리 파형

Python으로 배우는 음성 언어 처리

이제 시각화해 봅시다!

Python으로 배우는 음성 언어 처리

Preparing Video For Download...