diff --git a/README.md b/README.md index 5fbd1e5..b28d6ff 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ # 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 ## Distribute `rusty-pipe` @@ -25,12 +19,9 @@ echo local 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 -> `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. +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. See `./config.d/rusty-pipe.d` @@ -38,11 +29,11 @@ See `./config.d/rusty-pipe.d` ## 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 -`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` diff --git a/config.d/mayhem-party.d/remap.d/live.yaml b/config.d/mayhem-party.d/remap.d/live.yaml index 94cf0e4..d9ac77e 120000 --- a/config.d/mayhem-party.d/remap.d/live.yaml +++ b/config.d/mayhem-party.d/remap.d/live.yaml @@ -1 +1 @@ -players_offset_2.yaml \ No newline at end of file +players_offset_0.yaml \ No newline at end of file diff --git a/config.d/mayhem-party.d/v01.yaml b/config.d/mayhem-party.d/v01.yaml index da2363d..b21b35e 100644 --- a/config.d/mayhem-party.d/v01.yaml +++ b/config.d/mayhem-party.d/v01.yaml @@ -6,18 +6,19 @@ users: player: 2 message: its bel broadcast: - message: 8 + player: 0 + message: "8" players: -- {} +- transformation: {} - transformation: - w: t + "1": "5" + "2": "6" + "3": "7" + "4": "8" a: f - s: g d: h + e: "y" q: r - e: y - 1: 5 - 2: 6 - 3: 7 - 4: 8 -quiet: false + s: g + w: t +quiet: true diff --git a/config.d/stt.d/hotwords.txt b/config.d/stt.d/hotwords.txt index 94bbfcc..f275e4a 100644 --- a/config.d/stt.d/hotwords.txt +++ b/config.d/stt.d/hotwords.txt @@ -1,5 +1,2 @@ mario party -yo -win -die