Skip to content

Instantly share code, notes, and snippets.

Focusing but available

Kyubyong Park Kyubyong

Focusing but available
View GitHub Profile
Kyubyong /
Created Jun 21, 2019 — forked from akey7/
Generate a .wav sound file from a NumPy array.
import numpy as np
from import write
# Samples per second
sps = 44100
# Frequency / pitch of the sine wave
freq_hz = 440.0
# Duration