> For the complete documentation index, see [llms.txt](https://casual-coder.gitbook.io/simple-voice-chat-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://casual-coder.gitbook.io/simple-voice-chat-plugin/blueprint-setup.md).

# Blueprint Integration

Setting up the blueprint side is simple as always.

* First open your Blueprint Character and add the VOIP Talker Component. On the details panel make sure to tick Component replicates and Auto Active!

<div align="left"><figure><img src="/files/bRDqH3rIKHUHd6DqN7Ic" alt="" width="307"><figcaption></figcaption></figure> <figure><img src="/files/zvuH6wZpk9qM9qPKgQsJ" alt="" width="305"><figcaption></figcaption></figure></div>

* Then set up your begin play with the node Initialize Simple Voice Chat!&#x20;
* Connect your self referance for the character,&#x20;
* Connect your VOIP Actor Component referance,&#x20;
* Break the setting struct and call MakeVoiceSettings Node, If you are making proximity voice chat set the component attached to your capsule component, and your attenuation settings to the **SA\_Proximity** we will create on the next page. If you want to make a global voice chat you can leave the settings struct empty.
* Set the Mic Input Gain (The recommended value range is 0.f-2.f by Epic Games)
* Set the Mic Threshold (The recommended value range is 0.01.f-0.08.f by Epic Games) Lowering this value will make more of the background noises th pass through and get detected by the mic. The engine defaults it to 0.08
* And if you want to see the debug messages on the screen tick the Debug Mode boolean.
* I found the best values as Mic Input Gain = 1.2f and Mic Threshold 0.07 which gives you a clear and crispy voice.

<div align="center"><figure><img src="/files/4Wk3ii4J0crl1kwgjgs0" alt="" width="563"><figcaption></figcaption></figure></div>

### Push To Talk

* If you want to add push to talk make sure to add an Input Action and place the node Start Talking On the Started pin of the Input Action Node and use Stop Talking on the Cancelled and Completed pins!

<div align="center"><figure><img src="/files/rrkdJiFUnvWR9lhORc65" alt="" width="375"><figcaption></figcaption></figure></div>

### Mute and Un-Mute

* If you want to mute a specific player or unmute we can use these two nodes after typicially like an button press(mute button press). In this case I have wired it to a keybind to mute everyone except us to test if the function works.

<figure><img src="/files/oixh8cqgpRWDJI9U4mBr" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://casual-coder.gitbook.io/simple-voice-chat-plugin/blueprint-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
