summaryrefslogtreecommitdiff
path: root/utilities/blinkenrocket.py
diff options
context:
space:
mode:
authorrashfael <rashfael@isobeef.org>2016-01-31 16:45:13 +0100
committerrashfael <rashfael@isobeef.org>2016-01-31 16:45:13 +0100
commit631ccf9ba6924d5af077bf31ef84f1212b471f3d (patch)
treee479d70da4441941c8f0af89493b6d0477c8fed1 /utilities/blinkenrocket.py
parent134c20875f03d1885d0f08a8fb2717166d6e41ba (diff)
fix audio generation code
Diffstat (limited to 'utilities/blinkenrocket.py')
-rw-r--r--utilities/blinkenrocket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py
index 30f90ab..696d780 100644
--- a/utilities/blinkenrocket.py
+++ b/utilities/blinkenrocket.py
@@ -91,10 +91,10 @@ class modem:
sound += self.modemcode(ord(byte))
self.cnt += 1
if self.cnt == 10:
- sound += m.generateSyncSignal(2)
+ sound += self.generateSyncSignal(2)
self.cnt = 0
# add some sync signals in the end
- sound += m.generateSyncSignal(4)
+ sound += self.generateSyncSignal(4)
return sound
def saveAudio(self,filename):