yum-archive/yapBox

A black box for your yapping

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

yumAdd gradio webuic8ae984

v1.0.0
2.0 KiB60 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).

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## Building from source
30
31First install python 3.10.9. Make sure that Powershell is using that version by
32typing this (leave out the $, it's used to differentiate between commands and
33output):
34```
35$ python.exe --version
36Python 3.10.9
37```
38
39Then open Powershell and run package.ps1:
40```
41$ cd pkg
42$ ./package.ps1
43```
44
45All dependencies should download themselves. It will use the host Python to
46install dependencies into the app's environment.
47
48## Ethics
49
50We are living in the wild west of AI. You can clone anyone's voice and
51plausibly reproduce it using projects like
52[rvc-beta](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/releases).
53Legislation has not caught
54up to this yet. Cloning someone's voice without their consent is, at best,
55ethically dubious. This tool makes that process easier. In the absence of a
56legal framework, you must make your own choices as to what is right. Take this
57seriously. When in doubt, follow Kant's [universalization
58principle](https://en.wikipedia.org/wiki/Universalizability) and the [golden
59rule](https://en.wikipedia.org/wiki/Golden_Rule).
60