# Libraries

**URL:** https://discourse.processing.org/c/processing/processing-libraries/19.md?page=56

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 57

---

## [TCP mail client session in Processing not working](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 7\
**Last updated:** [May 27, 2019, 11:13pm UTC](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618 "2019-05-27T23:13:48Z")

</div>

I’m trying to open a TCP socket with a mail server and then send/read commands, but it isn’t working. After running for several minutes with no response I get the IOException catch error “Couldn’t get I/O for the connect…

---

## [My camera is not working](https://discourse.processing.org/t/my-camera-is-not-working/9783)

<div class="topic-metadata">

**Author:** [@kripit](https://discourse.processing.org/u/kripit)\
**Replies:** 6\
**Last updated:** [May 27, 2019, 2:48pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783 "2019-05-27T14:48:47Z")

</div>

I use processing 3.5.3 on windows7. I launched capture sketch. My camera is recognized in console but no image appeared… Where is the problem?

---

## [How to process the sound of a video?](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487)

<div class="topic-metadata">

**Author:** [@kaotiklabs](https://discourse.processing.org/u/kaotiklabs)\
**Replies:** 3\
**Last updated:** [May 27, 2019, 12:55pm UTC](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487 "2019-05-27T12:55:22Z")

</div>

Hi, I would like to access the movie sound data in order to detect high volume peaks to mark them as highlights. Any way to do it? Preferebly without having to play the whole movie. Thanks

---

## [.xef files from Kinect](https://discourse.processing.org/t/xef-files-from-kinect/11613)

<div class="topic-metadata">

**Author:** [@symrin](https://discourse.processing.org/u/symrin)\
**Replies:** 0\
**Last updated:** [May 26, 2019, 4:37pm UTC](https://discourse.processing.org/t/xef-files-from-kinect/11613 "2019-05-26T16:37:33Z")

</div>

I have .xef file from Kinect. How do I process those?

---

## [Can not add Box2D in processing](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600)

<div class="topic-metadata">

**Author:** [@CodingIsLife](https://discourse.processing.org/u/CodingIsLife)\
**Replies:** 2\
**Last updated:** [May 26, 2019, 8:37am UTC](https://discourse.processing.org/t/can-not-add-box2d-in-processing/11600 "2019-05-26T08:37:16Z")

</div>

I was reading The Nature of Code ( the book written by Mr. Daniel Shifman). There I found the chapter which contains physics libraries. I wanted to add Box2D (the processing version of Box2D) to my processing. I downloa…

---

## [HTTP Request with JSON body](https://discourse.processing.org/t/http-request-with-json-body/11544)

<div class="topic-metadata">

**Author:** [@fedpep](https://discourse.processing.org/u/fedpep)\
**Replies:** 1\
**Last updated:** [May 25, 2019, 10:26am UTC](https://discourse.processing.org/t/http-request-with-json-body/11544 "2019-05-25T10:26:42Z")

</div>

Hello, I’m working with the TVDB API but I’m having trouble getting the access token as I normally do. This is what the documentation says: Authentication Authentication to use the API is similar to the How-to sectio…

---

## [G4P text is blurred without background()](https://discourse.processing.org/t/g4p-text-is-blurred-without-background/11489)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 4\
**Last updated:** [May 24, 2019, 7:47pm UTC](https://discourse.processing.org/t/g4p-text-is-blurred-without-background/11489 "2019-05-24T19:47:56Z")

</div>

Using Processing 3.5.3 and G4P V4.2.1 on Windows 7. Why does G4P control text get blurred when not clearing the display window at the beginning of each frame? vs. Here’s a simple example: import g4p\_controls.\*; b…

---

## [Creating a scrollable view](https://discourse.processing.org/t/creating-a-scrollable-view/11414)

<div class="topic-metadata">

**Author:** [@eang79](https://discourse.processing.org/u/eang79)\
**Replies:** 6\
**Last updated:** [May 24, 2019, 2:17pm UTC](https://discourse.processing.org/t/creating-a-scrollable-view/11414 "2019-05-24T14:17:23Z")

</div>

Hiya, I will like to find out how to create a scrollable view on a group. I am operating in Java mode, using the Controlp5 library. I wasn’t able to find examples online that helps. Could anyone put up some code stubs, …

---

## [Processing Java and Webhooks](https://discourse.processing.org/t/processing-java-and-webhooks/11528)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 0\
**Last updated:** [May 24, 2019, 1:35am UTC](https://discourse.processing.org/t/processing-java-and-webhooks/11528 "2019-05-24T01:35:28Z")

</div>

How can we implement webhooks from a service like Zapier inside a processing Java app? I would like to make an app that listens for webhook posts to get realtime information from websites like twitter.

---

## [\[SOLVED\] Kinect hands open close](https://discourse.processing.org/t/solved-kinect-hands-open-close/11391)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 4:41pm UTC](https://discourse.processing.org/t/solved-kinect-hands-open-close/11391 "2019-05-22T16:41:31Z")

</div>

Hallo, i am working on the following code to detect palm open or close. It ;s working quite nice. What i want to do is: On wave enable handtracking (it achieves it). When wave again (stop tracking) - not achieved. Seems…

---

## [Processing client SSL access](https://discourse.processing.org/t/processing-client-ssl-access/11443)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 1\
**Last updated:** [May 22, 2019, 8:18am UTC](https://discourse.processing.org/t/processing-client-ssl-access/11443 "2019-05-22T08:18:00Z")

</div>

I cannot seem to find any examples of using the processing client to access an SSL protected website. Here is my code. It just returns a 400 error. Is the Processing default client capable of doing SSL or should I l…

---

## [Libraries | SVG Export on IntelliJ IDEA](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 12:47am UTC](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410 "2019-05-22T00:47:00Z")

</div>

Hello processing community. before I start, here is my environment: IntelliJ IDEA 2019.1 (Community Edition) Build #IC-191.6183.87, built on March 27, 2019 JRE: 1.8.0\_202-release-1483-b39 amd64 JVM: OpenJDK 64-Bit Serv…

---

## [Video Library Capture doesn't work(ugly orange)](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387)

<div class="topic-metadata">

**Author:** [@EinsMalte](https://discourse.processing.org/u/EinsMalte)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 8:51pm UTC](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387 "2019-05-20T20:51:03Z")

</div>

Greetings, i’m trying using the Capture feature of the video library, but the output is just a ugly orange(RGB: 255.0,128.0,64.0). And this is the complete output. And there isn’t any error or somethig like that. And i…

---

## [G4P closing main window](https://discourse.processing.org/t/g4p-closing-main-window/11411)

<div class="topic-metadata">

**Author:** [@azsdx123](https://discourse.processing.org/u/azsdx123)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 8:10am UTC](https://discourse.processing.org/t/g4p-closing-main-window/11411 "2019-05-20T08:10:41Z")

</div>

Hi i was wondering how to close the main window when pressing a button.

---

## [Box2D coordinate conversion issue](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 3:40am UTC](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986 "2019-05-20T03:40:44Z")

</div>

Hello Processing community. I am following the most popular and the greatest coding teacher, Daniel Shiffman on youtube now. Currently, I am on the Box2D chapters. While I am playing with PBox2D, found one issue which …

---

## [Game with Processing for the novice](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365)

<div class="topic-metadata">

**Author:** [@carotte](https://discourse.processing.org/u/carotte)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 9:46pm UTC](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365 "2019-05-19T21:46:05Z")

</div>

hay, i have chosen to do a game wich takes the particularity of the Snake i have a problem with my code, let exposed my problem: i woud like doing an “if” for a loop to make sure that as soon as the snake recognizes t…

---

## [Gryd System Graphic Design](https://discourse.processing.org/t/gryd-system-graphic-design/10457)

<div class="topic-metadata">

**Author:** [@rand\_colors](https://discourse.processing.org/u/rand_colors)\
**Replies:** 19\
**Last updated:** [May 19, 2019, 4:29pm UTC](https://discourse.processing.org/t/gryd-system-graphic-design/10457 "2019-05-19T16:29:08Z")

</div>

Hello everyone, as far as you know is there a class or library to deal with Grid design systems? I’m looking for something that could be helpful in composition of 2D images. Thank you in advance. Best R\_colors

---

## [Actualise data automaticaly (with a beat detection)](https://discourse.processing.org/t/actualise-data-automaticaly-with-a-beat-detection/11348)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 1:19pm UTC](https://discourse.processing.org/t/actualise-data-automaticaly-with-a-beat-detection/11348 "2019-05-19T13:19:24Z")

</div>

Hi there, I would like my program actualise itself the data to compute each time it detected a threshold of Beat in a song. For the moment I actualise my self the program by tapping on the key: 7. I would like my prog…

---

## [Shader in processing](https://discourse.processing.org/t/shader-in-processing/11288)

<div class="topic-metadata">

**Author:** [@karinalopez87](https://discourse.processing.org/u/karinalopez87)\
**Replies:** 3\
**Last updated:** [May 19, 2019, 9:34am UTC](https://discourse.processing.org/t/shader-in-processing/11288 "2019-05-19T09:34:50Z")

</div>

Does anyone know how to bring the float remain and coord.x into processing to edit and add randomization? Also, I’ve been attempting to use pgraphics to incorporate the shader as a layer to fade in and fade out. glsl c…

---

## [Processing video library wont play larger files](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368)

<div class="topic-metadata">

**Author:** [@sfickel](https://discourse.processing.org/u/sfickel)\
**Replies:** 1\
**Last updated:** [May 19, 2019, 1:50am UTC](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368 "2019-05-19T01:50:56Z")

</div>

Hello! I am using the processing-video library and I am not able to get it to play a video file larger than 250mb which seems pretty small. Is there any way to get it to play larger files or is there a file size restrict…

---

## [Control Ableton Live from Processing with a Mac](https://discourse.processing.org/t/control-ableton-live-from-processing-with-a-mac/11036)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 10\
**Last updated:** [May 18, 2019, 9:29am UTC](https://discourse.processing.org/t/control-ableton-live-from-processing-with-a-mac/11036 "2019-05-18T09:29:11Z")

</div>

Hi, I saw a method to use Processing as MIDI controller to Ableton here http://legacy.andrewflo.com/work/liveosc-processing-bridge/ I’m trying to use to use it to send MIDI value, but I can’t send data or make recogni…

---

## [Track balls by color and shape with camera and OpenCV](https://discourse.processing.org/t/track-balls-by-color-and-shape-with-camera-and-opencv/11234)

<div class="topic-metadata">

**Author:** [@Chemi](https://discourse.processing.org/u/Chemi)\
**Replies:** 4\
**Last updated:** [May 17, 2019, 1:01pm UTC](https://discourse.processing.org/t/track-balls-by-color-and-shape-with-camera-and-opencv/11234 "2019-05-17T13:01:31Z")

</div>

Hello. I have an exam that consists on detecting an object with a camera. I explain it a little bit: With the mouse you have to select the object and then the programme have to make the tracking of that object. The code…

---

## [Music loop with minim library](https://discourse.processing.org/t/music-loop-with-minim-library/11163)

<div class="topic-metadata">

**Author:** [@yonjukyu](https://discourse.processing.org/u/yonjukyu)\
**Replies:** 1\
**Last updated:** [May 16, 2019, 4:59am UTC](https://discourse.processing.org/t/music-loop-with-minim-library/11163 "2019-05-16T04:59:37Z")

</div>

Hello. I want to make a loop with my music, like when she stop she start again. i’m using the minim library. here is my code. import ddf.minim.\*; Minim minim; AudioSnippet son\_musique; void setup(){ minim = new Mi…

---

## [Help. How to read a 16 bit grayscale image now JAI is no more?](https://discourse.processing.org/t/help-how-to-read-a-16-bit-grayscale-image-now-jai-is-no-more/11071)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 4\
**Last updated:** [May 15, 2019, 8:44am UTC](https://discourse.processing.org/t/help-how-to-read-a-16-bit-grayscale-image-now-jai-is-no-more/11071 "2019-05-15T08:44:55Z")

</div>

Hey guys, Now the JAI library is deprecated, I am a little bit at a loss on how to read a 16bit grayscale heightmap in Processing. Can anyone recommend a format that’s easier to read, or a replacement imaging library or…

---

## [controlP5 RadioButton question](https://discourse.processing.org/t/controlp5-radiobutton-question/11211)

<div class="topic-metadata">

**Author:** [@goosey](https://discourse.processing.org/u/goosey)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 3:30am UTC](https://discourse.processing.org/t/controlp5-radiobutton-question/11211 "2019-05-14T03:30:24Z")

</div>

Hello! In I project using cp5, I want to display a list of toggles, each of which has a corresponding group of controllers. Here is the relevant code: cp5.addRadioButton("shape picker") .addItem("line", 1) .ad…

---

## [How have fullscreen with G4P](https://discourse.processing.org/t/how-have-fullscreen-with-g4p/11207)

<div class="topic-metadata">

**Author:** [@mbe](https://discourse.processing.org/u/mbe)\
**Replies:** 0\
**Last updated:** [May 13, 2019, 9:38pm UTC](https://discourse.processing.org/t/how-have-fullscreen-with-g4p/11207 "2019-05-13T21:38:32Z")

</div>

Hello, I create a new window with : window = GWindow.getWindow(this, title, x, y, w, h, renderer); is there a way to open it in real fullsreen (i.e. without the title bar) ?

---

## [Regarding using AudioInput in Minim](https://discourse.processing.org/t/regarding-using-audioinput-in-minim/11119)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 5\
**Last updated:** [May 13, 2019, 6:27pm UTC](https://discourse.processing.org/t/regarding-using-audioinput-in-minim/11119 "2019-05-13T18:27:24Z")

</div>

I am trying to create Reverb and echo to the audio that is coming in through the computer mike but thr is nothing in the Minim library to let me do that.Can somebody help me in this regard Or shuld I use LiveInput inst…

---

## [Getting Sketch To Reset using MIDI](https://discourse.processing.org/t/getting-sketch-to-reset-using-midi/11078)

<div class="topic-metadata">

**Author:** [@djspoonzay](https://discourse.processing.org/u/djspoonzay)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 6:46am UTC](https://discourse.processing.org/t/getting-sketch-to-reset-using-midi/11078 "2019-05-13T06:46:39Z")

</div>

what i’m trying to do is I have a midi keyboard with the C,E and G keys assigned as int 255 each, to make a coloured ellipse, what I’d like is that when the keys are released to then remove that color value so the RGB va…

---

## [Different soundtrack for different modes](https://discourse.processing.org/t/different-soundtrack-for-different-modes/11172)

<div class="topic-metadata">

**Author:** [@anna](https://discourse.processing.org/u/anna)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 5:08am UTC](https://discourse.processing.org/t/different-soundtrack-for-different-modes/11172 "2019-05-13T05:08:58Z")

</div>

Hello! I have this game, where I want a different soundtracks to play in the different modes. int mode = 0; int INTRO = 0; int KASSE = 1; int BUTIK = 2; int STUDY = 3; import processing.sound.\*; SoundFile file; Strin…

---

## [Movie file doesn't load](https://discourse.processing.org/t/movie-file-doesnt-load/11169)

<div class="topic-metadata">

**Author:** [@dehyde](https://discourse.processing.org/u/dehyde)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 1:19am UTC](https://discourse.processing.org/t/movie-file-doesnt-load/11169 "2019-05-13T01:19:38Z")

</div>

Hi I’m trying to create an array of objects Each object contains some variables and a movie object For some reason, when calling on the movies duration() I’m getting information that doesn’t make sense (shows as 0.0),…

[Previous page](https://discourse.processing.org/c/processing/processing-libraries/19.md?page=55)

[Next page](https://discourse.processing.org/c/processing/processing-libraries/19.md?page=57)
