summaryrefslogtreecommitdiffstats
path: root/README.md
blob: ada8b5ecf925b245c48f592549c6d1f32f264585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## 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](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/releases).
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](https://en.wikipedia.org/wiki/Universalizability) and the [golden
rule](https://en.wikipedia.org/wiki/Golden_Rule).