# oscP5 + Voice to Text

**URL:** https://discourse.processing.org/t/oscp5-voice-to-text/11774
**Category:** Libraries
**Created:** [June 2, 2019, 11:56am UTC](https://discourse.processing.org/t/oscp5-voice-to-text/11774 "2019-06-02T11:56:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Anstar](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Anstar](https://discourse.processing.org/u/Anstar)
#### Post date: [June 2, 2019, 11:56am UTC](https://discourse.processing.org/t/oscp5-voice-to-text/11774/1 "2019-06-02T11:56:48Z")

</div>

Hi guys, I am currently trying to get the VtT sketch I have to send the string PrintIn(msg) through OSC or translate it into something addressable for another sketch, (I’d like to be able to turn these messages to PImage for a Kinect sketch.) Any assistance would be helpful.

```auto
import websockets.*;
import oscP5.*;
import netP5.*;

WebsocketServer socket;

OscP5 oscP5;
NetAddress myRemoteLocation;

void setup() {
  socket = new WebsocketServer(this, 1337, "/p5websocket");
  
  myRemoteLocation = new NetAddress("192.168.86.105",13000);
}

void draw() {
  background(0);
  OscMessage myMessage = new OscMessage("/test");
  myMessage.add(123);
}
void webSocketServerEvent(String msg){
 println(msg);
}

```

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [June 6, 2019, 2:26am UTC](https://discourse.processing.org/t/oscp5-voice-to-text/11774/2 "2019-06-06T02:26:11Z")

</div>

is your question how to add voice-to-text? Or how to draw a received OSC message?
