From: will Date: Mon, 23 Sep 2024 13:57:22 +0000 (+0100) Subject: Added files and preview audio elements X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=HEAD;p=utter-news Added files and preview audio elements --- diff --git a/.gitignore b/.gitignore index ee88966..de2b314 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -assets/ +temp.wav +upload.* diff --git a/assets/energetic_bed.wav b/assets/energetic_bed.wav new file mode 100644 index 0000000..935637f Binary files /dev/null and b/assets/energetic_bed.wav differ diff --git a/assets/generic_bed.wav b/assets/generic_bed.wav new file mode 100644 index 0000000..c821672 Binary files /dev/null and b/assets/generic_bed.wav differ diff --git a/assets/generic_out.wav b/assets/generic_out.wav new file mode 100644 index 0000000..64909af Binary files /dev/null and b/assets/generic_out.wav differ diff --git a/assets/mystery_bed.wav b/assets/mystery_bed.wav new file mode 100644 index 0000000..ffb0789 Binary files /dev/null and b/assets/mystery_bed.wav differ diff --git a/assets/weather_bed.wav b/assets/weather_bed.wav new file mode 100644 index 0000000..bde8767 Binary files /dev/null and b/assets/weather_bed.wav differ diff --git a/assets/weather_in.wav b/assets/weather_in.wav new file mode 100644 index 0000000..72b6e71 Binary files /dev/null and b/assets/weather_in.wav differ diff --git a/index.php b/index.php index d23acd9..6198a70 100644 --- a/index.php +++ b/index.php @@ -32,34 +32,46 @@ setInterval(getTime, 100);

.wav, .mp3, .vorbis, .ogg, .aif

Note from will:
- Just waiting on some idents from Jeremy, will hopefully give some more variety in the idents that can be picked! I'll also be building in .mp3 support soon...
+ Just waiting on some idents from Jeremy, will hopefully give some more variety in the idents that can be picked!
Also if anything goes wrong pls let me know asap!

Front ident - - + +
+
Bed - - + +
+
+ +
+
+ +
+
+ +
+
Back ident - - + +
+






"; @@ -88,11 +100,13 @@ if (!empty($_POST['upload'])) { $output=null; $retval=null; - exec("./script.sh", $output, $retval); + exec("./script.sh -i $frontId -b $bedId -o $backId", $output, $retval); $output = var_export($output, true); if ($retval == "0") { echo "Finished processing successfully.

"; echo "