# Libraries

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

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

**Page:** 73

---

## [\[answered\] How to convert JSONObject to string without files?](https://discourse.processing.org/t/answered-how-to-convert-jsonobject-to-string-without-files/3286)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 2\
**Last updated:** [September 5, 2018, 4:09pm UTC](https://discourse.processing.org/t/answered-how-to-convert-jsonobject-to-string-without-files/3286 "2018-09-05T16:09:28Z")

</div>

I have a JSON object. I want to convert it to a single string. Right now, the only method for doing this in my mind is using the saveJSONObject(…) function which saves it as a text file, and then reading that file. Howe…

---

## [PDF export, how to tint() image?](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 3\
**Last updated:** [September 5, 2018, 12:52pm UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246 "2018-09-05T12:52:47Z")

</div>

With the processing.pdf library, is it normal that I cannot tint() an image ? import processing.pdf.\*; PImage img ; color orange, yellow, green; void setup() { size(600, 600); beginRecord(PDF, "testExport.pdf"); …

---

## [oscP5 library, oscEvent\_checkTypetag](https://discourse.processing.org/t/oscp5-library-oscevent-checktypetag/3229)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 7\
**Last updated:** [September 5, 2018, 1:23am UTC](https://discourse.processing.org/t/oscp5-library-oscevent-checktypetag/3229 "2018-09-05T01:23:10Z")

</div>

Hello, i am working on program about sending/receiving messages with oscP5 library…My problem is that in the begging i have declare my values as double but into the oscEvent(OscMessage m) i dont know how can i check if …

---

## [Changing alignment on bang from cp5](https://discourse.processing.org/t/changing-alignment-on-bang-from-cp5/3185)

<div class="topic-metadata">

**Author:** [@kat](https://discourse.processing.org/u/kat)\
**Replies:** 4\
**Last updated:** [September 3, 2018, 5:37pm UTC](https://discourse.processing.org/t/changing-alignment-on-bang-from-cp5/3185 "2018-09-03T17:37:32Z")

</div>

Hi all, I’m using a bang from the cp5 library as a button. Is there a way to make the given coordinates the center of the button, similar to the imageMode(CENTER) for images? I’ve looked through the cp5 library and I c…

---

## [Controlp5 TextAlign](https://discourse.processing.org/t/controlp5-textalign/2988)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 1\
**Last updated:** [September 2, 2018, 7:30pm UTC](https://discourse.processing.org/t/controlp5-textalign/2988 "2018-09-02T19:30:12Z")

</div>

Hi Guys, I’m trying to add a buttonRadio that control text Align, but I don’t know how to assign a variable that control the LEFT and CENTER button. I’m using Processing width controlp5 library. Thanks a lot.!

---

## [Installing libusbjava](https://discourse.processing.org/t/installing-libusbjava/2621)

<div class="topic-metadata">

**Author:** [@olivi55](https://discourse.processing.org/u/olivi55)\
**Replies:** 4\
**Last updated:** [August 31, 2018, 3:48am UTC](https://discourse.processing.org/t/installing-libusbjava/2621 "2018-08-31T03:48:01Z")

</div>

Hi everyone, I’m currently trying to use libusbjava as shown on this website, but I get an error, and can’t manage to get it to work, since I’m not so experienced with raw Java… The thing is this example was made in 200…

---

## [Boof cv library error](https://discourse.processing.org/t/boof-cv-library-error/2880)

<div class="topic-metadata">

**Author:** [@Lovell](https://discourse.processing.org/u/Lovell)\
**Replies:** 4\
**Last updated:** [August 30, 2018, 8:40am UTC](https://discourse.processing.org/t/boof-cv-library-error/2880 "2018-08-30T08:40:43Z")

</div>

Hi guys my name is Lovell a Business IT student i am fairly new to processing. I am currently working on computer vision specifically, image classification with the boofCV library. I keep getting this error each time i r…

---

## [Early builds of the new Processing Sound library available for testing](https://discourse.processing.org/t/early-builds-of-the-new-processing-sound-library-available-for-testing/1796)

<div class="topic-metadata">

**Author:** [@kevinstadler](https://discourse.processing.org/u/kevinstadler)\
**Replies:** 4\
**Last updated:** [August 29, 2018, 8:45pm UTC](https://discourse.processing.org/t/early-builds-of-the-new-processing-sound-library-available-for-testing/1796 "2018-08-29T20:45:52Z")

</div>

Hello, as part of Google Summer of Code I’m currently doing a from-scratch rewrite of the Processing Sound library based on a Java sound synthesis engine, which should improve support for platforms such as Android and R…

---

## [ControlP5 background color](https://discourse.processing.org/t/controlp5-background-color/3011)

<div class="topic-metadata">

**Author:** [@Lunkvoul](https://discourse.processing.org/u/Lunkvoul)\
**Replies:** 2\
**Last updated:** [August 27, 2018, 8:01am UTC](https://discourse.processing.org/t/controlp5-background-color/3011 "2018-08-27T08:01:40Z")

</div>

Hi everyone! Is there any option to change cp5 background colour? From Examples: void setup() { size(800, 400); noStroke(); cp5 = new ControlP5(this); cp5.begin(cp5.addBackground("abc")); cp5.addSlide…

---

## [Image to text (Tess4J?)](https://discourse.processing.org/t/image-to-text-tess4j/2957)

<div class="topic-metadata">

**Author:** [@MTech](https://discourse.processing.org/u/MTech)\
**Replies:** 18\
**Last updated:** [August 25, 2018, 9:06pm UTC](https://discourse.processing.org/t/image-to-text-tess4j/2957 "2018-08-25T21:06:58Z")

</div>

Hey all, So the past few hours i’ve been desperately trying to get some form of ‘image-to-text’ working in processing 3. I’ve browsed and read alot of things for java, and i think it should be possible to get something …

---

## [G4P GTextArea & GLabel object update across windows cause app crash](https://discourse.processing.org/t/g4p-gtextarea-glabel-object-update-across-windows-cause-app-crash/2854)

<div class="topic-metadata">

**Author:** [@ayoung12](https://discourse.processing.org/u/ayoung12)\
**Replies:** 15\
**Last updated:** [August 23, 2018, 4:23pm UTC](https://discourse.processing.org/t/g4p-gtextarea-glabel-object-update-across-windows-cause-app-crash/2854 "2018-08-23T16:23:40Z")

</div>

HI - I have been experiencing random an intermittent lock ups of my application. I am using G4P 4.1.5 on processing 3.3.7 so all upto date. I have worked out that my problem is caused by using multiple windows with a sl…

---

## [Urgent help using Keystone Library](https://discourse.processing.org/t/urgent-help-using-keystone-library/2758)

<div class="topic-metadata">

**Author:** [@Upow](https://discourse.processing.org/u/Upow)\
**Replies:** 6\
**Last updated:** [August 18, 2018, 8:19pm UTC](https://discourse.processing.org/t/urgent-help-using-keystone-library/2758 "2018-08-18T20:19:38Z")

</div>

Hello, I’m trying to implement the Keystone library into a sketch I am using to do visuals at a show tonight. The sketch is somewhat complex, and involves control with monome hardware, but I think I can boil down the es…

---

## [How to get processing java sketch onto a webpage?](https://discourse.processing.org/t/how-to-get-processing-java-sketch-onto-a-webpage/2738)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 4\
**Last updated:** [August 18, 2018, 1:16am UTC](https://discourse.processing.org/t/how-to-get-processing-java-sketch-onto-a-webpage/2738 "2018-08-18T01:16:39Z")

</div>

Hi everyone, I don’t know if this is possible but does anyone know how to transfer a processing sketch coded with java to your website domain? I have a website on Wix I’d like to display the sketch on. This is my code i…

---

## [Problem with Mysql library : dbconnection.getString()](https://discourse.processing.org/t/problem-with-mysql-library-dbconnection-getstring/2681)

<div class="topic-metadata">

**Author:** [@Andress](https://discourse.processing.org/u/Andress)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 2:34pm UTC](https://discourse.processing.org/t/problem-with-mysql-library-dbconnection-getstring/2681 "2018-08-17T14:34:43Z")

</div>

hi all, i’m trying to change the text “g” to “7” but the code doesn’t get in the if condition and when i use println, “g” appears.

---

## [Link controlP5 controls to public variables exposed by an object?](https://discourse.processing.org/t/link-controlp5-controls-to-public-variables-exposed-by-an-object/2510)

<div class="topic-metadata">

**Author:** [@niftyc](https://discourse.processing.org/u/niftyc)\
**Replies:** 5\
**Last updated:** [August 13, 2018, 4:57pm UTC](https://discourse.processing.org/t/link-controlp5-controls-to-public-variables-exposed-by-an-object/2510 "2018-08-13T16:57:18Z")

</div>

I’m enjoying learning about processing and I love the features of ControlP5. I’ve been using ControlP5 controls that link to global variables in my script. Then I tried to make a class to organize my variables a little m…

---

## [Are there any Plotting/graphing/data visualisation libraries which allow rendering/plotting on PGraphic layers without major hacks?](https://discourse.processing.org/t/are-there-any-plotting-graphing-data-visualisation-libraries-which-allow-rendering-plotting-on-pgraphic-layers-without-major-hacks/2355)

<div class="topic-metadata">

**Author:** [@jimbojohn](https://discourse.processing.org/u/jimbojohn)\
**Replies:** 9\
**Last updated:** [August 11, 2018, 12:41pm UTC](https://discourse.processing.org/t/are-there-any-plotting-graphing-data-visualisation-libraries-which-allow-rendering-plotting-on-pgraphic-layers-without-major-hacks/2355 "2018-08-11T12:41:04Z")

</div>

Hi everyone, I have been trying to find convenient ways to plot onto Pgraphics. Unfortunately, a lot of libraries that I have tried do not support this and it seems one needs to manipulate and hack around library code a…

---

## [\[SOLVED\] Network library: issues with clientEvent](https://discourse.processing.org/t/solved-network-library-issues-with-clientevent/2007)

<div class="topic-metadata">

**Author:** [@Bottom](https://discourse.processing.org/u/Bottom)\
**Replies:** 4\
**Last updated:** [July 28, 2018, 7:41pm UTC](https://discourse.processing.org/t/solved-network-library-issues-with-clientevent/2007 "2018-07-28T19:41:39Z")

</div>

I have the following code inside my program (the entire sketch is quite large). Inside the ClientEvent function i ask if the received input is null. However, when i run the code i get the following output in my console: …

---

## [About scrollable list: can I set a value back to it?](https://discourse.processing.org/t/about-scrollable-list-can-i-set-a-value-back-to-it/2504)

<div class="topic-metadata">

**Author:** [@vapeur](https://discourse.processing.org/u/vapeur)\
**Replies:** 1\
**Last updated:** [August 9, 2018, 7:57am UTC](https://discourse.processing.org/t/about-scrollable-list-can-i-set-a-value-back-to-it/2504 "2018-08-09T07:57:21Z")

</div>

Hi there, most of the times I use mouse click on scrollable list to choose whatever parameters I want. But can I set it to a value? like when I press key ‘A’ or ‘a’, the scrollable list will automatically changes to A, e…

---

## [Is it possible to open/close OSC in processing?](https://discourse.processing.org/t/is-it-possible-to-open-close-osc-in-processing/2405)

<div class="topic-metadata">

**Author:** [@vapeur](https://discourse.processing.org/u/vapeur)\
**Replies:** 4\
**Last updated:** [August 9, 2018, 5:54am UTC](https://discourse.processing.org/t/is-it-possible-to-open-close-osc-in-processing/2405 "2018-08-09T05:54:14Z")

</div>

Hi there, I am using oscP5 library to communicate from grasshopper to processing, but when the data is sent and saved, I’d like to close (and probably reopen) the OSC channel. is it possible? I tried with mousePressed() …

---

## [Where are all the libraries?](https://discourse.processing.org/t/where-are-all-the-libraries/2482)

<div class="topic-metadata">

**Author:** [@hrgiger](https://discourse.processing.org/u/hrgiger)\
**Replies:** 3\
**Last updated:** [August 8, 2018, 6:26pm UTC](https://discourse.processing.org/t/where-are-all-the-libraries/2482 "2018-08-08T18:26:53Z")

</div>

Why are there only ~10 libraries available? What about computational geometry–computing the intersections of lines, convex hull, these things?

---

## [G4P dropList number of elements](https://discourse.processing.org/t/g4p-droplist-number-of-elements/2434)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 4\
**Last updated:** [August 8, 2018, 8:39am UTC](https://discourse.processing.org/t/g4p-droplist-number-of-elements/2434 "2018-08-08T08:39:41Z")

</div>

Hi, the maximum number of elements shown in the dropList (when expanded) seems to be 10. Is there a way to increase the number (I want 20 :slight\_smile: )? Thanks

---

## [Processing and pure data](https://discourse.processing.org/t/processing-and-pure-data/2394)

<div class="topic-metadata">

**Author:** [@guy\_22](https://discourse.processing.org/u/guy_22)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 1:22pm UTC](https://discourse.processing.org/t/processing-and-pure-data/2394 "2018-08-06T13:22:45Z")

</div>

Hi, I am trying to send list\\array from pure data into processing with OSC, I manged to do it with one varaibale with oscp5 library but cant mange to send an array\\list of data and unpack it on processing, any idea how …

---

## [Http request library](https://discourse.processing.org/t/http-request-library/2379)

<div class="topic-metadata">

**Author:** [@AbuYazid](https://discourse.processing.org/u/AbuYazid)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 5:14am UTC](https://discourse.processing.org/t/http-request-library/2379 "2018-08-06T05:14:53Z")

</div>

I keep on getting this error message, how to solve it. I tried copying the library files manually but still, it’s not working. pls help

---

## [ControlP5 library, textfield cursor colour](https://discourse.processing.org/t/controlp5-library-textfield-cursor-colour/2321)

<div class="topic-metadata">

**Author:** [@jormil1](https://discourse.processing.org/u/jormil1)\
**Replies:** 6\
**Last updated:** [August 3, 2018, 8:11am UTC](https://discourse.processing.org/t/controlp5-library-textfield-cursor-colour/2321 "2018-08-03T08:11:21Z")

</div>

Hello! I’m new to cp5 lib and processing at all, but I work on a project from about a month and today I faced a problem and can’t find anyone with the same in the forum. I couldn’t figure out how to change the textfield …

---

## [Plot date using Grafica in Processing](https://discourse.processing.org/t/plot-date-using-grafica-in-processing/2239)

<div class="topic-metadata">

**Author:** [@stevenette](https://discourse.processing.org/u/stevenette)\
**Replies:** 2\
**Last updated:** [July 31, 2018, 4:56pm UTC](https://discourse.processing.org/t/plot-date-using-grafica-in-processing/2239 "2018-07-31T16:56:45Z")

</div>

Hello, I have a csv that I have created in processing. Now I want the user to be able to create a graph from these data using the date as the x-axis, and other data on the y-axis. Here is a snippet of the csv. ‘Time Bat…

---

## [Pause and restart Soundfile](https://discourse.processing.org/t/pause-and-restart-soundfile/2122)

<div class="topic-metadata">

**Author:** [@cameyo](https://discourse.processing.org/u/cameyo)\
**Replies:** 5\
**Last updated:** [July 31, 2018, 12:41pm UTC](https://discourse.processing.org/t/pause-and-restart-soundfile/2122 "2018-07-31T12:41:53Z")

</div>

How to pause and restart (from paused position) a Soundfile (mp3) ? Thanks

---

## [Video library to use new GStreamer bindings](https://discourse.processing.org/t/video-library-to-use-new-gstreamer-bindings/2223)

<div class="topic-metadata">

**Author:** [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Replies:** 2\
**Last updated:** [July 31, 2018, 8:47am UTC](https://discourse.processing.org/t/video-library-to-use-new-gstreamer-bindings/2223 "2018-07-31T08:47:04Z")

</div>

These are posts discussing a potential upgrade to the Video library: Video 1.0.1 - Read a frame from a paused video? - Processing 2.x and 3.x Forum Help with text and video - #16 by neilcsmith Project List · proc…

---

## [Sound Library error when playing sound files](https://discourse.processing.org/t/sound-library-error-when-playing-sound-files/306)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 2\
**Last updated:** [July 27, 2018, 8:27pm UTC](https://discourse.processing.org/t/sound-library-error-when-playing-sound-files/306 "2018-07-27T20:27:20Z")

</div>

When I use the Sound library I consistently get this error when playing a sound file “ERROR:/synth/map/input : Audio input index 0 out of range for synth 2.” I will hear some sound, but certainly parts of the sound are d…

---

## [Implements an interface of a library](https://discourse.processing.org/t/implements-an-interface-of-a-library/1928)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 9\
**Last updated:** [July 21, 2018, 4:06am UTC](https://discourse.processing.org/t/implements-an-interface-of-a-library/1928 "2018-07-21T04:06:07Z")

</div>

hello. im trying to create a path tube with shape3D library, but i have a problem to implements a I\_PathGen interface… is the first time that i “implements” a interface and i dont know how exactly make it works. import…

---

## [Hemesh change parameters](https://discourse.processing.org/t/hemesh-change-parameters/1863)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 6\
**Last updated:** [July 20, 2018, 5:38pm UTC](https://discourse.processing.org/t/hemesh-change-parameters/1863 "2018-07-20T17:38:11Z")

</div>

hello! im using the hemesh library to construct 3D meshes, but ive a problem when i want to change the values of a constructor.. how can i change them? here in the example, i want to change the radius according mouseX po…

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

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