# Libraries

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

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

**Page:** 28

---

## [Please, help me. API Post method, I want to solve it](https://discourse.processing.org/t/please-help-me-api-post-method-i-want-to-solve-it/29328)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 3\
**Last updated:** [April 17, 2021, 7:39am UTC](https://discourse.processing.org/t/please-help-me-api-post-method-i-want-to-solve-it/29328 "2021-04-17T07:39:10Z")

</div>

API pdf file : import http.requests.\*; public void setup(){ PostRequest post = new PostRequest("https://getefento.com/"); // api/v2/measurements post.addHeader("Content-Type", "application/json"); post.addHeader…

---

## [Udp, hypermedia.net probleme to send some byte](https://discourse.processing.org/t/udp-hypermedia-net-probleme-to-send-some-byte/29344)

<div class="topic-metadata">

**Author:** [@LOUIS1](https://discourse.processing.org/u/LOUIS1)\
**Replies:** 1\
**Last updated:** [April 13, 2021, 6:14pm UTC](https://discourse.processing.org/t/udp-hypermedia-net-probleme-to-send-some-byte/29344 "2021-04-13T18:14:53Z")

</div>

Hello, i have a problem using the hypermedia.net library, i can’t send bytes, when i try i get error message: “The function” send () "expects parameters like: “send (String, String, int)” ". While normally it is possibl…

---

## [\[JAVA\] POST Is the code you are requesting correct?](https://discourse.processing.org/t/java-post-is-the-code-you-are-requesting-correct/29300)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 3\
**Last updated:** [April 13, 2021, 1:57pm UTC](https://discourse.processing.org/t/java-post-is-the-code-you-are-requesting-correct/29300 "2021-04-13T13:57:01Z")

</div>

import http.requests.\*; public void setup(){ PostRequest post = new PostRequest(“http://cloud.efento.io”); post.addHeader(“Content-Type”, “application/json”); post.addData(“charset”, “UTF-8”); post.addData(“X-Api-T…

---

## [Processing 3.5 and 4 (alpha) still can't find MacOS camera. Issue with the Video Library](https://discourse.processing.org/t/processing-3-5-and-4-alpha-still-cant-find-macos-camera-issue-with-the-video-library/28938)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 6\
**Last updated:** [April 13, 2021, 4:12am UTC](https://discourse.processing.org/t/processing-3-5-and-4-alpha-still-cant-find-macos-camera-issue-with-the-video-library/28938 "2021-04-13T04:12:31Z")

</div>

Hi everyone. I am having a problem with the video library the capture part, which keeps telling me the program can’t see any devices. I am aware of the issue with the video library, which mentioned here in the issue #13…

---

## [Connecting two Kinects to one processing sketch](https://discourse.processing.org/t/connecting-two-kinects-to-one-processing-sketch/29307)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 5:45pm UTC](https://discourse.processing.org/t/connecting-two-kinects-to-one-processing-sketch/29307 "2021-04-12T17:45:28Z")

</div>

I would be grateful if someone helped me for connecting two Kinect V2 to one Processing sketch. I am using KinectPV2 library in windows 10.

---

## [Cp5 slider progressbar](https://discourse.processing.org/t/cp5-slider-progressbar/29225)

<div class="topic-metadata">

**Author:** [@HITman](https://discourse.processing.org/u/HITman)\
**Replies:** 2\
**Last updated:** [April 10, 2021, 7:52am UTC](https://discourse.processing.org/t/cp5-slider-progressbar/29225 "2021-04-10T07:52:12Z")

</div>

Hello, how to use slider as progressbar? If I have 10 lines in array and if for 1 line took 1 second, that means that slider should come to 100% in 10 seconds. B.R Tom

---

## [ControlP5 and keyPressed()](https://discourse.processing.org/t/controlp5-and-keypressed/29221)

<div class="topic-metadata">

**Author:** [@toby](https://discourse.processing.org/u/toby)\
**Replies:** 2\
**Last updated:** [April 9, 2021, 5:44pm UTC](https://discourse.processing.org/t/controlp5-and-keypressed/29221 "2021-04-09T17:44:00Z")

</div>

Hello fellow Processors! I have an issue with CP5 and I’d appreciate any thoughts. I’m using a text field: gui.addTextfield("frames") .setPosition(100, 400) .setSize(30, 30) .setFont(font) .setValue(1)…

---

## [Use Sensors to Play a Video Using Gestures on MacOS and Win](https://discourse.processing.org/t/use-sensors-to-play-a-video-using-gestures-on-macos-and-win/29207)

<div class="topic-metadata">

**Author:** [@JackyMao](https://discourse.processing.org/u/JackyMao)\
**Replies:** 8\
**Last updated:** [April 8, 2021, 1:04pm UTC](https://discourse.processing.org/t/use-sensors-to-play-a-video-using-gestures-on-macos-and-win/29207 "2021-04-08T13:04:57Z")

</div>

We are a few beginners in a school, we want to use Kinect to tell the computer to play a video or a bit of animation based on the movements of the person in front. We used OpenKinect Library on MacOS to try to do this, w…

---

## [How to change the pitch of the audioplayer output file in minim?](https://discourse.processing.org/t/how-to-change-the-pitch-of-the-audioplayer-output-file-in-minim/29197)

<div class="topic-metadata">

**Author:** [@yeppii](https://discourse.processing.org/u/yeppii)\
**Replies:** 1\
**Last updated:** [April 7, 2021, 7:15pm UTC](https://discourse.processing.org/t/how-to-change-the-pitch-of-the-audioplayer-output-file-in-minim/29197 "2021-04-07T19:15:31Z")

</div>

I’m making a piano-like app, and I have a sound file. I want it to play at different pitches every time I press a key. I cant figure out how to change the pitch. How can I do this?

---

## [Beads is using too much memory](https://discourse.processing.org/t/beads-is-using-too-much-memory/27975)

<div class="topic-metadata">

**Author:** [@morusque](https://discourse.processing.org/u/morusque)\
**Replies:** 9\
**Last updated:** [April 5, 2021, 5:08pm UTC](https://discourse.processing.org/t/beads-is-using-too-much-memory/27975 "2021-04-05T17:08:23Z")

</div>

hello, I am using the Beads library to play many sound files, sometimes simultaneously. As new files get periodically loaded and played I want the old ones to stop and be unloaded. But even when I explicitly ask Beads…

---

## [Using OscP5 in native Android environment](https://discourse.processing.org/t/using-oscp5-in-native-android-environment/29118)

<div class="topic-metadata">

**Author:** [@5tefan](https://discourse.processing.org/u/5tefan)\
**Replies:** 0\
**Last updated:** [April 4, 2021, 6:23pm UTC](https://discourse.processing.org/t/using-oscp5-in-native-android-environment/29118 "2021-04-04T18:23:15Z")

</div>

Hello, I’m not sure this is the right forum for my question but as it concerns OscP5 I thought I give it a try. I’m working on an Android application, using OscP5 in a native Android environment (i.e. not Android mode …

---

## [How to get and install Unfolding Map v0.9.9beta library?](https://discourse.processing.org/t/how-to-get-and-install-unfolding-map-v0-9-9beta-library/7363)

<div class="topic-metadata">

**Author:** [@fabwoj](https://discourse.processing.org/u/fabwoj)\
**Replies:** 21\
**Last updated:** [April 3, 2021, 1:57pm UTC](https://discourse.processing.org/t/how-to-get-and-install-unfolding-map-v0-9-9beta-library/7363 "2021-04-03T13:57:07Z")

</div>

Hi there, I would like to use unfolding maps under P3. I saw on the forum that this seems possible using Unfolding Map v0.9.9beta library. Where can I get this library ? Does it work fine ? Thank you very much. Best …

---

## [Physics (Gravity)](https://discourse.processing.org/t/physics-gravity/29047)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 5\
**Last updated:** [April 2, 2021, 6:28am UTC](https://discourse.processing.org/t/physics-gravity/29047 "2021-04-02T06:28:23Z")

</div>

I am trying to simulate an object falling according to gravity. I have most of the simulation working, using Box2D, Bullet, etc. My problem is I want to incorporate all relevant laws of physics and there’s one I cannot f…

---

## [Using Processing via remote desktop for touring music act](https://discourse.processing.org/t/using-processing-via-remote-desktop-for-touring-music-act/10962)

<div class="topic-metadata">

**Author:** [@zumdar](https://discourse.processing.org/u/zumdar)\
**Replies:** 7\
**Last updated:** [April 1, 2021, 2:16am UTC](https://discourse.processing.org/t/using-processing-via-remote-desktop-for-touring-music-act/10962 "2021-04-01T02:16:03Z")

</div>

hiya! I am currently using processing to run a lighting design for a touring band. the computer onstage using an audio interface to take in audio signals from the band. processing analyze that audio and we create visuali…

---

## [Rotate all Ipoints (iGeo library)](https://discourse.processing.org/t/rotate-all-ipoints-igeo-library/28950)

<div class="topic-metadata">

**Author:** [@AmbervanDinther](https://discourse.processing.org/u/AmbervanDinther)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 10:50pm UTC](https://discourse.processing.org/t/rotate-all-ipoints-igeo-library/28950 "2021-03-29T22:50:55Z")

</div>

Hi everyone! I can’t seem to figure out how I can rotate my cube made out of iPoints. I guess I have to rotate each point around a pivitpoint which i place in the middle of all the iPoints. Can anyone give me a tip or h…

---

## [Need help to send video with oscP5](https://discourse.processing.org/t/need-help-to-send-video-with-oscp5/28864)

<div class="topic-metadata">

**Author:** [@green](https://discourse.processing.org/u/green)\
**Replies:** 10\
**Last updated:** [March 28, 2021, 2:56pm UTC](https://discourse.processing.org/t/need-help-to-send-video-with-oscp5/28864 "2021-03-28T14:56:49Z")

</div>

Hello guys, I need some help with a couple of sketches where I’m using the oscP5 and the video libraries. In the first sketch I capture the video from my camera and then I extrapolate the RGB float variables and send the…

---

## [Video library is 700 Mb in size](https://discourse.processing.org/t/video-library-is-700-mb-in-size/28878)

<div class="topic-metadata">

**Author:** [@onimatrix](https://discourse.processing.org/u/onimatrix)\
**Replies:** 3\
**Last updated:** [March 26, 2021, 6:36pm UTC](https://discourse.processing.org/t/video-library-is-700-mb-in-size/28878 "2021-03-26T18:36:17Z")

</div>

Hello comunity! I’ve just found out that the Video library is 700 Mb in size, as GStreamer has tons of dynamic libraries, seemingly for every codec under the sun. My exported application went from 76 Mb (embedding Java…

---

## [Could not connect to Processing Server](https://discourse.processing.org/t/could-not-connect-to-processing-server/28748)

<div class="topic-metadata">

**Author:** [@QQQ](https://discourse.processing.org/u/QQQ)\
**Replies:** 1\
**Last updated:** [March 24, 2021, 10:02pm UTC](https://discourse.processing.org/t/could-not-connect-to-processing-server/28748 "2021-03-24T22:02:25Z")

</div>

getting message - could not connect to processing server. Contributions cannot be installed or updated without internet connection. My internet is connected and I have tried disabling windows defender - nothing works. I…

---

## [Creating Circular Spectrogram](https://discourse.processing.org/t/creating-circular-spectrogram/6502)

<div class="topic-metadata">

**Author:** [@formm\_666](https://discourse.processing.org/u/formm_666)\
**Replies:** 6\
**Last updated:** [March 24, 2021, 5:22pm UTC](https://discourse.processing.org/t/creating-circular-spectrogram/6502 "2021-03-24T17:22:49Z")

</div>

can anyone help point me in a direction on how this can be done Example: https://vimeo.com/27135957 Thanks in advance

---

## [How to send an OSC message from Pure data to Processing?](https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782)

<div class="topic-metadata">

**Author:** [@romulovieira-me](https://discourse.processing.org/u/romulovieira-me)\
**Replies:** 1\
**Last updated:** [March 24, 2021, 6:08am UTC](https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782 "2021-03-24T06:08:46Z")

</div>

Hello guys I want to send a word (string) to a server in Processing. How do I do this in Pure Data, using the OSC protocol? This is the code in processing: Can you give me a tip? Thanks

---

## [Processing Sound Library doesn't work](https://discourse.processing.org/t/processing-sound-library-doesnt-work/4928)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 22\
**Last updated:** [March 22, 2021, 10:12pm UTC](https://discourse.processing.org/t/processing-sound-library-doesnt-work/4928 "2021-03-22T22:12:02Z")

</div>

I wanted to implement some music into my game, and everything actually works, but when I start the programm it takes about 12 seconds until the standard grey background disappears, and I keep getting the following messag…

---

## [Second video won't play after first video](https://discourse.processing.org/t/second-video-wont-play-after-first-video/28656)

<div class="topic-metadata">

**Author:** [@TechnicsMan](https://discourse.processing.org/u/TechnicsMan)\
**Replies:** 5\
**Last updated:** [March 22, 2021, 2:28pm UTC](https://discourse.processing.org/t/second-video-wont-play-after-first-video/28656 "2021-03-22T14:28:10Z")

</div>

So I have a basic understanding of how Processing and coding works and this project is partially based on another person’s work. The problem I’m having is that after the first video is finished playing I can’t play a se…

---

## [How to make 2 videos start/stop by passing the mouse over them](https://discourse.processing.org/t/how-to-make-2-videos-start-stop-by-passing-the-mouse-over-them/28660)

<div class="topic-metadata">

**Author:** [@hellosofieo](https://discourse.processing.org/u/hellosofieo)\
**Replies:** 3\
**Last updated:** [March 22, 2021, 1:56pm UTC](https://discourse.processing.org/t/how-to-make-2-videos-start-stop-by-passing-the-mouse-over-them/28660 "2021-03-22T13:56:35Z")

</div>

Hello everybody! I am new in this and I was wondering if someone could help me with this. I’m trying to start or stop a video when the mouse passed over it, but idk why they don’t appear (only hear the music) or once i…

---

## [How to access active value in controlP5 dropdown list?](https://discourse.processing.org/t/how-to-access-active-value-in-controlp5-dropdown-list/28613)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 2\
**Last updated:** [March 19, 2021, 4:43pm UTC](https://discourse.processing.org/t/how-to-access-active-value-in-controlp5-dropdown-list/28613 "2021-03-19T16:43:44Z")

</div>

I’m trying to use the controlP5 dropdown list: dropdown = cp5.addScrollableList("Filter") .setPosition(10, 55) .setSize(200, 100) .setBarHeight(20) .setItemHeight(20) .addItems(l) .setOpen(fals…

---

## [THE MIDI BUS - Program leaves draw Loop when exporting application](https://discourse.processing.org/t/the-midi-bus-program-leaves-draw-loop-when-exporting-application/28577)

<div class="topic-metadata">

**Author:** [@geraldp001](https://discourse.processing.org/u/geraldp001)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 8:40pm UTC](https://discourse.processing.org/t/the-midi-bus-program-leaves-draw-loop-when-exporting-application/28577 "2021-03-18T20:40:46Z")

</div>

Hello, I wrote a program which takes MIDI input from my keyboard and displays graphics. The program works fine until I am exporting it. After exporting the program seems to freeze after the first MIDI event is trigger…

---

## [How to do shape recognition in video feed?](https://discourse.processing.org/t/how-to-do-shape-recognition-in-video-feed/28408)

<div class="topic-metadata">

**Author:** [@samuset](https://discourse.processing.org/u/samuset)\
**Replies:** 10\
**Last updated:** [March 18, 2021, 1:02pm UTC](https://discourse.processing.org/t/how-to-do-shape-recognition-in-video-feed/28408 "2021-03-18T13:02:48Z")

</div>

Hi, I’m looking to have a number of cubes with different irregular polygons on top of them on a table, with a camera looking down onto them. I’d like to get the position and ID of each cube, based on the shapes on them. …

---

## [SVG from P3D: how to preserve curve continuity and vertex position?](https://discourse.processing.org/t/svg-from-p3d-how-to-preserve-curve-continuity-and-vertex-position/28575)

<div class="topic-metadata">

**Author:** [@YcarusDiedForUs](https://discourse.processing.org/u/YcarusDiedForUs)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 10:35am UTC](https://discourse.processing.org/t/svg-from-p3d-how-to-preserve-curve-continuity-and-vertex-position/28575 "2021-03-18T10:35:59Z")

</div>

Hi! I am trying to make 3D curves with curveVertex and export it as an svg file. However, when I open the resulting svg file with Illustrator, the lines appear correctly, but they are built with unconnected curves, eac…

---

## [ArrayDeque iterator throws "Concurrent Modification Exception"](https://discourse.processing.org/t/arraydeque-iterator-throws-concurrent-modification-exception/28055)

<div class="topic-metadata">

**Author:** [@mxa](https://discourse.processing.org/u/mxa)\
**Replies:** 4\
**Last updated:** [March 16, 2021, 2:23pm UTC](https://discourse.processing.org/t/arraydeque-iterator-throws-concurrent-modification-exception/28055 "2021-03-16T14:23:43Z")

</div>

I’m sending values from another application (Pure Data) to Processing via OSC. That data is then visualized in Processing by scrolling by bars like a waveform using an ArrayDeque. It seems to run fine, except after a few…

---

## [Export application with Video (webcam access) not working](https://discourse.processing.org/t/export-application-with-video-webcam-access-not-working/25494)

<div class="topic-metadata">

**Author:** [@romano](https://discourse.processing.org/u/romano)\
**Replies:** 3\
**Last updated:** [March 13, 2021, 9:03pm UTC](https://discourse.processing.org/t/export-application-with-video-webcam-access-not-working/25494 "2021-03-13T21:03:03Z")

</div>

I made a small tool in Processing 3.5.4 that I would like to export as a standalone application on Windows 10 Home (v. 1909). If I leave out the webcam functionality, the app runs just fine, but as soon as I try to acce…

---

## [Connect and Disconnect events not working on webSocketSever](https://discourse.processing.org/t/connect-and-disconnect-events-not-working-on-websocketsever/28252)

<div class="topic-metadata">

**Author:** [@yeppii](https://discourse.processing.org/u/yeppii)\
**Replies:** 19\
**Last updated:** [March 13, 2021, 2:22pm UTC](https://discourse.processing.org/t/connect-and-disconnect-events-not-working-on-websocketsever/28252 "2021-03-13T14:22:13Z")

</div>

These two functions are not getting called by WebSocketServer. What to do to solve it? (I am using this library → https://github.com/alexandrainst/processing\_websockets) public void webSocketConnectEvent(String uid,…

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

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