From 9a85bff309dc6a3dba630e049d9846df2a81ff7d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 15 Mar 2016 19:53:54 +0100 Subject: more sync to also suppot iPhones --- utilities/blinkenrocket.py | 4 ++-- 1 file 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)) -- cgit v1.2.3