diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-03-15 19:53:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-03-15 19:53:54 +0100 |
commit | 9a85bff309dc6a3dba630e049d9846df2a81ff7d (patch) | |
tree | bc8181a39b376f3d7977bc8a057b737612f4d57f | |
parent | 2181289c0a97fbf70d49507ffc3de5aac02960b7 (diff) |
more sync to also suppot iPhones
-rw-r--r-- | utilities/blinkenrocket.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py index d9aae92..9671fbe 100644 --- a/utilities/blinkenrocket.py +++ b/utilities/blinkenrocket.py @@ -85,9 +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 420ms of sync signal in front + # add 1000ms of sync signal before the data # (some sound cards take a while to produce a proper output signal) - sound = self.generateSyncSignal(1200) + sound = self.generateSyncSignal(3000) # process the data and insert sync signal every 10 bytes for byte in self.data: sound += self.modemcode(ord(byte)) |