summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'utilities')
-rw-r--r--utilities/blinkenrocket.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py
index 87af62a..d9aae92 100644
--- a/utilities/blinkenrocket.py
+++ b/utilities/blinkenrocket.py
@@ -85,8 +85,9 @@ class modem:
tmpdata.append(chr(self.hammingCalculateParity2416(ord(self.data[index]),ord(self.data[index+1]))))
self.data = tmpdata
# generate the audio itself
- # add some sync signal in front
- sound = self.silence(4096) + self.generateSyncSignal(4096)
+ # add 420ms of sync signal in front
+ # (some sound cards take a while to produce a proper output signal)
+ sound = self.generateSyncSignal(1200)
# process the data and insert sync signal every 10 bytes
for byte in self.data:
sound += self.modemcode(ord(byte))