# Libraries

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

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

**Page:** 5

---

## [UIBooster help?](https://discourse.processing.org/t/uibooster-help/44181)

<div class="topic-metadata">

**Author:** [@Faramir](https://discourse.processing.org/u/Faramir)\
**Replies:** 1\
**Last updated:** [August 6, 2024, 7:10am UTC](https://discourse.processing.org/t/uibooster-help/44181 "2024-08-06T07:10:50Z")

</div>

Hello, first : just to know if anyone use it ! second : I’d like to use a Form with a canva element, I don’t know how to modify the windows width and to have the content when it’s closed (I don’t really understand the e…

---

## [Sound input name](https://discourse.processing.org/t/sound-input-name/44862)

<div class="topic-metadata">

**Author:** [@larry](https://discourse.processing.org/u/larry)\
**Replies:** 3\
**Last updated:** [August 6, 2024, 5:34am UTC](https://discourse.processing.org/t/sound-input-name/44862 "2024-08-06T05:34:23Z")

</div>

Is it possible to specify the sound.inputDevice by name and not by number? The order of the input devices shifts on my computer but when I try and enter a device name I get an error saying inuptDevice only accepts an int…

---

## [Saving AudioSample as a sound file of any format](https://discourse.processing.org/t/saving-audiosample-as-a-sound-file-of-any-format/23174)

<div class="topic-metadata">

**Author:** [@ramdheads](https://discourse.processing.org/u/ramdheads)\
**Replies:** 9\
**Last updated:** [August 4, 2024, 10:05pm UTC](https://discourse.processing.org/t/saving-audiosample-as-a-sound-file-of-any-format/23174 "2024-08-04T22:05:52Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, I am using the sound library to generate sound from existing .wav files. And after looking for a while for a way to save the generated s…

---

## [Acquiring the half-edge mesh library](https://discourse.processing.org/t/acquiring-the-half-edge-mesh-library/44875)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 5\
**Last updated:** [August 2, 2024, 3:23pm UTC](https://discourse.processing.org/t/acquiring-the-half-edge-mesh-library/44875 "2024-08-02T15:23:12Z")

</div>

Hi guys that’s a long shot i said id try. im trying to put my hands on the half edge mesh library, allowing to create and transform shapes in real time as you can see in the vid from like 11 years ago the…

---

## [NVR(Network Video Recorder) I want to make a video recording function](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 8\
**Last updated:** [August 2, 2024, 12:18pm UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872 "2024-08-02T12:18:59Z")

</div>

I want to make a video recording function. I want to make a video recording function like ‘mp4 or wav or avi’ extension. Is there any library provided? If there is, please recommend it.

---

## [Minim AudioInput NullPointerException](https://discourse.processing.org/t/minim-audioinput-nullpointerexception/3557)

<div class="topic-metadata">

**Author:** [@matthewortega](https://discourse.processing.org/u/matthewortega)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 6:10pm UTC](https://discourse.processing.org/t/minim-audioinput-nullpointerexception/3557 "2024-07-29T18:10:33Z")

</div>

Just got a new MacBook Pro and for some reason Minim AudioInput has trouble connecting to the Default LineIn. Was wondering if anyone else is experiencing this problem. If you would like to try, I am just running the def…

---

## [Minim library, code I'm using is deprecated](https://discourse.processing.org/t/minim-library-code-im-using-is-deprecated/44832)

<div class="topic-metadata">

**Author:** [@clairep](https://discourse.processing.org/u/clairep)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 4:45am UTC](https://discourse.processing.org/t/minim-library-code-im-using-is-deprecated/44832 "2024-07-26T04:45:44Z")

</div>

I am a complete beginner with processing, and am using it to act as the brains for a circuitry project I’m working on. I found some code that uses the minim library, but it is old code, written for a different version of…

---

## [Exporting Adobe color swatche .ase file](https://discourse.processing.org/t/exporting-adobe-color-swatche-ase-file/44818)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 10:02pm UTC](https://discourse.processing.org/t/exporting-adobe-color-swatche-ase-file/44818 "2024-07-25T22:02:59Z")

</div>

hello all, I am generating some color palettes that I would like to export as .ase file to make it easier to import in Adobe softwares. tried to use the HYPE library, but the palettes are just empty, I asked ChatGPT an…

---

## [Paint on Webcam Stream](https://discourse.processing.org/t/paint-on-webcam-stream/44803)

<div class="topic-metadata">

**Author:** [@Atelierista](https://discourse.processing.org/u/Atelierista)\
**Replies:** 8\
**Last updated:** [July 24, 2024, 11:12am UTC](https://discourse.processing.org/t/paint-on-webcam-stream/44803 "2024-07-24T11:12:37Z")

</div>

Hi there, I need to write a small, straightforward program that allows children to draw into a webcam picture. I don’t have much time to do it, so I want to ask the pros before sinking valuable hours into code that does…

---

## [VideoExport: NoSuchFieldError: You may be using a library that's incompatible with this version of Processing](https://discourse.processing.org/t/videoexport-nosuchfielderror-you-may-be-using-a-library-thats-incompatible-with-this-version-of-processing/44782)

<div class="topic-metadata">

**Author:** [@minusminus](https://discourse.processing.org/u/minusminus)\
**Replies:** 10\
**Last updated:** [July 23, 2024, 6:51am UTC](https://discourse.processing.org/t/videoexport-nosuchfielderror-you-may-be-using-a-library-thats-incompatible-with-this-version-of-processing/44782 "2024-07-23T06:51:31Z")

</div>

Hey friends, I installed Processing 4 on an M1 Macbook Pro, installed VideoExport and got a NoSuchFieldError. I googled it and came across this github bug from a few years back. I though I’d just switch to P3, so I in…

---

## [.dxf export to smaller file size\_Where is superCAD?](https://discourse.processing.org/t/dxf-export-to-smaller-file-size-where-is-supercad/44790)

<div class="topic-metadata">

**Author:** [@Mindbogged](https://discourse.processing.org/u/Mindbogged)\
**Replies:** 0\
**Last updated:** [July 21, 2024, 8:29am UTC](https://discourse.processing.org/t/dxf-export-to-smaller-file-size-where-is-supercad/44790 "2024-07-21T08:29:54Z")

</div>

Hi everyone. I am extremely novice in coding but mange my way somehow. I am trying to reduce the file size of my dxf since files are too large to open in the CAD software I am using. I managed to open files in Freecad,…

---

## [Receiving numbers from Pure Data via OSC](https://discourse.processing.org/t/receiving-numbers-from-pure-data-via-osc/44786)

<div class="topic-metadata">

**Author:** [@fra](https://discourse.processing.org/u/fra)\
**Replies:** 6\
**Last updated:** [July 20, 2024, 5:55pm UTC](https://discourse.processing.org/t/receiving-numbers-from-pure-data-via-osc/44786 "2024-07-20T17:55:15Z")

</div>

Hi, I built a patch in Pure Data to send numbers via OSC: and I verified that the numbers were received (in the Pure Data console, not in Processing), and they are received correctly. Now, what is the way to receive…

---

## [Change Icon in GWindow in G4P?](https://discourse.processing.org/t/change-icon-in-gwindow-in-g4p/44780)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 6\
**Last updated:** [July 18, 2024, 5:02pm UTC](https://discourse.processing.org/t/change-icon-in-gwindow-in-g4p/44780 "2024-07-18T17:02:46Z")

</div>

Hi Peter, Was wondering if there’s a way to swap out the GWindow icon on the upper left corner of new GWindows? Spent a couple hours researching and experimenting before posting here. I found one old post where you gav…

---

## [G4P Close Window Vs Hide Window](https://discourse.processing.org/t/g4p-close-window-vs-hide-window/44761)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 9\
**Last updated:** [July 15, 2024, 2:47pm UTC](https://discourse.processing.org/t/g4p-close-window-vs-hide-window/44761 "2024-07-15T14:47:05Z")

</div>

Hi Peter, This was discussed in another thread, but I felt it needed its own dedicated thread. I want to be able to handle when a user clicks the “x” button to close a GWindow, and also be able to “hide” it using a butt…

---

## [Processing library template using Gradle](https://discourse.processing.org/t/processing-library-template-using-gradle/44739)

<div class="topic-metadata">

**Author:** [@enkatsu](https://discourse.processing.org/u/enkatsu)\
**Replies:** 9\
**Last updated:** [July 14, 2024, 8:36pm UTC](https://discourse.processing.org/t/processing-library-template-using-gradle/44739 "2024-07-14T20:36:11Z")

</div>

Hi! I have been developing a Processing libraries using Gradle for a while now. You can develop this way using your favorite editor such as Eclipse, IntelliJ IDEA, VSCode, etc. I have created a template repository that y…

---

## [Project approach (height map from image)](https://discourse.processing.org/t/project-approach-height-map-from-image/44281)

<div class="topic-metadata">

**Author:** [@Qprocessing](https://discourse.processing.org/u/Qprocessing)\
**Replies:** 7\
**Last updated:** [July 13, 2024, 2:17pm UTC](https://discourse.processing.org/t/project-approach-height-map-from-image/44281 "2024-07-13T14:17:26Z")

</div>

Hello I’m figuring out a project to make a topography of a mountain. I have an example image as a goal. I did a test with still image (final goals is video) The result is not really anything near what I want …

---

## [G4P One More Small Refinement for Droplists](https://discourse.processing.org/t/g4p-one-more-small-refinement-for-droplists/44762)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 5\
**Last updated:** [July 14, 2024, 9:55am UTC](https://discourse.processing.org/t/g4p-one-more-small-refinement-for-droplists/44762 "2024-07-14T09:55:37Z")

</div>

Hi Peter, don’t kill me, but there is one more little thing that would be amazing to add to the droplists at some point - the ability to click into the scrollbar track to move a screenful at a time, or click and hold to …

---

## [G4P java Concurrent Modification Exception Error when exit() called](https://discourse.processing.org/t/g4p-java-concurrent-modification-exception-error-when-exit-called/44532)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 27\
**Last updated:** [July 10, 2024, 5:14pm UTC](https://discourse.processing.org/t/g4p-java-concurrent-modification-exception-error-when-exit-called/44532 "2024-07-10T17:14:43Z")

</div>

Hi all, Just getting a strange java.util.ConcurrentModificationException message when using multiple windows in G4P. It all seems to work fine until I try to use an “Exit” button (calling exit()), and then I get the fo…

---

## [Hitting up against variable scope issue with OSC messages](https://discourse.processing.org/t/hitting-up-against-variable-scope-issue-with-osc-messages/44736)

<div class="topic-metadata">

**Author:** [@dom](https://discourse.processing.org/u/dom)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 10:57am UTC](https://discourse.processing.org/t/hitting-up-against-variable-scope-issue-with-osc-messages/44736 "2024-07-09T10:57:50Z")

</div>

Hello all, I’m having a problem passing OSC into processing. Everything is working in the code below except for the fact that the ellipse does not find the variable pan. I even know why this is: variable scope. However,…

---

## [Image to Audio, Spectrogram Player](https://discourse.processing.org/t/image-to-audio-spectrogram-player/44731)

<div class="topic-metadata">

**Author:** [@karmakarma](https://discourse.processing.org/u/karmakarma)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 11:18am UTC](https://discourse.processing.org/t/image-to-audio-spectrogram-player/44731 "2024-07-08T11:18:00Z")

</div>

dear all, i’m aiming at doing a Processing version of this: Image to Audio, Spectrogram Player basically what I want is to encode an image generated in Processing in an audio file, and make Processing itself play this …

---

## [G4P Droplist scroll bar](https://discourse.processing.org/t/g4p-droplist-scroll-bar/44503)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 13\
**Last updated:** [July 5, 2024, 5:00pm UTC](https://discourse.processing.org/t/g4p-droplist-scroll-bar/44503 "2024-07-05T17:00:55Z")

</div>

Hi Peter, simple question - if I’m using the mousewheel event to change the droplist items, I notice the vertical scrollbar stays put. The scrollbar only moves if I click the down or up arrows. Also, I cannot drag the s…

---

## [G4P Tooltip underneath other controls](https://discourse.processing.org/t/g4p-tooltip-underneath-other-controls/44662)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 13\
**Last updated:** [July 5, 2024, 5:00pm UTC](https://discourse.processing.org/t/g4p-tooltip-underneath-other-controls/44662 "2024-07-05T17:00:11Z")

</div>

What a great library! Just a small issue, for some reason if controls are near each other, the tooltips go under other controls. See pic: Is there any way to fix this, or just move the controls? It makes it harder …

---

## [Getting a PShape from an emoji...?](https://discourse.processing.org/t/getting-a-pshape-from-an-emoji/44479)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 20\
**Last updated:** [July 5, 2024, 5:44am UTC](https://discourse.processing.org/t/getting-a-pshape-from-an-emoji/44479 "2024-07-05T05:44:19Z")

</div>

Processing has this PFont method, “undocumented” (not in the main public reference), called .getShape(), that will give you a PShape of a glyph from a font object: PFont docs But there is a catch… it will only take a…

---

## [Detecting sun & moon / OpenCV & other libraries for object detection](https://discourse.processing.org/t/detecting-sun-moon-opencv-other-libraries-for-object-detection/44685)

<div class="topic-metadata">

**Author:** [@karmakarma](https://discourse.processing.org/u/karmakarma)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 7:38pm UTC](https://discourse.processing.org/t/detecting-sun-moon-opencv-other-libraries-for-object-detection/44685 "2024-07-02T19:38:18Z")

</div>

hej all, i’ve been struggling with finding a feasible solution to do the object detection of images of the sun and the moon (so, roughly, two circular bright spots). my first trial was installing python and trying my lu…

---

## [G4P - Setting custom colors for knob?](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666)

<div class="topic-metadata">

**Author:** [@shlain](https://discourse.processing.org/u/shlain)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 12:40pm UTC](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666 "2024-07-01T12:40:09Z")

</div>

Hey folks, I have a quick question I couldn’t solve about G4P library. I am using GKnob, and have succeeded to change its colors using the pre-added color schemes: knob.setLocalColorScheme(4); But in order to align wi…

---

## [SVG from Audio Amplitude?](https://discourse.processing.org/t/svg-from-audio-amplitude/44633)

<div class="topic-metadata">

**Author:** [@bdon](https://discourse.processing.org/u/bdon)\
**Replies:** 14\
**Last updated:** [June 30, 2024, 11:18am UTC](https://discourse.processing.org/t/svg-from-audio-amplitude/44633 "2024-06-30T11:18:17Z")

</div>

Hi - I’d like to render a small audio file (.wav) into an SVG represention of its amplitude. Is this possible? Is Processing the best tool for the job or is there something else that would be better for this purpose? …

---

## [Scramble/Unscramble Audio File](https://discourse.processing.org/t/scramble-unscramble-audio-file/44637)

<div class="topic-metadata">

**Author:** [@dheld](https://discourse.processing.org/u/dheld)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 8:34pm UTC](https://discourse.processing.org/t/scramble-unscramble-audio-file/44637 "2024-06-26T20:34:21Z")

</div>

I’m creating a sound installation and I’m a novice Processing programmer. There will be 2 audio files. I’d like to scramble the 2 files to create a mashup of the 2 sounds, then I’d like to reverse the process and unscram…

---

## [How to specify the IP when multi networkcard](https://discourse.processing.org/t/how-to-specify-the-ip-when-multi-networkcard/44438)

<div class="topic-metadata">

**Author:** [@techno](https://discourse.processing.org/u/techno)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 12:52am UTC](https://discourse.processing.org/t/how-to-specify-the-ip-when-multi-networkcard/44438 "2024-06-19T00:52:34Z")

</div>

i’m teacher and use processing in teaching i ve 2 networks cards in the computer of the student. so i have 2 ipadresse. (ethernet and wlan) how to specify the second adresse ip in : s = new Server(this, 8080); i can…

---

## [Video library rtsp lags too much](https://discourse.processing.org/t/video-library-rtsp-lags-too-much/9306)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 1:01pm UTC](https://discourse.processing.org/t/video-library-rtsp-lags-too-much/9306 "2024-06-17T13:01:29Z")

</div>

Hi, I’m reading a rtsp camera streaming, but I have 3 seconds of delay, which I have to reduce to a maximum of half a second. This is the code I’m using: import processing.video.\*; Movie movie; void setup() { size(1…

---

## [Give some examples (Unfolding library)](https://discourse.processing.org/t/give-some-examples-unfolding-library/44362)

<div class="topic-metadata">

**Author:** [@Ciosiek](https://discourse.processing.org/u/Ciosiek)\
**Replies:** 7\
**Last updated:** [June 15, 2024, 3:11pm UTC](https://discourse.processing.org/t/give-some-examples-unfolding-library/44362 "2024-06-15T15:11:42Z")

</div>

Hello, i’m trying to use processing 4 because it’s needed for Unfolding 0.9.6 library for javafx. Can you provide me with simple example how to make working processing 4 with javafx? I’m doing an application and I cannot…

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

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