Attempt to improve over all voice code.

This commit is contained in:
Storm Dragon committed 2026-08-11 19:47:01 -04:00
1 parent 30a02eba14
commit eae1d8b99a
17 files changed
+1198 -130

No files matched your search

+32
View File
@@ -54,6 +54,38 @@ leave() {
[[ $notify ]] && notify "$2 left the channel."
}
mute() {
if [[ "$2" == "me" ]]; then
[[ $notify ]] && notify "You muted yourself."
else
[[ $notify ]] && notify "$2 muted themselves."
fi
}
unmute() {
if [[ "$2" == "me" ]]; then
[[ $notify ]] && notify "You unmuted yourself."
else
[[ $notify ]] && notify "$2 unmuted themselves."
fi
}
deafen() {
if [[ "$2" == "me" ]]; then
[[ $notify ]] && notify "You deafened yourself."
else
[[ $notify ]] && notify "$2 deafened themselves."
fi
}
undeafen() {
if [[ "$2" == "me" ]]; then
[[ $notify ]] && notify "You undeafened yourself."
else
[[ $notify ]] && notify "$2 undeafened themselves."
fi
}
micdown() {
[[ $sound ]] && play -qnV0 synth .25 sin G6:E5 norm -8
[[ $notify ]] && notify "You have stopped transmitting."