diff options
-rw-r--r-- | utilities/blinkenrocket.py | 7 | ||||
-rwxr-xr-x | utilities/modem_transmit | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py index 6dc3ea6..60f2bf2 100644 --- a/utilities/blinkenrocket.py +++ b/utilities/blinkenrocket.py @@ -169,8 +169,9 @@ class blinkenrocket(): if __name__ == '__main__': - m = modem() - m.setData(['M','U','Z','Y']) - print m.generateAudioFrames() + m = modem(parity=False) + #print list(open(sys.argv[1]).read()) + m.setData(list(open(sys.argv[1]).read())) + m.saveAudio(sys.argv[2]) diff --git a/utilities/modem_transmit b/utilities/modem_transmit index 6101641..8f85c78 100755 --- a/utilities/modem_transmit +++ b/utilities/modem_transmit @@ -2,7 +2,7 @@ OUT="$(mktemp)" -python modem.py =(echo -n "$1"$'\0') $OUT +python blinkenrocket.py =(echo -n "$1"$'\0') $OUT case "$(uname -s)" in Darwin) |