# Passing voice data to Processing

**URL:** <https://discourse.processing.org/t/passing-voice-data-to-processing/24640>\
**Category:** Libraries\
**Created:** [October 16, 2020, 10:40am UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640 "2020-10-16T10:40:42Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [October 24, 2020, 5:05pm UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640/21 "2020-10-24T17:05:00Z")

</div>

> [@humus](#):
>
> The P5.js code is played in Processing? If not, how to play it and by what?

Yes, you can use the Processing’ IDE changing the mode in the upper right corner.  
I prefer the online Web Editor because of the error checking.

> **[p5.js Web Editor](https://editor.p5js.org/)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

---

<div class="post-metadata">

**Author:** ![humus](https://avatars.discourse-cdn.com/v4/letter/h/e36b37/32.png) [@humus](https://discourse.processing.org/u/humus)\
**Post date:** [October 24, 2020, 5:19pm UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640/22 "2020-10-24T17:19:38Z")

</div>

For exemple, all the sketches on [openprocessing.org](http://openprocessing.org) are in P5.js and it is difficult to import them in Processing (but I would like to work this Java and not P5.js). How to? Thanks

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [October 24, 2020, 5:32pm UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640/23 "2020-10-24T17:32:34Z")

</div>

Yes, it’s not really easy, because while both modes have java in their name, they are distinct languages. Java and JavaScript.  
I suggest to play with the Mimim library, there are nice example sketches in the lib.  
See also [here.](https://www.youtube.com/watch?v=ShSdd0oMjfk&ab_channel=KuKoVisuals)

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [October 24, 2020, 5:56pm UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640/24 "2020-10-24T17:56:48Z")

</div>

> [@humus](#):
>
> all the sketches on openprocessing. org are in P5.js

You can still use Processing java there. It has two modes, but java is somewhat limited.  
See here a java sketch on my channel.

https://www.openprocessing.org/sketch/886794

[Previous page](https://discourse.processing.org/t/passing-voice-data-to-processing/24640.md?page=1)
