yum-archive/yapBox

A black box for your yapping

git clone https://git.yummers.dev/yum-archive/yapBox

yumAdd UI picture50234bc

master
2.0 KiB62 linesraw

yapBox

A black box for your yapping.

This app records your mic. It uses silero-vad to split audio into contiguous segments of speech, and saves them to disk as .wav files.

What's a black box? Wikipedia says this:

A flight recorder is an electronic recording device placed in an aircraft for
the purpose of facilitating the investigation of aviation accidents and
incidents. The device may often be referred to colloquially as a "black box",
an outdated name which has become a misnomer—they are now required to be
painted bright orange, to aid in their recovery after accidents.

Compatibility

This application is designed for Windows 10. Functionality on any other platform is purely coincidental.

Running

Download the latest release and double click app.bat in File Explorer. It should automatically open a tab in your browser showing you the UI. If it doesn't, type "localhost:7860" in your browser URL field (leave out the quotes).

UI example

Building from source

First install python 3.10.9. Make sure that Powershell is using that version by typing this (leave out the $, it's used to differentiate between commands and output):

$ python.exe --version
Python 3.10.9

Then open Powershell and run package.ps1:

$ cd pkg
$ ./package.ps1

All dependencies should download themselves. It will use the host Python to install dependencies into the app's environment.

Ethics

We are living in the wild west of AI. You can clone anyone's voice and plausibly reproduce it using projects like rvc-beta. Legislation has not caught up to this yet. Cloning someone's voice without their consent is, at best, ethically dubious. This tool makes that process easier. In the absence of a legal framework, you must make your own choices as to what is right. Take this seriously. When in doubt, follow Kant's universalization principle and the golden rule.

1## yapBox
2
3A black box for your yapping.
4
5This app records your mic. It uses silero-vad to split audio into contiguous
6segments of speech, and saves them to disk as .wav files.
7
8What's a black box? Wikipedia says this:
9```
10A flight recorder is an electronic recording device placed in an aircraft for
11the purpose of facilitating the investigation of aviation accidents and
12incidents. The device may often be referred to colloquially as a "black box",
13an outdated name which has become a misnomer—they are now required to be
14painted bright orange, to aid in their recovery after accidents.
15```
16
17## Compatibility
18
19This application is designed for Windows 10. Functionality on any other
20platform is purely coincidental.
21
22## Running
23
24Download the latest release and double click `app.bat` in File Explorer. It
25should automatically open a tab in your browser showing you the UI. If it
26doesn't, type "localhost:7860" in your browser URL field (leave out the
27quotes).
28
29![UI example](yapbox_ui.PNG)
30
31## Building from source
32
33First install python 3.10.9. Make sure that Powershell is using that version by
34typing this (leave out the $, it's used to differentiate between commands and
35output):
36```
37$ python.exe --version
38Python 3.10.9
39```
40
41Then open Powershell and run package.ps1:
42```
43$ cd pkg
44$ ./package.ps1
45```
46
47All dependencies should download themselves. It will use the host Python to
48install dependencies into the app's environment.
49
50## Ethics
51
52We are living in the wild west of AI. You can clone anyone's voice and
53plausibly reproduce it using projects like
54[rvc-beta](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/releases).
55Legislation has not caught
56up to this yet. Cloning someone's voice without their consent is, at best,
57ethically dubious. This tool makes that process easier. In the absence of a
58legal framework, you must make your own choices as to what is right. Take this
59seriously. When in doubt, follow Kant's [universalization
60principle](https://en.wikipedia.org/wiki/Universalizability) and the [golden
61rule](https://en.wikipedia.org/wiki/Golden_Rule).
62