parent
b21023fabd
commit
52acd1c354
17
README.md
17
README.md
|
|
@ -1,11 +1,5 @@
|
||||||
# Hosting a Mayhem Party
|
# Hosting a Mayhem Party
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
1. [`rusty-pipe`](https://gogs.inhome.blapointe.com/bel/rusty-pipe)
|
|
||||||
1. [`mayhem-party`](https://gogs.inhome.blapointe.com/bel/mayhem-party)
|
|
||||||
1. [`stt`](https://gogs.inhome.blapointe.com/bel/stt)
|
|
||||||
|
|
||||||
# Clients
|
# Clients
|
||||||
|
|
||||||
## Distribute `rusty-pipe`
|
## Distribute `rusty-pipe`
|
||||||
|
|
@ -25,12 +19,9 @@ echo local
|
||||||
cargo install --path ./
|
cargo install --path ./
|
||||||
```
|
```
|
||||||
|
|
||||||
Each client needs 1 executable and 1 env file with a unique set of buttons
|
Each client needs 1 executable and 1 config file with a unique user "name".
|
||||||
|
|
||||||
> 10 buttons per player
|
The server cannot be a client because sending, listening, and typing keyboard is bad. Maybe a VM on the client as a server would work tho.
|
||||||
> `go doc key Undef | grep Key | grep -v Undef | wc -l` total (51)
|
|
||||||
|
|
||||||
The server cannot be a client because math. Maybe a VM on the client as a server would work tho.
|
|
||||||
|
|
||||||
See `./config.d/rusty-pipe.d`
|
See `./config.d/rusty-pipe.d`
|
||||||
|
|
||||||
|
|
@ -38,11 +29,11 @@ See `./config.d/rusty-pipe.d`
|
||||||
|
|
||||||
## TTS
|
## TTS
|
||||||
|
|
||||||
`cd /home/breel/Go/src/gogs.inhome.blapointe.com/tts/larynx.d; bash run.sh`
|
`cd ./git.d/tts.d/larynx.d; bash run.sh`
|
||||||
|
|
||||||
## STT
|
## STT
|
||||||
|
|
||||||
`cd /home/breel/Go/src/gogs.inhome.blapointe.com/stt.d/whisper-2023; HOTWORDS=/home/breel/Go/src/gogs.inhome.blapointe.com/mayhem-party.d/host.d/config.d/stt.d/hotwords.txt MIC_TIMEOUT=2 URL=http://localhost:17071/config HEADERS=say='Eye herd {{hotword}}' BODY='[{"op":"replace", "path":"/Quiet", "value":true}]' python3 ./hotwords.py'
|
`cd ./git.d/stt.d/whisper-2023; HOTWORDS=../../../config.d/stt.d/hotwords.txt MIC_TIMEOUT=2 URL=http://localhost:17071/config HEADERS=say='Eye herd {{hotword}}' BODY='[{"op":"replace", "path":"/Quiet", "value":true}]' python3 ./hotwords.py'
|
||||||
|
|
||||||
## `mayhem-party`
|
## `mayhem-party`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
players_offset_2.yaml
|
players_offset_0.yaml
|
||||||
|
|
@ -6,18 +6,19 @@ users:
|
||||||
player: 2
|
player: 2
|
||||||
message: its bel
|
message: its bel
|
||||||
broadcast:
|
broadcast:
|
||||||
message: 8
|
player: 0
|
||||||
|
message: "8"
|
||||||
players:
|
players:
|
||||||
- {}
|
- transformation: {}
|
||||||
- transformation:
|
- transformation:
|
||||||
w: t
|
"1": "5"
|
||||||
|
"2": "6"
|
||||||
|
"3": "7"
|
||||||
|
"4": "8"
|
||||||
a: f
|
a: f
|
||||||
s: g
|
|
||||||
d: h
|
d: h
|
||||||
|
e: "y"
|
||||||
q: r
|
q: r
|
||||||
e: y
|
s: g
|
||||||
1: 5
|
w: t
|
||||||
2: 6
|
quiet: true
|
||||||
3: 7
|
|
||||||
4: 8
|
|
||||||
quiet: false
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,2 @@
|
||||||
mario
|
mario
|
||||||
party
|
party
|
||||||
yo
|
|
||||||
win
|
|
||||||
die
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue