# Libraries

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

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

**Page:** 36

---

## [Geomerative questions](https://discourse.processing.org/t/geomerative-questions/23272)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 17\
**Last updated:** [August 19, 2020, 1:49pm UTC](https://discourse.processing.org/t/geomerative-questions/23272 "2020-08-19T13:49:56Z")

</div>

Hello everyone ! Nowadays I’m trying to learn geomerative library and i have questions. 1st question: “How to load fonts ?”. I can load only FreeSans.ttf. If I put another font it says “Null Pointer Exception”. I loade…

---

## [Controlp5 - dragging controls?](https://discourse.processing.org/t/controlp5-dragging-controls/23349)

<div class="topic-metadata">

**Author:** [@Impossible\_code](https://discourse.processing.org/u/Impossible_code)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 4:23am UTC](https://discourse.processing.org/t/controlp5-dragging-controls/23349 "2020-08-19T04:23:59Z")

</div>

It appears at some point controlP5 had an option to drag controls around. I can’t seem to get that working. The library doesn’t seem to have been updated for a number of years. Maybe changes to processing over the years …

---

## [Trouble with P3D box edges clipping](https://discourse.processing.org/t/trouble-with-p3d-box-edges-clipping/23201)

<div class="topic-metadata">

**Author:** [@Natalie](https://discourse.processing.org/u/Natalie)\
**Replies:** 13\
**Last updated:** [August 16, 2020, 6:57am UTC](https://discourse.processing.org/t/trouble-with-p3d-box-edges-clipping/23201 "2020-08-16T06:57:38Z")

</div>

Hello everyone! New to the forum, all help is appreciated! I’m working on a P3D project and am drawing boxes with a stroke on the edges. The issue that I noticed is that when I move around them (I’m using queasycam) the…

---

## [Animation with 3 different sketches combined using Switch with keyboard input](https://discourse.processing.org/t/animation-with-3-different-sketches-combined-using-switch-with-keyboard-input/23258)

<div class="topic-metadata">

**Author:** [@Gus\_Fermin](https://discourse.processing.org/u/Gus_Fermin)\
**Replies:** 11\
**Last updated:** [August 14, 2020, 6:20pm UTC](https://discourse.processing.org/t/animation-with-3-different-sketches-combined-using-switch-with-keyboard-input/23258 "2020-08-14T18:20:35Z")

</div>

Hi there, I am combining 3 different (but similar) sketches into one sketch, and using switch to change states. Using the keyboard input of ‘1’, ‘2’, ‘3’. However, my sketch does not switch when I press the keys. Becaus…

---

## [P3D confusion with translate() and collision](https://discourse.processing.org/t/p3d-confusion-with-translate-and-collision/23249)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 11:10am UTC](https://discourse.processing.org/t/p3d-confusion-with-translate-and-collision/23249 "2020-08-14T11:10:03Z")

</div>

So I decided to try and experiment a bit with P3D. I researched about it, borrowed some code, wrote my own and came up with this thing: import java.awt.MouseInfo; import java.awt.Point; import java.awt.Robot; import jav…

---

## [Using opencv with processing](https://discourse.processing.org/t/using-opencv-with-processing/14148)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 7\
**Last updated:** [August 14, 2020, 5:43am UTC](https://discourse.processing.org/t/using-opencv-with-processing/14148 "2020-08-14T05:43:33Z")

</div>

I intend to use opencv with processing for face detection while the examples are explicit in how to do face detection on a static image when i am trying to apply that using video from a webcam the method is not working …

---

## [\[Processing 3\] Mac OS Catalina audio signal](https://discourse.processing.org/t/processing-3-mac-os-catalina-audio-signal/18056)

<div class="topic-metadata">

**Author:** [@felice.c](https://discourse.processing.org/u/felice.c)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 1:42am UTC](https://discourse.processing.org/t/processing-3-mac-os-catalina-audio-signal/18056 "2020-08-14T01:42:17Z")

</div>

Hello to all, I’m trying to get the audio signal from my computer, I’m using the example sketch which is present in the example of the audio library but nothing happens. Digging into Google maybe I found a solution but…

---

## [Toxiclibs particle question](https://discourse.processing.org/t/toxiclibs-particle-question/23242)

<div class="topic-metadata">

**Author:** [@cdaein](https://discourse.processing.org/u/cdaein)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:36am UTC](https://discourse.processing.org/t/toxiclibs-particle-question/23242 "2020-08-14T01:36:10Z")

</div>

Hi, I am trying to figure out toxiclibs VerletPhysics2D and AttractionBehavior2D. What I want to achieve is that use the attractor so the small particles will be attracted to the big center circle but do not go inside …

---

## [How to save posterized pixel color values from webcam](https://discourse.processing.org/t/how-to-save-posterized-pixel-color-values-from-webcam/23236)

<div class="topic-metadata">

**Author:** [@samseurynck](https://discourse.processing.org/u/samseurynck)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 6:47pm UTC](https://discourse.processing.org/t/how-to-save-posterized-pixel-color-values-from-webcam/23236 "2020-08-13T18:47:49Z")

</div>

Hello! I’m looking to make a video ‘mirror’ using the webcam. I’m using the processing example Contributed Libraries \> Video \> Capture \> Mirror by Daniel Shiffman. The effect I’m trying to create requires using a poster…

---

## [Using Minim, when getting loudness of the song, how come I sometimes get a negative value?](https://discourse.processing.org/t/using-minim-when-getting-loudness-of-the-song-how-come-i-sometimes-get-a-negative-value/23222)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 2\
**Last updated:** [August 13, 2020, 4:20pm UTC](https://discourse.processing.org/t/using-minim-when-getting-loudness-of-the-song-how-come-i-sometimes-get-a-negative-value/23222 "2020-08-13T16:20:03Z")

</div>

import ddf.minim.\*; import ddf.minim.analysis.\*; Minim minim; AudioPlayer audio; final int BUFFERSIZE = 2048; void setup() { minim = new Minim(this); audio = minim.loadFile("audio.mp3");//, BUFFERSIZE); audio.…

---

## [Is OCR available in Processing?](https://discourse.processing.org/t/is-ocr-available-in-processing/14505)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 11:12pm UTC](https://discourse.processing.org/t/is-ocr-available-in-processing/14505 "2020-08-11T23:12:26Z")

</div>

I searched previous topics but they are quite old. I am hoping there are some good news. The best I found is a guy that managed to import some Java library in a Mac, - but I am on windows and have no idea what to do t…

---

## [G4P selectInput filter problem](https://discourse.processing.org/t/g4p-selectinput-filter-problem/23169)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 3:14pm UTC](https://discourse.processing.org/t/g4p-selectinput-filter-problem/23169 "2020-08-11T15:14:32Z")

</div>

I cannot get the G4P.selectInput() filter parameters working. Here’s a simple sketch: import g4p\_controls.\*; String fname = G4P.selectInput("Input Dialog", "png,gif,jpg,jpeg", "Image files", sketchPath()); println( fnam…

---

## [I keep getting null pointer exception when using classes when playing audio](https://discourse.processing.org/t/i-keep-getting-null-pointer-exception-when-using-classes-when-playing-audio/23179)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 4:38am UTC](https://discourse.processing.org/t/i-keep-getting-null-pointer-exception-when-using-classes-when-playing-audio/23179 "2020-08-11T04:38:41Z")

</div>

So this is my main file (named Testing) Minim minim; Audio audio; void setup() { audio = new Audio(); size(800, 800); } void draw() { audio.drawShape(); background(255); } And this is the Audio class fil…

---

## [Getting live audio input](https://discourse.processing.org/t/getting-live-audio-input/23143)

<div class="topic-metadata">

**Author:** [@Tomfoolery](https://discourse.processing.org/u/Tomfoolery)\
**Replies:** 7\
**Last updated:** [August 9, 2020, 8:23pm UTC](https://discourse.processing.org/t/getting-live-audio-input/23143 "2020-08-09T20:23:16Z")

</div>

So I’m brand new to working with audio in any form, and I’m hoping you folks can point me in the right direction. A DJ friend of mine wants my processing sketch to react to his audio. He said he could plug his output in…

---

## [No display when my processing is enabled for video](https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148)

<div class="topic-metadata">

**Author:** [@LYY](https://discourse.processing.org/u/LYY)\
**Replies:** 1\
**Last updated:** [August 9, 2020, 10:55am UTC](https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148 "2020-08-09T10:55:39Z")

</div>

import processing.video.\*; Movie myMovie; void setup() { size(200, 200); myMovie = new Movie(this, “abc.mp4”); myMovie.play(); } void draw() { image(myMovie, 0, 0); } void movieEvent(Movie m) { m.read(); } N…

---

## [How to coloring controlP5 item with different color?](https://discourse.processing.org/t/how-to-coloring-controlp5-item-with-different-color/23098)

<div class="topic-metadata">

**Author:** [@Rai](https://discourse.processing.org/u/Rai)\
**Replies:** 4\
**Last updated:** [August 8, 2020, 11:55pm UTC](https://discourse.processing.org/t/how-to-coloring-controlp5-item-with-different-color/23098 "2020-08-08T23:55:10Z")

</div>

import controlP5.\*; ControlP5 cp5; CheckBox Checkcomponent; Textlabel labelInfo; void setup() { size(640, 480); cp5 = new ControlP5(this); Checkcomponent = cp5.addCheckBox("checkBox") .setPosition(105, 60) …

---

## [FFT on OSC input](https://discourse.processing.org/t/fft-on-osc-input/23145)

<div class="topic-metadata">

**Author:** [@nimbinensis](https://discourse.processing.org/u/nimbinensis)\
**Replies:** 0\
**Last updated:** [August 8, 2020, 11:39pm UTC](https://discourse.processing.org/t/fft-on-osc-input/23145 "2020-08-08T23:39:48Z")

</div>

Hello all. I need some advice on how to analyse the OSC data I get streamed from a Muse headband with the Processing Audio or Minim libraries.

---

## [What to do when two libraries share the same ".jar" file?](https://discourse.processing.org/t/what-to-do-when-two-libraries-share-the-same-jar-file/23124)

<div class="topic-metadata">

**Author:** [@iannisxenokiss](https://discourse.processing.org/u/iannisxenokiss)\
**Replies:** 4\
**Last updated:** [August 8, 2020, 9:01am UTC](https://discourse.processing.org/t/what-to-do-when-two-libraries-share-the-same-jar-file/23124 "2020-08-08T09:01:13Z")

</div>

Hi gals and guys! I’m using a Leap Motion for a project and have two libraries using the same “LeapJava.jar” file, so whenever I try to run the sketch it throws: “Duplicate libraries found for com.leapmotion.leap” Is t…

---

## [How to use 'BeatDetect' correctly with Minim library?](https://discourse.processing.org/t/how-to-use-beatdetect-correctly-with-minim-library/23034)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 18\
**Last updated:** [August 7, 2020, 12:51am UTC](https://discourse.processing.org/t/how-to-use-beatdetect-correctly-with-minim-library/23034 "2020-08-07T00:51:46Z")

</div>

On this page http://code.compartmental.net/minim/beatdetect\_class\_beatdetect.html I am trying to figure out how to detect beats. There is some confusions that I have. void draw() { background(0); beat.detect(song.…

---

## [Network events synchronization problem](https://discourse.processing.org/t/network-events-synchronization-problem/22907)

<div class="topic-metadata">

**Author:** [@alexis.lacasse.1](https://discourse.processing.org/u/alexis.lacasse.1)\
**Replies:** 3\
**Last updated:** [August 6, 2020, 9:13pm UTC](https://discourse.processing.org/t/network-events-synchronization-problem/22907 "2020-08-06T21:13:19Z")

</div>

Hi, I’m using serverEvent, clientEvent and disconnectEvent events to make a basic HTTP server. There seems to be synchronization problems between each events. Here’s my code: import processing.net.\*; byte\[\]\[\] Files = …

---

## [\[ControlP5\] passing array to CallbackListener](https://discourse.processing.org/t/controlp5-passing-array-to-callbacklistener/23013)

<div class="topic-metadata">

**Author:** [@ForgottenCat](https://discourse.processing.org/u/ForgottenCat)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 12:20pm UTC](https://discourse.processing.org/t/controlp5-passing-array-to-callbacklistener/23013 "2020-08-06T12:20:50Z")

</div>

Hi everybody, I am using Processing 3.5.4 and ControlP5 i was wondering if there is a way to pass any variables or in my case an array to a callback function. In detail: I want sort of a tab function but with vertical…

---

## [Post Request transform to GET Method](https://discourse.processing.org/t/post-request-transform-to-get-method/22927)

<div class="topic-metadata">

**Author:** [@b005](https://discourse.processing.org/u/b005)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 12:19am UTC](https://discourse.processing.org/t/post-request-transform-to-get-method/22927 "2020-08-06T00:19:55Z")

</div>

Hello, I purchased a board which has the code written in Processing, I want to use GET Method to upload data using URL to my server, but the board has only post request following code: Could you please help me to trans…

---

## [Sound examples are all noisy on Linux](https://discourse.processing.org/t/sound-examples-are-all-noisy-on-linux/4708)

<div class="topic-metadata">

**Author:** [@gratefulfrog](https://discourse.processing.org/u/gratefulfrog)\
**Replies:** 1\
**Last updated:** [August 5, 2020, 8:58pm UTC](https://discourse.processing.org/t/sound-examples-are-all-noisy-on-linux/4708 "2020-08-05T20:58:19Z")

</div>

Hi, I’m experimenting with the sound library and can’t get any examples to play cleanly. There is more or less constant grinding crackling chopping noise mixed with the sine waves that I try to make. This occurs with …

---

## [Would anyone know how to get the tempo/speed of a song using import processing.sound.\* library?](https://discourse.processing.org/t/would-anyone-know-how-to-get-the-tempo-speed-of-a-song-using-import-processing-sound-library/22928)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 8\
**Last updated:** [August 2, 2020, 1:40pm UTC](https://discourse.processing.org/t/would-anyone-know-how-to-get-the-tempo-speed-of-a-song-using-import-processing-sound-library/22928 "2020-08-02T13:40:24Z")

</div>

Been trying to search through the Internet. I can’t quite seem to find anything in regards to how to get the tempo/speed of a song, does anyone know any built in function or even a library? Edit: I tried to use the Mini…

---

## [With 'Essentia', is this compatible with Processing? Additionally can it get the tempo, key signature and loudness?](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 6\
**Last updated:** [August 2, 2020, 12:26pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967 "2020-08-02T12:26:51Z")

</div>

I was looking at Essentia and it said it is compatible with Python and JavaScript but I am not sure if this is compatible with Processing or not? This library deals with audio. Here is the link to its Github repo https:/…

---

## [Using the FFT library, is it possible to get the beats per minute?](https://discourse.processing.org/t/using-the-fft-library-is-it-possible-to-get-the-beats-per-minute/22965)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 5\
**Last updated:** [August 2, 2020, 2:11am UTC](https://discourse.processing.org/t/using-the-fft-library-is-it-possible-to-get-the-beats-per-minute/22965 "2020-08-02T02:11:33Z")

</div>

Using the FFT library, is it possible to get the beats per minute? If so what would I type exactly?

---

## [Is it possible for me to use the 'aubio' library for processing?](https://discourse.processing.org/t/is-it-possible-for-me-to-use-the-aubio-library-for-processing/22963)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 8\
**Last updated:** [August 1, 2020, 1:18pm UTC](https://discourse.processing.org/t/is-it-possible-for-me-to-use-the-aubio-library-for-processing/22963 "2020-08-01T13:18:21Z")

</div>

Is it possible for me to use the aubio library for processing?

---

## [Using Minim in processing, how do I get the tempo of an audio file?](https://discourse.processing.org/t/using-minim-in-processing-how-do-i-get-the-tempo-of-an-audio-file/22864)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 5\
**Last updated:** [July 31, 2020, 12:41am UTC](https://discourse.processing.org/t/using-minim-in-processing-how-do-i-get-the-tempo-of-an-audio-file/22864 "2020-07-31T00:41:55Z")

</div>

Using Minim in processing, how do I get the tempo of an audio file? I have been trying to search the Internet but I got no clue as to how to do this?

---

## [About Google Maps](https://discourse.processing.org/t/about-google-maps/22925)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 3\
**Last updated:** [July 30, 2020, 11:13am UTC](https://discourse.processing.org/t/about-google-maps/22925 "2020-07-30T11:13:18Z")

</div>

Is there a way to display values on a map or on google maps

---

## [Geomerative: controlling caps and joins appearances](https://discourse.processing.org/t/geomerative-controlling-caps-and-joins-appearances/22910)

<div class="topic-metadata">

**Author:** [@Eamoex](https://discourse.processing.org/u/Eamoex)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 5:08pm UTC](https://discourse.processing.org/t/geomerative-controlling-caps-and-joins-appearances/22910 "2020-07-29T17:08:54Z")

</div>

Hello Everyone, I am trying to learn how to use Geomerative to achieve a specific effect. I want to map/grow an SVG path according to a unit value (0.0 - 1.0). This code works well, but I can’t change the style of the c…

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

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