From 3298daecab00982f68f1461b3f0fa7b1c9a97808 Mon Sep 17 00:00:00 2001 From: nicksmadscience <53494963+nicksmadscience@users.noreply.github.com> Date: Sat, 1 Aug 2020 22:15:23 -0400 Subject: [PATCH] wow this is increasingly legit --- eas-same-encoder | 1 + same.py | 12 ++++++------ same.wav | Bin 879540 -> 879540 bytes 3 files changed, 7 insertions(+), 6 deletions(-) create mode 160000 eas-same-encoder diff --git a/eas-same-encoder b/eas-same-encoder new file mode 160000 index 0000000..79b8468 --- /dev/null +++ b/eas-same-encoder @@ -0,0 +1 @@ +Subproject commit 79b84689b1ec4863f04b87b42cc0d7d41858951c diff --git a/same.py b/same.py index 269584e..997c38b 100644 --- a/same.py +++ b/same.py @@ -105,12 +105,12 @@ sameCompatibleTimestamp = datetime.datetime.now().strftime("%j%H%M") # known good # OH SHIT it's all time-dependent # which i can now do since the time works on the box -code = "ZCZC-PEP-EAN-000000+0400-" + sameCompatibleTimestamp + "-SCIENCE -" # nuclear armageddon (or some other form of "we are all likely to die") -code = "ZCZC-PEP-EAT-000000+0400-" + sameCompatibleTimestamp + "-SCIENCE -" # nuclear armageddon (or some other form of "we are all likely to die") +# code = "ZCZC-PEP-EAN-000000+0400-" + sameCompatibleTimestamp + "-SCIENCE -" # nuclear armageddon (or some other form of "we are all likely to die") +# code = "ZCZC-PEP-EAT-000000+0400-" + sameCompatibleTimestamp + "-SCIENCE -" # nuclear armageddon (or some other form of "we are all likely to die") # code = "ZCZC-PEP-EAT-000000+0400-2142350-SCIENCE -" # lol jk no nuclear armageddon -# code = "ZCZC-WXR-TOR-024031+0030-2150015-SCIENCE -" # tornado warning, silver spring, md +code = "ZCZC-WXR-TOR-024031+0030-" + sameCompatibleTimestamp + "-SCIENCE -" # tornado warning, silver spring, md # code = "ZCZC-WXR-SVR-024031+0030-2142200-SCIENCE -" # severe thunderstorm warning, silver spring, md -# code = "ZCZC-WXR-EVI-024031+0030-2150010-SCIENCE -" # evacuation immediate!!, silver spring, md +# code = "ZCZC-WXR-EVI-024031+0030-" + sameCompatibleTimestamp + "-SCIENCE -" # evacuation immediate!!, silver spring, md # code = "ZCZC-WXR-FFW-024031+0030-2150021-SCIENCE -" # testing @@ -147,13 +147,13 @@ for i in range(0, 3): -signal *= -32767 +signal *= 32767 signal = np.int16(signal) wavfile.write(str("same.wav"), fs, signal) -subprocess.call("afplay same.wav", shell=True) +# subprocess.call("afplay same.wav", shell=True) diff --git a/same.wav b/same.wav index cb9f57aaa3ca8f06ef90e3bc3d347975624bc3d3..22ce4662dac98bc8054e883f988662189bc3320e 100644 GIT binary patch delta 268 zcmdmT-E_-!(}pdK>pHf-t6+S=x}DFB%Y%7)+#JRkERzd%uh<@UjBx_n_H)@l{`Px^ z*(})G>sB%XG1K=7QY;jN9$}xgM}@U$=?TffYiwzdOUY{oNTR LnbnjkI28&2b4_(_ delta 223 zcmdmT-E_-!(}pdK>pHft^JJXBwmI&L1MBvG6WM++PA=HJqFrt}BM>ufmz&Ofr<@Wc tKogkWJlI^YJAiTfKTj?NUW6sv=an-qU}}GNhH?A5GfXn8sio*tC;*vTY0&@x