Python: combining making two scripts into one
- by Alex
I have two separately made python scripts one that makes a sine wave sound based off time, and another that produces a sine wave graph that is based off the same time factors. I need help combining them into one running file.
Here's the first:
from struct import pack
from math import sin, pi
import time
def au_file(name, freq, freq1, dur, vol):…