Générateur de fichier .wav à partir d'un fichier .k7 pour Thomson TO7/70.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
252 B

#!/usr/bin/env python
import sys
import os.path
import math
plot_file = open("plot.txt","w")
two_pi = 2*math.pi
for i in range(49):
data = str(127*(1+math.sin(5*two_pi*i/49)))+"\t"+str(i)+"\n"
print data