gb_test2

view gensine @ 0:cacfa0888410

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Jan 2019 04:16:47 +0200
parents
children
line source
1 #!/usr/bin/python
3 import math
5 def main():
6 s = 16
7 x = 0.0
8 dx = 2.0 * math.pi / 256.0
9 for i in range(256):
10 sx = math.sin(x) * s# + s
11 print "\tdb ", int(sx)
12 x += dx
14 main()