mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-04 22:07:34 +00:00
gen_values: siplified increment operation
This commit is contained in:
parent
92fda0cd1f
commit
c29f696489
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue