mirror of
https://github.com/dnet/pySSTV.git
synced 2025-12-06 07:12:00 +01:00
gen_values: siplified increment operation
This commit is contained in:
parent
92fda0cd1f
commit
c29f696489
|
|
@ -81,7 +81,7 @@ class SSTV(object):
|
|||
tx = int(samples)
|
||||
for sample in xrange(tx):
|
||||
yield sin(sample * freq * factor + offset)
|
||||
offset = sample * freq * factor + offset
|
||||
offset += sample * freq * factor
|
||||
samples -= tx
|
||||
|
||||
def gen_freq_bits(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue