# Libraries

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

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

**Page:** 34

---

## [Understanding what Libraries can be added - advice/info resource recommendations](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 2\
**Last updated:** [October 25, 2020, 1:35pm UTC](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888 "2020-10-25T13:35:52Z")

</div>

Hi all, I’m confused about whether it is possible/advisable to import normal Java libraries into Processing. (I’m not a Java person really (at the moment) so can’t draw on any common sense knowledge about whether this …

---

## [Mouse x y coordinates (ControlP5)](https://discourse.processing.org/t/mouse-x-y-coordinates-controlp5/24774)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 6\
**Last updated:** [October 24, 2020, 10:35pm UTC](https://discourse.processing.org/t/mouse-x-y-coordinates-controlp5/24774 "2020-10-24T22:35:52Z")

</div>

Thank you for reading this. The following is a summary of the current code. I have an array of circles that represent LEDs. I have radio buttons, using the P5 library, to select a colour. What I’d like to do is click …

---

## [Passing voice data to Processing](https://discourse.processing.org/t/passing-voice-data-to-processing/24640)

<div class="topic-metadata">

**Author:** [@humus](https://discourse.processing.org/u/humus)\
**Replies:** 23\
**Last updated:** [October 24, 2020, 5:56pm UTC](https://discourse.processing.org/t/passing-voice-data-to-processing/24640 "2020-10-24T17:56:48Z")

</div>

Hi, I am a beginner in using Processing. I would like to make a project where voice commands (given at a real time) by the microphone of the notebook/tablet/smartphone are passed to Processing to display events linked w…

---

## [VIDEO LIBRARY FOR MAC CATALINA (64 bit)?](https://discourse.processing.org/t/video-library-for-mac-catalina-64-bit/24849)

<div class="topic-metadata">

**Author:** [@ggort](https://discourse.processing.org/u/ggort)\
**Replies:** 2\
**Last updated:** [October 23, 2020, 5:31pm UTC](https://discourse.processing.org/t/video-library-for-mac-catalina-64-bit/24849 "2020-10-23T17:31:33Z")

</div>

Has anyone found a work around for video library for Mac Catalina or a new library for 64 bit? Everything I see, and everything I’ve tried suggested in the forum, doesn’t recognize webcam/external cam/or onboard cam. not…

---

## [OpenCV detection problem](https://discourse.processing.org/t/opencv-detection-problem/24831)

<div class="topic-metadata">

**Author:** [@Vickydcl](https://discourse.processing.org/u/Vickydcl)\
**Replies:** 1\
**Last updated:** [October 23, 2020, 12:27pm UTC](https://discourse.processing.org/t/opencv-detection-problem/24831 "2020-10-23T12:27:07Z")

</div>

So I’m doing a videogame where you use your face to move the gun and blink to shot. Mi first attempt was doing it like this: setup() { camara = new Capture( this, ancho, alto ); camara.start(); opencv = new Open…

---

## [Remove Audio when finished playing](https://discourse.processing.org/t/remove-audio-when-finished-playing/24802)

<div class="topic-metadata">

**Author:** [@Darkfusion2](https://discourse.processing.org/u/Darkfusion2)\
**Replies:** 1\
**Last updated:** [October 22, 2020, 5:21pm UTC](https://discourse.processing.org/t/remove-audio-when-finished-playing/24802 "2020-10-22T17:21:48Z")

</div>

So baysicly I got a Video that starts playing when the score of an clickergame hits 100. Everything works good but when the video is finished it stays on the screen. Is there a way so that when the video is over it is …

---

## [About Processing.video](https://discourse.processing.org/t/about-processing-video/24755)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 9\
**Last updated:** [October 22, 2020, 6:27am UTC](https://discourse.processing.org/t/about-processing-video/24755 "2020-10-22T06:27:56Z")

</div>

Everytime when I try to run a sketch including processing video library it crashes and gives this error: UnsatisfiedLinkError: Could not load library: gstreamer UnsatisfiedLinkError: Could not load library: gstreamer …

---

## [Object help new user](https://discourse.processing.org/t/object-help-new-user/24711)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 10\
**Last updated:** [October 21, 2020, 9:44pm UTC](https://discourse.processing.org/t/object-help-new-user/24711 "2020-10-21T21:44:35Z")

</div>

I’m a realtively new user. I’ve been watching Dan SHiffman videos and studying the examples given in the processing environment. Lately, I’ve been studying the example in the contributed libraries/controlP5/controllers/c…

---

## [Oscillating audio file volume slider with Minim & Processing](https://discourse.processing.org/t/oscillating-audio-file-volume-slider-with-minim-processing/24731)

<div class="topic-metadata">

**Author:** [@acousticer](https://discourse.processing.org/u/acousticer)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 9:55am UTC](https://discourse.processing.org/t/oscillating-audio-file-volume-slider-with-minim-processing/24731 "2020-10-20T09:55:13Z")

</div>

Hi, I’ve just been using processing for a few weeks but I’m struggling to understand how I can code this with Minim. I’ve made a slider, which controls the gain of an audio track (setVolume hasn’t worked for me). Eithe…

---

## [Unsatisfied Link Error despite Shared Library existing at proper location](https://discourse.processing.org/t/unsatisfied-link-error-despite-shared-library-existing-at-proper-location/22544)

<div class="topic-metadata">

**Author:** [@johnbentcope](https://discourse.processing.org/u/johnbentcope)\
**Replies:** 6\
**Last updated:** [October 19, 2020, 2:00pm UTC](https://discourse.processing.org/t/unsatisfied-link-error-despite-shared-library-existing-at-proper-location/22544 "2020-10-19T14:00:57Z")

</div>

Hello! I’ve been working on a codebase for a while now on Ubuntu 20.04, but for a ROS dependency I’ve installed 18.04 on another partition and am trying to get going again. In the new installation, I’ve recompiled my cop…

---

## [Using nyar4psg library for augmented reality](https://discourse.processing.org/t/using-nyar4psg-library-for-augmented-reality/23992)

<div class="topic-metadata">

**Author:** [@padmakn](https://discourse.processing.org/u/padmakn)\
**Replies:** 12\
**Last updated:** [October 19, 2020, 12:17pm UTC](https://discourse.processing.org/t/using-nyar4psg-library-for-augmented-reality/23992 "2020-10-19T12:17:35Z")

</div>

Hi, I am using the nyar4psg library for augmented reality. I am able to see the 3d cube in the below picture in my tablet when its camera is pointing to a marker image, but how is it coming out on the paper. I mean how …

---

## [HTTP Requests for JSON string and next release with upgrade version](https://discourse.processing.org/t/http-requests-for-json-string-and-next-release-with-upgrade-version/24496)

<div class="topic-metadata">

**Author:** [@YuneeBird](https://discourse.processing.org/u/YuneeBird)\
**Replies:** 0\
**Last updated:** [October 10, 2020, 8:23am UTC](https://discourse.processing.org/t/http-requests-for-json-string-and-next-release-with-upgrade-version/24496 "2020-10-10T08:23:58Z")

</div>

Hi, I am grateful the code and library is available and Thanks for the contributors. However, the jsonpost.pde example for adddata( string ) method does seem to work when I install the library 0.1.4 from ‘contrib…

---

## [macOS question pixels\[loc\] issue](https://discourse.processing.org/t/macos-question-pixels-loc-issue/24411)

<div class="topic-metadata">

**Author:** [@8SU](https://discourse.processing.org/u/8SU)\
**Replies:** 2\
**Last updated:** [October 9, 2020, 10:39am UTC](https://discourse.processing.org/t/macos-question-pixels-loc-issue/24411 "2020-10-09T10:39:06Z")

</div>

please format code with \</\> button \* homework policy \* asking questions i used macOS and processing 3 ver(3.5.4) before i have video library issue so fix that link but i have one more issue void draw() { //ima…

---

## [Is there a way to extract samples from an audio file?](https://discourse.processing.org/t/is-there-a-way-to-extract-samples-from-an-audio-file/24423)

<div class="topic-metadata">

**Author:** [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 3:42am UTC](https://discourse.processing.org/t/is-there-a-way-to-extract-samples-from-an-audio-file/24423 "2020-10-08T03:42:00Z")

</div>

Is there a way to extract every individual sample from an audio file for processing? I want to do things with samples from audio files, but I’m not sure how to do that. It doesn’t matter what format of audio file, alth…

---

## [XYScope and FFT sketch - Assign audio input?](https://discourse.processing.org/t/xyscope-and-fft-sketch-assign-audio-input/24400)

<div class="topic-metadata">

**Author:** [@thagreatbelow](https://discourse.processing.org/u/thagreatbelow)\
**Replies:** 3\
**Last updated:** [October 7, 2020, 9:13am UTC](https://discourse.processing.org/t/xyscope-and-fft-sketch-assign-audio-input/24400 "2020-10-07T09:13:46Z")

</div>

Hello all, I’m trying to figure out how to get this particular sketch to function properly, and I assume I’m doing something wrong as that’s generally the case. The code can be found here https://forum.processing.org/two…

---

## [A question about my code (video)](https://discourse.processing.org/t/a-question-about-my-code-video/24329)

<div class="topic-metadata">

**Author:** [@8SU](https://discourse.processing.org/u/8SU)\
**Replies:** 4\
**Last updated:** [October 7, 2020, 6:19am UTC](https://discourse.processing.org/t/a-question-about-my-code-video/24329 "2020-10-07T06:19:57Z")

</div>

So I’m new to Processing 3, and i can’t understand this issue import processing.video.\*; Capture cam; Capture G; Capture B; Capture R; int capW = 320; int capH = 240; int nDelayFrames = 20; // about 3 seconds (3s…

---

## [Is masking available for vector shapes, outside of PImage.mask()?](https://discourse.processing.org/t/is-masking-available-for-vector-shapes-outside-of-pimage-mask/24320)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 4\
**Last updated:** [October 5, 2020, 2:45pm UTC](https://discourse.processing.org/t/is-masking-available-for-vector-shapes-outside-of-pimage-mask/24320 "2020-10-05T14:45:20Z")

</div>

Can I mask a vector shape using another vector shape, and have the end result be a vector? (e.g., for exporting to vector PDF / SVG) Or is masking available only for pixels, meaning both that the mask itself needs to be …

---

## [Passing through object when clicking](https://discourse.processing.org/t/passing-through-object-when-clicking/24338)

<div class="topic-metadata">

**Author:** [@hugoromo](https://discourse.processing.org/u/hugoromo)\
**Replies:** 1\
**Last updated:** [October 4, 2020, 7:19pm UTC](https://discourse.processing.org/t/passing-through-object-when-clicking/24338 "2020-10-04T19:19:28Z")

</div>

Hello, So I was wondering if there is any way of making a click pass through from an object at front to an object behind, I’m using the the Picking library in a 3D canvas I have a cube made of boxes, and would like to …

---

## [How to slow down audio with minim?](https://discourse.processing.org/t/how-to-slow-down-audio-with-minim/11212)

<div class="topic-metadata">

**Author:** [@RienziDeal](https://discourse.processing.org/u/RienziDeal)\
**Replies:** 3\
**Last updated:** [October 4, 2020, 7:36am UTC](https://discourse.processing.org/t/how-to-slow-down-audio-with-minim/11212 "2020-10-04T07:36:33Z")

</div>

Hi, I’m using a song and I want it to slow down but continue playing slower from the same point when clicked when I click on an alcohol bottle (which will imply that the character is drunk) Any help?

---

## [Processing video library can't display human figure in a video with green background(solved)](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270)

<div class="topic-metadata">

**Author:** [@Kenny](https://discourse.processing.org/u/Kenny)\
**Replies:** 2\
**Last updated:** [October 2, 2020, 2:03pm UTC](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270 "2020-10-02T14:03:43Z")

</div>

Hi everyone, I am using the following code to play the welcoming p5js video which is green background with human figures talking. The problem is that I can only see green canvas (and hear voices) without human figures. …

---

## [Kinect PV2 record color point cloud](https://discourse.processing.org/t/kinect-pv2-record-color-point-cloud/10939)

<div class="topic-metadata">

**Author:** [@phaidon](https://discourse.processing.org/u/phaidon)\
**Replies:** 8\
**Last updated:** [October 1, 2020, 6:32pm UTC](https://discourse.processing.org/t/kinect-pv2-record-color-point-cloud/10939 "2020-10-01T18:32:13Z")

</div>

Hello, i am trying to record the point cloud with color using this Kinect PV2 library, apparenty the getPointCloudColorPos() returns - INFINITY values, so i used 3 buffers two for the represantation in the processing s…

---

## [BufferedAudio does not exist Minim](https://discourse.processing.org/t/bufferedaudio-does-not-exist-minim/24239)

<div class="topic-metadata">

**Author:** [@rookieCookie](https://discourse.processing.org/u/rookieCookie)\
**Replies:** 2\
**Last updated:** [October 1, 2020, 5:24am UTC](https://discourse.processing.org/t/bufferedaudio-does-not-exist-minim/24239 "2020-10-01T05:24:01Z")

</div>

Hello, I have an Arduino project for which I’m trying to downsample an mp3 track. To do so, I came across Processing and similar project. However, this is the error that I’m stuck with “The variable “BufferedAudio” does…

---

## [Processing Video library inconsistent behavior with jumping](https://discourse.processing.org/t/processing-video-library-inconsistent-behavior-with-jumping/24214)

<div class="topic-metadata">

**Author:** [@musiciantriescoding](https://discourse.processing.org/u/musiciantriescoding)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 8:59am UTC](https://discourse.processing.org/t/processing-video-library-inconsistent-behavior-with-jumping/24214 "2020-09-29T08:59:03Z")

</div>

Hello everyone! I am experiencing some inconsistent behavior from the Processing video library. What I’m trying to do: I’m making a video sampler with a midi keyboard. When I play a key, the video jumps to a timestamp…

---

## [For Processing, is there some GUI box I can show or something?](https://discourse.processing.org/t/for-processing-is-there-some-gui-box-i-can-show-or-something/24069)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 5\
**Last updated:** [September 28, 2020, 8:07pm UTC](https://discourse.processing.org/t/for-processing-is-there-some-gui-box-i-can-show-or-something/24069 "2020-09-28T20:07:14Z")

</div>

Is there a library or something that I can import for Processing which can show a GUI box which prompts the user to fill out information, for example age, gender etc?

---

## [Music visualizer processing (minim library)](https://discourse.processing.org/t/music-visualizer-processing-minim-library/24067)

<div class="topic-metadata">

**Author:** [@sabrufran](https://discourse.processing.org/u/sabrufran)\
**Replies:** 2\
**Last updated:** [September 28, 2020, 12:33pm UTC](https://discourse.processing.org/t/music-visualizer-processing-minim-library/24067 "2020-09-28T12:33:08Z")

</div>

hi, i’m new to Processing and i’m interested in being able to synchronize the sketch with the audio specifically that the height of the “mountains” grows in sync with the audio. I made this sketch following the video: ht…

---

## [Physics libraries, bodies inside bodies](https://discourse.processing.org/t/physics-libraries-bodies-inside-bodies/24073)

<div class="topic-metadata">

**Author:** [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Replies:** 2\
**Last updated:** [September 25, 2020, 11:40am UTC](https://discourse.processing.org/t/physics-libraries-bodies-inside-bodies/24073 "2020-09-25T11:40:57Z")

</div>

I want to make a simulation that has bodies inside bodies. The only way I have been able to achieve this is by making blobby bodies by Daniel Shiffman and then making new bodies inside the blob. How could I try to make m…

---

## [Is there a better way of playing video files in sequence?](https://discourse.processing.org/t/is-there-a-better-way-of-playing-video-files-in-sequence/24103)

<div class="topic-metadata">

**Author:** [@delphi](https://discourse.processing.org/u/delphi)\
**Replies:** 0\
**Last updated:** [September 24, 2020, 3:43pm UTC](https://discourse.processing.org/t/is-there-a-better-way-of-playing-video-files-in-sequence/24103 "2020-09-24T15:43:59Z")

</div>

I’m very new to coding. I’m trying to make a Pong game with videos playing, one at a time, on the background of the game. While each video file ran smoothly on its own, the code I wrote for the sequence of videos made t…

---

## [Geomerative text question](https://discourse.processing.org/t/geomerative-text-question/24076)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 7\
**Last updated:** [September 24, 2020, 1:07pm UTC](https://discourse.processing.org/t/geomerative-text-question/24076 "2020-09-24T13:07:48Z")

</div>

Hi everyone ! I have a question about Geomerative library. When I am drawing my shape with curveVertex, I can’t control my fill function. Can anyone help me ? My code is :point\_down: import geomerative.\*; RFont f; R…

---

## [How to change the colours for the buttons for controlP5 library?](https://discourse.processing.org/t/how-to-change-the-colours-for-the-buttons-for-controlp5-library/24091)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 5\
**Last updated:** [September 24, 2020, 6:53am UTC](https://discourse.processing.org/t/how-to-change-the-colours-for-the-buttons-for-controlp5-library/24091 "2020-09-24T06:53:20Z")

</div>

I am using the controlP5 library and I have these two buttons. I want to have different colours for different buttons. I tried using fill() to change the colour but that doesn’t seem to work. Here is the code. impor…

---

## [Using insert data to adjust volume (beads)](https://discourse.processing.org/t/using-insert-data-to-adjust-volume-beads/24062)

<div class="topic-metadata">

**Author:** [@learningL](https://discourse.processing.org/u/learningL)\
**Replies:** 10\
**Last updated:** [September 23, 2020, 1:04pm UTC](https://discourse.processing.org/t/using-insert-data-to-adjust-volume-beads/24062 "2020-09-23T13:04:48Z")

</div>

I am trying to inset a table and use the data to adjust the volume in gains But I don’t know how to do it since they are in different methods but if i put them together, there will be an error also, i’m using the libra…

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

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