# Libraries

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

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

**Page:** 26

---

## [Split-screen with Green library](https://discourse.processing.org/t/split-screen-with-green-library/30817)

<div class="topic-metadata">

**Author:** [@RatdeMare](https://discourse.processing.org/u/RatdeMare)\
**Replies:** 0\
**Last updated:** [June 20, 2021, 6:05pm UTC](https://discourse.processing.org/t/split-screen-with-green-library/30817 "2021-06-20T18:05:15Z")

</div>

Hi, I’ve been using the Processing’s Green library for about a week now and it’s super to make up my first own little multiplayer spaceship shooter game EXCEPT that I absolutely can’t find how to chose where in the windo…

---

## [How to improve frequency detection? with mini library, or with a an other library?](https://discourse.processing.org/t/how-to-improve-frequency-detection-with-mini-library-or-with-a-an-other-library/30665)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 3\
**Last updated:** [June 19, 2021, 5:41pm UTC](https://discourse.processing.org/t/how-to-improve-frequency-detection-with-mini-library-or-with-a-an-other-library/30665 "2021-06-19T17:41:53Z")

</div>

Hello, I work on a machine whose movement is actualized with certain frequencies of a music. You can see an exemple here: I started with the beat detect example from the minim library. But the detection i…

---

## [Change size of G4P controls](https://discourse.processing.org/t/change-size-of-g4p-controls/30722)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 14\
**Last updated:** [June 17, 2021, 5:08pm UTC](https://discourse.processing.org/t/change-size-of-g4p-controls/30722 "2021-06-17T17:08:46Z")

</div>

I’d like to be able to rearrange my G4P controls with the mouse. I’ve found an easy way to move them around with moveTo(newX, newY): //G4P library import g4p\_controls.\*; GButton button; GTextField textField; ArrayList\<…

---

## [Error in sound player](https://discourse.processing.org/t/error-in-sound-player/30717)

<div class="topic-metadata">

**Author:** [@Pauls](https://discourse.processing.org/u/Pauls)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 4:05pm UTC](https://discourse.processing.org/t/error-in-sound-player/30717 "2021-06-17T16:05:23Z")

</div>

I tried to test sound file but there is no respond. Can some one tell me the reason. The music.play become yellow and the following error is on consol: NullPointerException Here is the code: import processing.sound.\*; …

---

## [How to control the mouse in processing?](https://discourse.processing.org/t/how-to-control-the-mouse-in-processing/30684)

<div class="topic-metadata">

**Author:** [@ProcessingTOP](https://discourse.processing.org/u/ProcessingTOP)\
**Replies:** 1\
**Last updated:** [June 14, 2021, 10:20am UTC](https://discourse.processing.org/t/how-to-control-the-mouse-in-processing/30684 "2021-06-14T10:20:37Z")

</div>

We need a library to control the mouse for processing. It is for control, not reading.

---

## [PBox2D How to change individual shapes' Position in a body?](https://discourse.processing.org/t/pbox2d-how-to-change-individual-shapes-position-in-a-body/30646)

<div class="topic-metadata">

**Author:** [@goblincaptain](https://discourse.processing.org/u/goblincaptain)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 3:13pm UTC](https://discourse.processing.org/t/pbox2d-how-to-change-individual-shapes-position-in-a-body/30646 "2021-06-11T15:13:27Z")

</div>

I want to create a static body with two rectangles in processing, and i want them to be like an “L”, but now the two rectangles are placed in the middle, and I don’t know how to fix that. Any suggestion will be appreciat…

---

## [Using Sound with Processing](https://discourse.processing.org/t/using-sound-with-processing/30641)

<div class="topic-metadata">

**Author:** [@Iperez](https://discourse.processing.org/u/Iperez)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 2:45am UTC](https://discourse.processing.org/t/using-sound-with-processing/30641 "2021-06-11T02:45:03Z")

</div>

I am trying to add sound to my code using the Processing sound library but the sound is very slow and suddenly stops playing. I am working with an IMac 8Gb of Ram using Sur. The code is correct, I tested it on other com…

---

## [Need to Delete control from G4P Builder](https://discourse.processing.org/t/need-to-delete-control-from-g4p-builder/30634)

<div class="topic-metadata">

**Author:** [@microchip22](https://discourse.processing.org/u/microchip22)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 6:37pm UTC](https://discourse.processing.org/t/need-to-delete-control-from-g4p-builder/30634 "2021-06-10T18:37:57Z")

</div>

I added a control to a window in the G4P designer and now I want to deleted it. I tried to highlight the control, and press the delete key.

---

## [Reordering a chopped-up video (crop images from frames)](https://discourse.processing.org/t/reordering-a-chopped-up-video-crop-images-from-frames/30567)

<div class="topic-metadata">

**Author:** [@Mat100](https://discourse.processing.org/u/Mat100)\
**Replies:** 4\
**Last updated:** [June 10, 2021, 4:06pm UTC](https://discourse.processing.org/t/reordering-a-chopped-up-video-crop-images-from-frames/30567 "2021-06-10T16:06:06Z")

</div>

Hi, I’m a total noob at Processing. I presume this is possible but it would be good to have it confirmed before I start. :slightly\_smiling\_face: I want to cut rectangles from random frames in an existing video to const…

---

## [Masking an array of videos](https://discourse.processing.org/t/masking-an-array-of-videos/30519)

<div class="topic-metadata">

**Author:** [@softailu](https://discourse.processing.org/u/softailu)\
**Replies:** 1\
**Last updated:** [June 6, 2021, 3:51pm UTC](https://discourse.processing.org/t/masking-an-array-of-videos/30519 "2021-06-06T15:51:01Z")

</div>

Hi! I go back to the forum for help. I’m with a project wanting to simulate with each click a different brush stroke, with a different color. Before helped me to generate the video array but now I want to mask each vid…

---

## [Finding the depth of the body with KinectPV2 library](https://discourse.processing.org/t/finding-the-depth-of-the-body-with-kinectpv2-library/30451)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 3\
**Last updated:** [June 5, 2021, 6:21am UTC](https://discourse.processing.org/t/finding-the-depth-of-the-body-with-kinectpv2-library/30451 "2021-06-05T06:21:14Z")

</div>

Can anyone help me with finding the depth of the body with KinectPV2? I mean I can track the body positions and I can track the depth data but I have no idea how to get the depth data of for example just the hands or ev…

---

## [Handy library get all lines coordinates of a shape possible?](https://discourse.processing.org/t/handy-library-get-all-lines-coordinates-of-a-shape-possible/30497)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 6:55pm UTC](https://discourse.processing.org/t/handy-library-get-all-lines-coordinates-of-a-shape-possible/30497 "2021-06-04T18:55:20Z")

</div>

Hallo guys. Is there any way to get all the hatching lines coordinates from a shape? for example in the following sketch get all the hatching lines of the triangle and the ellipse. I need the coordinates to export as …

---

## [How to play a sound when ( colorFromGet == pas )?](https://discourse.processing.org/t/how-to-play-a-sound-when-colorfromget-pas/30426)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 12\
**Last updated:** [June 1, 2021, 7:58pm UTC](https://discourse.processing.org/t/how-to-play-a-sound-when-colorfromget-pas/30426 "2021-06-01T19:58:37Z")

</div>

int x=1; int y=1; import java.awt.Robot; import java.awt.image.BufferedImage; import java.awt.Rectangle; color pas = color(11, 96, 133); Robot robot; void setup() { size(1500, 3000); try { robot = new Robot(); …

---

## [How can i make a movie array? :S](https://discourse.processing.org/t/how-can-i-make-a-movie-array-s/29827)

<div class="topic-metadata">

**Author:** [@softailu](https://discourse.processing.org/u/softailu)\
**Replies:** 8\
**Last updated:** [May 31, 2021, 5:43pm UTC](https://discourse.processing.org/t/how-can-i-make-a-movie-array-s/29827 "2021-05-31T17:43:20Z")

</div>

Hi! I need help with a problem that I cannot solve. I want to make an array of several .mov recordings and I can’t get it to work. My main idea is to be able to load more than 10 videos in an array and then from mouse …

---

## [Ufdw\_j4k2\_64bit.dll not loaded](https://discourse.processing.org/t/ufdw-j4k2-64bit-dll-not-loaded/30374)

<div class="topic-metadata">

**Author:** [@sergio\_dm](https://discourse.processing.org/u/sergio_dm)\
**Replies:** 0\
**Last updated:** [May 30, 2021, 5:25pm UTC](https://discourse.processing.org/t/ufdw-j4k2-64bit-dll-not-loaded/30374 "2021-05-30T17:25:33Z")

</div>

hi i have installed the j4d library for Kinect on processing, when i try run an example code i get this message, ufdw\_j4k2\_64bit.dll not loaded. how can solve it ? Thanks for your answers.

---

## [Processing.sound: Target VM failed](https://discourse.processing.org/t/processing-sound-target-vm-failed/30186)

<div class="topic-metadata">

**Author:** [@pokelan](https://discourse.processing.org/u/pokelan)\
**Replies:** 1\
**Last updated:** [May 30, 2021, 11:11am UTC](https://discourse.processing.org/t/processing-sound-target-vm-failed/30186 "2021-05-30T11:11:59Z")

</div>

Hi all I am using Processing 3.5.4 on linux. According to the Contribution Manager the sound library from The Processing Foundation is installed. I tried to run this code from the Sound tutorial (Sound \\ Processing.org)…

---

## ["Offline" Rendering?](https://discourse.processing.org/t/offline-rendering/5239)

<div class="topic-metadata">

**Author:** [@namke](https://discourse.processing.org/u/namke)\
**Replies:** 4\
**Last updated:** [May 29, 2021, 5:11am UTC](https://discourse.processing.org/t/offline-rendering/5239 "2021-05-29T05:11:06Z")

</div>

I have a sketch which responds to some audio, and I am happy with how it works. If I feed it a soundfile, that also works as expected. My problem occurs when I want to capture the resultant images to disc, so that I can …

---

## [BoofCV camera calibration error](https://discourse.processing.org/t/boofcv-camera-calibration-error/30286)

<div class="topic-metadata">

**Author:** [@samuset](https://discourse.processing.org/u/samuset)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 8:29pm UTC](https://discourse.processing.org/t/boofcv-camera-calibration-error/30286 "2021-05-26T20:29:03Z")

</div>

Hi, I’m trying to use the camera calibration tool provided by the BoofCV library here, following the tutorial here. My command is as follows: java -jar applications.jar CameraCalibration --Camera=0 --Resolution=640:360…

---

## [Movie Maker using incorrect image order](https://discourse.processing.org/t/movie-maker-using-incorrect-image-order/30281)

<div class="topic-metadata">

**Author:** [@RFullum](https://discourse.processing.org/u/RFullum)\
**Replies:** 2\
**Last updated:** [May 25, 2021, 10:06pm UTC](https://discourse.processing.org/t/movie-maker-using-incorrect-image-order/30281 "2021-05-25T22:06:04Z")

</div>

I have a sketch that is a grid of squares, 10 down, 15 across. Among other animations, what it does is start on the top left square and spin it around. Then it goes across the first row, spinning each square one by one. …

---

## [Activate webcam at certain time while playing video](https://discourse.processing.org/t/activate-webcam-at-certain-time-while-playing-video/30215)

<div class="topic-metadata">

**Author:** [@saskia\_NL](https://discourse.processing.org/u/saskia_NL)\
**Replies:** 6\
**Last updated:** [May 25, 2021, 4:09am UTC](https://discourse.processing.org/t/activate-webcam-at-certain-time-while-playing-video/30215 "2021-05-25T04:09:11Z")

</div>

Hi all, I want to play a video in processing and 1 minute and 34 seconds into the video I want to implement live video footage from the webcam. This is how far I’ve come. How can I activate the webcam 1 minute and 34 …

---

## [\[bezier.data.sql library\] SHOW TABLE STATUS / It doesn't work. / help me](https://discourse.processing.org/t/bezier-data-sql-library-show-table-status-it-doesnt-work-help-me/30179)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 12:11am UTC](https://discourse.processing.org/t/bezier-data-sql-library-show-table-status-it-doesnt-work-help-me/30179 "2021-05-20T00:11:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions import de.bezier.data.sql.\*; SQLite db; String SHOW\_TABLE\_STATUS = "SHOW TABLE STATUS"; String SHOW\_TABLE\_STATUS2 = "SHOW TABLES"; void setup(…

---

## [Kinect on windows 10](https://discourse.processing.org/t/kinect-on-windows-10/20443)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 7:57pm UTC](https://discourse.processing.org/t/kinect-on-windows-10/20443 "2021-05-19T19:57:09Z")

</div>

Hey, I have an error “No kinect devices found”. Im using windows 10 and the library ‘open kinect’. I tried to look up for an answer but didnt find one, so what can I do? Thanks (:

---

## [Making an object react to sound amplitude of live audio feed using minim library or sound library](https://discourse.processing.org/t/making-an-object-react-to-sound-amplitude-of-live-audio-feed-using-minim-library-or-sound-library/30169)

<div class="topic-metadata">

**Author:** [@codestruggles](https://discourse.processing.org/u/codestruggles)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 2:01pm UTC](https://discourse.processing.org/t/making-an-object-react-to-sound-amplitude-of-live-audio-feed-using-minim-library-or-sound-library/30169 "2021-05-19T14:01:58Z")

</div>

Hello! I’m currently working on something i feel should be pretty simple but i’m really struggling to do it :sweat: Basically, i have a png image and i would like to make it move position on the canvas by reacting to l…

---

## [AudioIn not working on mac](https://discourse.processing.org/t/audioin-not-working-on-mac/29886)

<div class="topic-metadata">

**Author:** [@LuckyDots](https://discourse.processing.org/u/LuckyDots)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 7:16am UTC](https://discourse.processing.org/t/audioin-not-working-on-mac/29886 "2021-05-19T07:16:21Z")

</div>

Hello, I’m having some trouble with getting the minim audio input to work. first i tried following this youtube tutorial then i tried using the example code on http://code.compartmental.net/minim/audioinp…

---

## [Drag and Drop audio file into Minim](https://discourse.processing.org/t/drag-and-drop-audio-file-into-minim/15123)

<div class="topic-metadata">

**Author:** [@ozman](https://discourse.processing.org/u/ozman)\
**Replies:** 6\
**Last updated:** [May 16, 2021, 8:49pm UTC](https://discourse.processing.org/t/drag-and-drop-audio-file-into-minim/15123 "2021-05-16T20:49:11Z")

</div>

Hi! I am trying to implement a drag and drop function into a processing visualizer. At the moment i am able to play song through my data folder with minim, but i would like to use the Drop library to upload any song an…

---

## [Export sketch as audio?](https://discourse.processing.org/t/export-sketch-as-audio/30111)

<div class="topic-metadata">

**Author:** [@TheZipCreator](https://discourse.processing.org/u/TheZipCreator)\
**Replies:** 1\
**Last updated:** [May 15, 2021, 10:52pm UTC](https://discourse.processing.org/t/export-sketch-as-audio/30111 "2021-05-15T22:52:16Z")

</div>

so I made the following sketch to scramble audio, and I’m wondering how to export the audio I get from it. Currently I’m just using audacity to record desktop audio while the sketch is running, but that takes long as I m…

---

## [Help with pixels\[\] loadPixels(), etc](https://discourse.processing.org/t/help-with-pixels-loadpixels-etc/30109)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 6\
**Last updated:** [May 15, 2021, 7:49pm UTC](https://discourse.processing.org/t/help-with-pixels-loadpixels-etc/30109 "2021-05-15T19:49:10Z")

</div>

Hi all, I’ve been building some code from scratch to compare the pixels of a reference image to the pixels of each new frame of video being captured by the webcam. I was able to get it to work the way that I wanted (I …

---

## [Drawing a spectogram 2D (or 3D) from a recorded audio](https://discourse.processing.org/t/drawing-a-spectogram-2d-or-3d-from-a-recorded-audio/25708)

<div class="topic-metadata">

**Author:** [@humus](https://discourse.processing.org/u/humus)\
**Replies:** 25\
**Last updated:** [May 11, 2021, 2:39pm UTC](https://discourse.processing.org/t/drawing-a-spectogram-2d-or-3d-from-a-recorded-audio/25708 "2021-05-11T14:39:22Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi Everybody, is there any code to do what in the object of the discussion? Thanks Best regards Roberto

---

## [G4P ToggleButton (change state)](https://discourse.processing.org/t/g4p-togglebutton-change-state/30063)

<div class="topic-metadata">

**Author:** [@Liu.Exit](https://discourse.processing.org/u/Liu.Exit)\
**Replies:** 3\
**Last updated:** [May 13, 2021, 9:34am UTC](https://discourse.processing.org/t/g4p-togglebutton-change-state/30063 "2021-05-13T09:34:16Z")

</div>

Hello, is it possible to change the state of “G4P ToggleButton” other than with the mouse? (For example by receiving information from the serial port.) Thank you

---

## [Calculating pmouseX and pmouseY (Kinect)](https://discourse.processing.org/t/calculating-pmousex-and-pmousey-kinect/30051)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 9:39am UTC](https://discourse.processing.org/t/calculating-pmousex-and-pmousey-kinect/30051 "2021-05-12T09:39:35Z")

</div>

Hey, I’ve got a visual which interacts with the mouseX, mouseY and pmouseX, pmouseY. I wanna change it into interacting with the Kinect body track, however my problem is that I have no idea about changing the pmouse valu…

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

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