# Libraries

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

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

**Page:** 19

---

## [Cannot find a class or type named "Box"](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-box/36587)

<div class="topic-metadata">

**Author:** [@jiajia](https://discourse.processing.org/u/jiajia)\
**Replies:** 4\
**Last updated:** [April 29, 2022, 2:20pm UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-box/36587 "2022-04-29T14:20:49Z")

</div>

import shiffman.box2d.\*; ArrayList\<Box\>boxes; PBox2D box2d; void setup(){ size(400,300); boxes = new ArrayList\<Box\>(); box2d = new PBox2D(this); box2d.createWorld(); } void draw(){ box2d.step(); background…

---

## [Processing and leapmotion](https://discourse.processing.org/t/processing-and-leapmotion/36643)

<div class="topic-metadata">

**Author:** [@Parinaz](https://discourse.processing.org/u/Parinaz)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 11:30pm UTC](https://discourse.processing.org/t/processing-and-leapmotion/36643 "2022-04-28T23:30:37Z")

</div>

Dear I want to attach leap motion to my code and replace the function of mouse with the leap ,however I couldn’t.May I kindly ask you to help me This is my code without leap motion: google drive link : my problem thr…

---

## [Why cannot find a class or type named "Box"](https://discourse.processing.org/t/why-cannot-find-a-class-or-type-named-box/36596)

<div class="topic-metadata">

**Author:** [@jiajia](https://discourse.processing.org/u/jiajia)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 4:23am UTC](https://discourse.processing.org/t/why-cannot-find-a-class-or-type-named-box/36596 "2022-04-28T04:23:59Z")

</div>

import shiffman.box2d.\*; ArrayList\<Box\>boxes; PBox2D box2d; void setup(){ size(400,300); boxes = new ArrayList\<Box\>(); box2d = new PBox2D(this); box2d.createWorld(); } void draw(){ box2d.step(); background…

---

## [How to use "DropdownList bringToFront()" in ControlP5?](https://discourse.processing.org/t/how-to-use-dropdownlist-bringtofront-in-controlp5/31934)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 9:59am UTC](https://discourse.processing.org/t/how-to-use-dropdownlist-bringtofront-in-controlp5/31934 "2022-04-26T09:59:16Z")

</div>

I am adding many drop down lists and when they are open, they overlap. But the one that is open stays behind the other ones. On the example code there is this line, but I cannot find out how to use it :frowning: control…

---

## [Create visuals from sound (wav file)](https://discourse.processing.org/t/create-visuals-from-sound-wav-file/33795)

<div class="topic-metadata">

**Author:** [@Pyo](https://discourse.processing.org/u/Pyo)\
**Replies:** 10\
**Last updated:** [April 25, 2022, 10:21am UTC](https://discourse.processing.org/t/create-visuals-from-sound-wav-file/33795 "2022-04-25T10:21:52Z")

</div>

Hi, i’m new here and just using Processing a little bit. Started by “messing” with existing code. : ) Now, what i’d like to do is generate statics visuals form the data contained in sound files. For exemple amplitude and…

---

## [\[UDP library\] Is it okay to have more UDP client users?](https://discourse.processing.org/t/udp-library-is-it-okay-to-have-more-udp-client-users/36516)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [April 24, 2022, 10:52pm UTC](https://discourse.processing.org/t/udp-library-is-it-okay-to-have-more-udp-client-users/36516 "2022-04-24T22:52:42Z")

</div>

\[UDP library\] Is it okay to have more UDP client users? hello. nice to meet you. Please refer to the picture above. Multiple clients connect to one computer. Client continues to connect. Clients are still connecte…

---

## [Handy renderer on SVGs?](https://discourse.processing.org/t/handy-renderer-on-svgs/36481)

<div class="topic-metadata">

**Author:** [@jjjolton](https://discourse.processing.org/u/jjjolton)\
**Replies:** 4\
**Last updated:** [April 23, 2022, 3:53pm UTC](https://discourse.processing.org/t/handy-renderer-on-svgs/36481 "2022-04-23T15:53:31Z")

</div>

I’m importing some SVGs into a sketch that I’d like to style using HandyRenderer. It looks like there may be some hoops to jump through, as just applying the Handy class to the shape statement doesn’t work import org.gi…

---

## [Importing Live Internet Video in Processing](https://discourse.processing.org/t/importing-live-internet-video-in-processing/8218)

<div class="topic-metadata">

**Author:** [@ernestwzh](https://discourse.processing.org/u/ernestwzh)\
**Replies:** 24\
**Last updated:** [April 21, 2022, 2:24pm UTC](https://discourse.processing.org/t/importing-live-internet-video-in-processing/8218 "2022-04-21T14:24:15Z")

</div>

Hi there, I was just wondering if it is possible to import a live internet video feed from the following weblink into Processing: Ultimately I wish to manipulate the live video but for now I would just like to import …

---

## [Is it possible to download the jblas library somehow](https://discourse.processing.org/t/is-it-possible-to-download-the-jblas-library-somehow/36422)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 8:01pm UTC](https://discourse.processing.org/t/is-it-possible-to-download-the-jblas-library-somehow/36422 "2022-04-20T20:01:09Z")

</div>

how to load jblas library (or other library for neural networks) in processing(on phone (APDE for android)) :face\_with\_raised\_eyebrow:

---

## [Play "source:blob" live online video with Processing](https://discourse.processing.org/t/play-source-blob-live-online-video-with-processing/36424)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 7:23pm UTC](https://discourse.processing.org/t/play-source-blob-live-online-video-with-processing/36424 "2022-04-18T19:23:38Z")

</div>

Hi! I’m trying to play live traffic webcam online video in order to analize it in real time with processing and opencv. The main problem I found is getting access to the video itself, while street web sources go changi…

---

## [G4P GUI: cannot find KeyEvent method](https://discourse.processing.org/t/g4p-gui-cannot-find-keyevent-method/36404)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 5:35pm UTC](https://discourse.processing.org/t/g4p-gui-cannot-find-keyevent-method/36404 "2022-04-18T17:35:10Z")

</div>

I am getting an error on running G4P V4.3.8. The GWindowAWT class cannot find this method public void winMouse(PApplet applet, GWinData windata, MouseEvent ouseevent) { /\* code \*/ } The GWindowAWT class cannot find t…

---

## ["Noise colored TV" style?](https://discourse.processing.org/t/noise-colored-tv-style/36359)

<div class="topic-metadata">

**Author:** [@Lorangeverte](https://discourse.processing.org/u/Lorangeverte)\
**Replies:** 5\
**Last updated:** [April 16, 2022, 1:51pm UTC](https://discourse.processing.org/t/noise-colored-tv-style/36359 "2022-04-16T13:51:57Z")

</div>

Hello all, newbie on Processing, I check this code on the web and I would to know how could I make a “random colored noise as TV style” ? Not just black an white pixels, but random colored pixels. import com.hamoid.\*; …

---

## [MIDI(TheMidiBus) + Variable Fonts](https://discourse.processing.org/t/midi-themidibus-variable-fonts/36335)

<div class="topic-metadata">

**Author:** [@Giaco](https://discourse.processing.org/u/Giaco)\
**Replies:** 3\
**Last updated:** [April 15, 2022, 12:08pm UTC](https://discourse.processing.org/t/midi-themidibus-variable-fonts/36335 "2022-04-15T12:08:52Z")

</div>

Hello everyone, I’m a type design student and for my diploma project I’m looking into possibilities of combining processing with variable fonts. In this specific case, I’m working with the interaction between sound (MID…

---

## [Reading a register value from PLC](https://discourse.processing.org/t/reading-a-register-value-from-plc/36303)

<div class="topic-metadata">

**Author:** [@herdal](https://discourse.processing.org/u/herdal)\
**Replies:** 4\
**Last updated:** [April 13, 2022, 9:40am UTC](https://discourse.processing.org/t/reading-a-register-value-from-plc/36303 "2022-04-13T09:40:46Z")

</div>

Hi , I am conducting a study on reading PLC variables remotely for data processing. I am looking for a way to read register data from a PLC by examining Server and Client examples. How can I read a variable without mak…

---

## [Audio that loops and distorts](https://discourse.processing.org/t/audio-that-loops-and-distorts/36266)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.processing.org/u/mary)\
**Replies:** 0\
**Last updated:** [April 10, 2022, 9:46pm UTC](https://discourse.processing.org/t/audio-that-loops-and-distorts/36266 "2022-04-10T21:46:04Z")

</div>

I’m having trouble finding the correct parameters to make a button that produces a sound so I went with if key == x do this. When the audio plays it doesn’t stop and gets distorted. How do I fix it? The code in /\* \*/ is …

---

## [Video capture in MacOS Monterey (12.0.1) not working](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837)

<div class="topic-metadata">

**Author:** [@nodavid](https://discourse.processing.org/u/nodavid)\
**Replies:** 3\
**Last updated:** [April 6, 2022, 1:52am UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837 "2022-04-06T01:52:51Z")

</div>

Help! Video capture is not working again. This time in MacOS Monterey (12.0.1). Processing (4.0b1) seems to be finding the camera in my laptop (the camera name prints out in the console ok). Looking at system preferences…

---

## [\[JAVA\] UDP Library - Regarding the 'multicast address' setting](https://discourse.processing.org/t/java-udp-library-regarding-the-multicast-address-setting/36144)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 9:12pm UTC](https://discourse.processing.org/t/java-udp-library-regarding-the-multicast-address-setting/36144 "2022-04-05T21:12:30Z")

</div>

\[JAVA\] UDP Library - Regarding the ‘multicast address’ setting Hello. It is related to the ‘UDP’ library. link : hypermedia.net : : UDP If you do not use ‘multicast address’, 1:N communication is not working? f…

---

## [Having a hard time rotating image about a point](https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083)

<div class="topic-metadata">

**Author:** [@Xwalt](https://discourse.processing.org/u/Xwalt)\
**Replies:** 5\
**Last updated:** [April 3, 2022, 11:05am UTC](https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083 "2022-04-03T11:05:05Z")

</div>

PImage base; PImage midarm; PImage secondarm; int baserotation; int midarmrotation; int secondarmrotation; int baseX ; int baseY ; int midarmX ; int midarmY; int secondarmX ; int secondarmY ; import controlP5.\*; Control…

---

## [Remove all items from ControlP5 dropdownlist](https://discourse.processing.org/t/remove-all-items-from-controlp5-dropdownlist/36060)

<div class="topic-metadata">

**Author:** [@ybr](https://discourse.processing.org/u/ybr)\
**Replies:** 1\
**Last updated:** [April 1, 2022, 8:22pm UTC](https://discourse.processing.org/t/remove-all-items-from-controlp5-dropdownlist/36060 "2022-04-01T20:22:33Z")

</div>

Hi, I’m filling a controlp5 dropddownlist with columns from a CSV file. for (int i=0; i\<columns.length; i++) { time.addItem(columns\[i\], i); } But when I load a different file, the controlp5 dropdownlist should sh…

---

## [Issue with using PrintStream](https://discourse.processing.org/t/issue-with-using-printstream/35901)

<div class="topic-metadata">

**Author:** [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 11:12pm UTC](https://discourse.processing.org/t/issue-with-using-printstream/35901 "2022-03-25T23:12:53Z")

</div>

I am trying to create a print stream class and store the errors/console in there, so when errors pop up they are stored in the printstream. This is because I want to send any errors to a server when they appear. I have …

---

## [Writing to a txt file from library in Processing](https://discourse.processing.org/t/writing-to-a-txt-file-from-library-in-processing/35927)

<div class="topic-metadata">

**Author:** [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 3:48pm UTC](https://discourse.processing.org/t/writing-to-a-txt-file-from-library-in-processing/35927 "2022-03-24T15:48:46Z")

</div>

I am creating a custom library for processing, and I am trying to create a txt file to store some basic txt. In eclipse I have been using: PrintWriter writer = new PrintWriter("storage.txt", "UTF-8"); writer.println("S…

---

## [Can’t find the Syphon in the library 😭](https://discourse.processing.org/t/can-t-find-the-syphon-in-the-library/35871)

<div class="topic-metadata">

**Author:** [@ZenyonLee](https://discourse.processing.org/u/ZenyonLee)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 11:58am UTC](https://discourse.processing.org/t/can-t-find-the-syphon-in-the-library/35871 "2022-03-24T11:58:29Z")

</div>

My processing version is 3.5.4. I can find other libraries, but I don’t know why I can’t see the syphon

---

## [Analyze just certain frequency range, minim, FFT, sound](https://discourse.processing.org/t/analyze-just-certain-frequency-range-minim-fft-sound/35823)

<div class="topic-metadata">

**Author:** [@rroarrg](https://discourse.processing.org/u/rroarrg)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 6:20pm UTC](https://discourse.processing.org/t/analyze-just-certain-frequency-range-minim-fft-sound/35823 "2022-03-18T18:20:48Z")

</div>

Hi, i’m trying to make audio reactive visuals from an electric guitar input. For now im just trying to obtain sound values to work on. Guitar pitchs work from 82 to 987 Hz, and I use minim fft analysis to detect the amp…

---

## ["Could not load movie data.mov" problem](https://discourse.processing.org/t/could-not-load-movie-data-mov-problem/35772)

<div class="topic-metadata">

**Author:** [@javieracostas](https://discourse.processing.org/u/javieracostas)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 11:59am UTC](https://discourse.processing.org/t/could-not-load-movie-data-mov-problem/35772 "2022-03-16T11:59:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am trying to import a .mov file to processing and when executing the code the following text appears “Could not load movie file data.mov” I hav…

---

## [Controlling color with webcam ASCII code](https://discourse.processing.org/t/controlling-color-with-webcam-ascii-code/35709)

<div class="topic-metadata">

**Author:** [@owenmg1234](https://discourse.processing.org/u/owenmg1234)\
**Replies:** 0\
**Last updated:** [March 13, 2022, 4:23pm UTC](https://discourse.processing.org/t/controlling-color-with-webcam-ascii-code/35709 "2022-03-13T16:23:08Z")

</div>

Hey All! Recently I’ve been experimenting with Ascii code and my webcam with the hopes I’d be able to control certain areas with colors of my choosing. since I’m sort of new to processing and very new to hard coding, Iv…

---

## [Video library not compatible with version 4.0b7](https://discourse.processing.org/t/video-library-not-compatible-with-version-4-0b7/35683)

<div class="topic-metadata">

**Author:** [@hanslas](https://discourse.processing.org/u/hanslas)\
**Replies:** 2\
**Last updated:** [March 14, 2022, 10:55am UTC](https://discourse.processing.org/t/video-library-not-compatible-with-version-4-0b7/35683 "2022-03-14T10:55:37Z")

</div>

I try to import the Video GStreamer based library Version 2.0 in Processing 4.0.b7. The library manager complains “2.0 not compatible” I tried to download and install it from Github, but the IDE does not see it. Accordin…

---

## [G4P controls not working in diferrent windows](https://discourse.processing.org/t/g4p-controls-not-working-in-diferrent-windows/35705)

<div class="topic-metadata">

**Author:** [@Alan](https://discourse.processing.org/u/Alan)\
**Replies:** 0\
**Last updated:** [March 12, 2022, 9:31pm UTC](https://discourse.processing.org/t/g4p-controls-not-working-in-diferrent-windows/35705 "2022-03-12T21:31:07Z")

</div>

just wanted to add G4P controls into different windows (PApplet s) , no error found , but the problem is that the controls does not work at all !!! meaning … for example if i add a GButton to the main window or the pr…

---

## [Is it possible to get millisecond accurate renders with animated Processing sketches?](https://discourse.processing.org/t/is-it-possible-to-get-millisecond-accurate-renders-with-animated-processing-sketches/35604)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 29\
**Last updated:** [March 12, 2022, 5:43pm UTC](https://discourse.processing.org/t/is-it-possible-to-get-millisecond-accurate-renders-with-animated-processing-sketches/35604 "2022-03-12T17:43:04Z")

</div>

So I’m using processing to generate animations to composite later for a music video project on which I’m working. The problem is, I can’t get my sketches to render consistently so that I can edit them later to sync them…

---

## [Creating an output for Wekinator](https://discourse.processing.org/t/creating-an-output-for-wekinator/35620)

<div class="topic-metadata">

**Author:** [@CameronNorris](https://discourse.processing.org/u/CameronNorris)\
**Replies:** 5\
**Last updated:** [March 9, 2022, 1:03pm UTC](https://discourse.processing.org/t/creating-an-output-for-wekinator/35620 "2022-03-09T13:03:39Z")

</div>

Hi, You will have to forgive my ignorance as my background is in design but I’m currently doing a short course called Machine Learning for Musicians and Artists, which has inspired me to learn new things and get involve…

---

## [What libraries do I need to install in order to use Processing effectively on a Macbook?](https://discourse.processing.org/t/what-libraries-do-i-need-to-install-in-order-to-use-processing-effectively-on-a-macbook/35579)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 9:25pm UTC](https://discourse.processing.org/t/what-libraries-do-i-need-to-install-in-order-to-use-processing-effectively-on-a-macbook/35579 "2022-03-08T21:25:04Z")

</div>

Hello, does anyone know what I would need to install in order to use a Kinect (either version) with Processing so I could draw the outlines of bodies etc? I’ve heard of ‘SimpleOpenNI’ which needs ‘OpenNI’ to be installed…

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

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