# Libraries

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

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

**Page:** 33

---

## [Visualizing Lyrics?](https://discourse.processing.org/t/visualizing-lyrics/25383)

<div class="topic-metadata">

**Author:** [@dgoren1](https://discourse.processing.org/u/dgoren1)\
**Replies:** 3\
**Last updated:** [November 13, 2020, 12:36pm UTC](https://discourse.processing.org/t/visualizing-lyrics/25383 "2020-11-13T12:36:51Z")

</div>

Hi all! I’m trying to write a program that displays the lyrics to a song one at a time. Currently, I’ve written the program to display one word at a time and control when each word is displayed using a conditional state…

---

## [Playing +6 Audio Files Simultaneously, Without Delay or Lag](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034)

<div class="topic-metadata">

**Author:** [@dgoren1](https://discourse.processing.org/u/dgoren1)\
**Replies:** 2\
**Last updated:** [November 12, 2020, 11:00pm UTC](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034 "2020-11-12T23:00:17Z")

</div>

Hello! Quick Question: I’m building a program that visualizes multiple audio files together at once. My program was working fine with just 3 audio files, but now that I’m loading and playing 7 audio files at once, the …

---

## [Click Image to Make Sound Play](https://discourse.processing.org/t/click-image-to-make-sound-play/24668)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 16\
**Last updated:** [November 12, 2020, 9:50pm UTC](https://discourse.processing.org/t/click-image-to-make-sound-play/24668 "2020-11-12T21:50:51Z")

</div>

I’m trying to add a mouse press event to an image which I think is possible since I’ve seen may questions posted about it on the forum. However I have an image of a play button. I want to use this image as a button to pl…

---

## [Spout + open cv](https://discourse.processing.org/t/spout-open-cv/25353)

<div class="topic-metadata">

**Author:** [@Heidacraft](https://discourse.processing.org/u/Heidacraft)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 7:31pm UTC](https://discourse.processing.org/t/spout-open-cv/25353 "2020-11-11T19:31:49Z")

</div>

Hi, im trying to send this interactive code from open cv, to arkaos with spout. I dont know what im doing wrong, but i can´t make it works. Thanks for the help :slight\_smile: import gab.opencv.; import processing.video…

---

## [How to import STL CAD file in processing](https://discourse.processing.org/t/how-to-import-stl-cad-file-in-processing/25343)

<div class="topic-metadata">

**Author:** [@ahmed](https://discourse.processing.org/u/ahmed)\
**Replies:** 2\
**Last updated:** [November 11, 2020, 4:08pm UTC](https://discourse.processing.org/t/how-to-import-stl-cad-file-in-processing/25343 "2020-11-11T16:08:34Z")

</div>

I have tried two example code to import CAD model STL binary file. But did not succeed so far. Following are example 1 and example 2. Example 1: PShape s; int p; String sub; Float X,Y,Z; float rotX, rotY, camX, camY,…

---

## [Box2D collision with mouse position](https://discourse.processing.org/t/box2d-collision-with-mouse-position/25332)

<div class="topic-metadata">

**Author:** [@Chriz96](https://discourse.processing.org/u/Chriz96)\
**Replies:** 3\
**Last updated:** [November 10, 2020, 10:47pm UTC](https://discourse.processing.org/t/box2d-collision-with-mouse-position/25332 "2020-11-10T22:47:50Z")

</div>

Hello, I was trying to modify the Box2D library example called Collisions and Control, in order to remove the spring behavior and manipulate the box position only with the mouseX and mouseY values without having it bounc…

---

## [Realtime pitch recognition](https://discourse.processing.org/t/realtime-pitch-recognition/25174)

<div class="topic-metadata">

**Author:** [@Ginopalombi](https://discourse.processing.org/u/Ginopalombi)\
**Replies:** 4\
**Last updated:** [November 10, 2020, 5:01pm UTC](https://discourse.processing.org/t/realtime-pitch-recognition/25174 "2020-11-10T17:01:00Z")

</div>

Hi everybody, I want to create a realtime pitch recogniser with Processing. How can I do this? Thanks.

---

## [Camera issue not working](https://discourse.processing.org/t/camera-issue-not-working/25309)

<div class="topic-metadata">

**Author:** [@raghidj1994](https://discourse.processing.org/u/raghidj1994)\
**Replies:** 3\
**Last updated:** [November 10, 2020, 12:41pm UTC](https://discourse.processing.org/t/camera-issue-not-working/25309 "2020-11-10T12:41:42Z")

</div>

Hi guys! I’m new to processing and im having a problem: Processing is not reading my integrated camera with my laptop. I tried everything but can’t get it to work. here is a screen shot of the code im using. I used the s…

---

## [Does anyone know a library to skeleton tracking with the kinect?](https://discourse.processing.org/t/does-anyone-know-a-library-to-skeleton-tracking-with-the-kinect/25310)

<div class="topic-metadata">

**Author:** [@AlonsoMAF](https://discourse.processing.org/u/AlonsoMAF)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 12:34am UTC](https://discourse.processing.org/t/does-anyone-know-a-library-to-skeleton-tracking-with-the-kinect/25310 "2020-11-10T00:34:26Z")

</div>

I’m trying to find a library to do skeleton tracking, I’m using a Kinect v1, Windows 10 and Processing 3.5.4. I have tried the Kinect4WinSDK library but it doesn’t work, this message appears “(init) initialize sensor fa…

---

## [GPU calculations in Processing](https://discourse.processing.org/t/gpu-calculations-in-processing/25307)

<div class="topic-metadata">

**Author:** [@vadsavin](https://discourse.processing.org/u/vadsavin)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 12:26am UTC](https://discourse.processing.org/t/gpu-calculations-in-processing/25307 "2020-11-10T00:26:12Z")

</div>

I have some tasks, that may be optimized using my gpu: calculating average brightness of pixels in some region. Is there convenient way to use my geforce 150m for custom calculations?

---

## [Controlp5 (Numberbox, RadioButton, CheckBox) what to write after case statements](https://discourse.processing.org/t/controlp5-numberbox-radiobutton-checkbox-what-to-write-after-case-statements/25301)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 3\
**Last updated:** [November 9, 2020, 9:18pm UTC](https://discourse.processing.org/t/controlp5-numberbox-radiobutton-checkbox-what-to-write-after-case-statements/25301 "2020-11-09T21:18:51Z")

</div>

I am completely newbie (completely). I asked the question here, I received no answer. Here I did not upload the whole project to the link, I think it is clear what kind of help I am asking. Good afternoon, I’m using the…

---

## [Any physics library for force distribution visualization?](https://discourse.processing.org/t/any-physics-library-for-force-distribution-visualization/25236)

<div class="topic-metadata">

**Author:** [@weijie](https://discourse.processing.org/u/weijie)\
**Replies:** 3\
**Last updated:** [November 7, 2020, 7:15am UTC](https://discourse.processing.org/t/any-physics-library-for-force-distribution-visualization/25236 "2020-11-07T07:15:53Z")

</div>

I’m currently finding a library for visualization of force distribution between 2D objects. Example, Below is an image of 3 boxes on a trolley. When the trolley is accelerating to the right, how will the force act fro…

---

## [Want to suggest reflected light using shapes3d](https://discourse.processing.org/t/want-to-suggest-reflected-light-using-shapes3d/25095)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 4\
**Last updated:** [November 7, 2020, 1:28am UTC](https://discourse.processing.org/t/want-to-suggest-reflected-light-using-shapes3d/25095 "2020-11-07T01:28:26Z")

</div>

I’m working on a program that reads data over USB(solved those problems) and displays it as instruments. Specifically, I have a compass and an attitude indicator. I borrowed the compass and it’s really pretty. It uses…

---

## [Crossfade multiple movies](https://discourse.processing.org/t/crossfade-multiple-movies/25160)

<div class="topic-metadata">

**Author:** [@petermakesnoise](https://discourse.processing.org/u/petermakesnoise)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 12:27am UTC](https://discourse.processing.org/t/crossfade-multiple-movies/25160 "2020-11-07T00:27:09Z")

</div>

Hi, Is it possible to crossfade across an array of movies? I’m aware of the code below which crossfades from one movie to a second and remains there, using tint() but if there are multiple movies “stacked” how is is pos…

---

## [Write MIDI file](https://discourse.processing.org/t/write-midi-file/25225)

<div class="topic-metadata">

**Author:** [@prokophapala](https://discourse.processing.org/u/prokophapala)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 9:13pm UTC](https://discourse.processing.org/t/write-midi-file/25225 "2020-11-06T21:13:27Z")

</div>

inside Minim library I found nice example of reading and playing MIDI file. I was thinking to make some algoritmic MIDI generator. But I cannot find any functioonality or example how to write MIDI file using Minim or ot…

---

## [Paint program using hands or touch](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213)

<div class="topic-metadata">

**Author:** [@amsbcn](https://discourse.processing.org/u/amsbcn)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 7:31am UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213 "2020-11-06T07:31:17Z")

</div>

Hey! I’m fairly new to processing and am trying to workout a project that I have in mind. I created a simple paint program where I can pick a color using the mouse and paint with that color in a rectangle. Now that is wo…

---

## [USB camera not recognized by Processing](https://discourse.processing.org/t/usb-camera-not-recognized-by-processing/25159)

<div class="topic-metadata">

**Author:** [@stivi](https://discourse.processing.org/u/stivi)\
**Replies:** 2\
**Last updated:** [November 4, 2020, 6:43pm UTC](https://discourse.processing.org/t/usb-camera-not-recognized-by-processing/25159 "2020-11-04T18:43:07Z")

</div>

Hey guys! I’m a newbie in processing and am trying to do a project based on some tutorials on youtube about “rasterizing” and image. After doing that i wanted to change form image to video. The problem I’m having is that…

---

## [sDrop image P2D](https://discourse.processing.org/t/sdrop-image-p2d/25130)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 3:15pm UTC](https://discourse.processing.org/t/sdrop-image-p2d/25130 "2020-11-03T15:15:06Z")

</div>

Hi, I’m trying to drag and drop an outside Image in my PApplet with sDrop library but I use P2D renderer. With this renderer is not working but without is it. There is a way to go around, I really need this ? Thanks

---

## [Need help merging several sketches](https://discourse.processing.org/t/need-help-merging-several-sketches/25083)

<div class="topic-metadata">

**Author:** [@qelouisa](https://discourse.processing.org/u/qelouisa)\
**Replies:** 6\
**Last updated:** [November 1, 2020, 9:18pm UTC](https://discourse.processing.org/t/need-help-merging-several-sketches/25083 "2020-11-01T21:18:08Z")

</div>

Hello everyone, for a school project I am working on interactive visuals with the kinect. I have 3 processing sketches which I want to merge into one, so the visuals loop over into each other. However I am at a loss on h…

---

## [PTMX Scale picture](https://discourse.processing.org/t/ptmx-scale-picture/25104)

<div class="topic-metadata">

**Author:** [@Artyom](https://discourse.processing.org/u/Artyom)\
**Replies:** 0\
**Last updated:** [November 1, 2020, 9:12am UTC](https://discourse.processing.org/t/ptmx-scale-picture/25104 "2020-11-01T09:12:38Z")

</div>

Hello! I need help with a library for PTMX games. I don’t know how to scale the picture. It’s too small. I tried to use “setCamSize()” with different parameters, but it didn’t do anything: Ptmx map = new Ptmx(this, "ma…

---

## [LATEX in processing](https://discourse.processing.org/t/latex-in-processing/19691)

<div class="topic-metadata">

**Author:** [@shahroze](https://discourse.processing.org/u/shahroze)\
**Replies:** 14\
**Last updated:** [October 30, 2020, 1:54pm UTC](https://discourse.processing.org/t/latex-in-processing/19691 "2020-10-30T13:54:03Z")

</div>

how to use latex in processing for displaying equations. Is there a library for using latex or can i create it please give a detailed solution.

---

## [Controlp5 - Multiple buttons that use one function](https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638)

<div class="topic-metadata">

**Author:** [@Zac-04](https://discourse.processing.org/u/Zac-04)\
**Replies:** 12\
**Last updated:** [October 30, 2020, 3:40am UTC](https://discourse.processing.org/t/controlp5-multiple-buttons-that-use-one-function/4638 "2020-10-30T03:40:38Z")

</div>

So let’s say I had a class that’s display was a button. How would I make it so that all of these classes’ buttons point to one function. e.g. //In my class: button = cp5.addButton("doThis"); //global scope: void doTh…

---

## [Avoid click audio](https://discourse.processing.org/t/avoid-click-audio/24961)

<div class="topic-metadata">

**Author:** [@Kompozitorz](https://discourse.processing.org/u/Kompozitorz)\
**Replies:** 5\
**Last updated:** [October 28, 2020, 5:10pm UTC](https://discourse.processing.org/t/avoid-click-audio/24961 "2020-10-28T17:10:57Z")

</div>

Hi! I have create a sketch in which two sound run simultaneously and I can switch between them… the problem is that when I switch between them (using mouse pressed and release) I hear a click. How can I solve the problem…

---

## [Processing library equivalent to p5's "Play" library?](https://discourse.processing.org/t/processing-library-equivalent-to-p5s-play-library/24973)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 3:23pm UTC](https://discourse.processing.org/t/processing-library-equivalent-to-p5s-play-library/24973 "2020-10-28T15:23:54Z")

</div>

Hi all, I’m wondering if Processing has a library that has similar functionality to p5’s play library? (The Play library contains functions that make collision, sprite animation, and mouse events much, much faster) Tha…

---

## [Help: How can I make this generator pause and resume between random videos?](https://discourse.processing.org/t/help-how-can-i-make-this-generator-pause-and-resume-between-random-videos/24881)

<div class="topic-metadata">

**Author:** [@malani](https://discourse.processing.org/u/malani)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 10:39am UTC](https://discourse.processing.org/t/help-how-can-i-make-this-generator-pause-and-resume-between-random-videos/24881 "2020-10-28T10:39:04Z")

</div>

Hi all! I’m working on a random video generator that imitates TV with the mouseClicked to switch through the “channels”/videos. I am aiming to make it so that even if you aren’t on the “channel”, it still plays in the b…

---

## [Minim help for changing speed for Sampler](https://discourse.processing.org/t/minim-help-for-changing-speed-for-sampler/24684)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 2\
**Last updated:** [October 26, 2020, 11:26pm UTC](https://discourse.processing.org/t/minim-help-for-changing-speed-for-sampler/24684 "2020-10-26T23:26:03Z")

</div>

Hi folks, I’ve been trying to build a midiDrum program for a while now. I got the pads to work with AudioSamples but I just switched to using UGens so that I can apply effects and change the speed of the samples. This co…

---

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

<div class="topic-metadata">

**Author:** [@Vickydcl](https://discourse.processing.org/u/Vickydcl)\
**Replies:** 1\
**Last updated:** [October 26, 2020, 5:09pm UTC](https://discourse.processing.org/t/opencv-detection-problem-solved/24771 "2020-10-26T17:09:12Z")

</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…

---

## [Pan Video audio](https://discourse.processing.org/t/pan-video-audio/24924)

<div class="topic-metadata">

**Author:** [@Mountainoftwigs](https://discourse.processing.org/u/Mountainoftwigs)\
**Replies:** 0\
**Last updated:** [October 26, 2020, 4:06pm UTC](https://discourse.processing.org/t/pan-video-audio/24924 "2020-10-26T16:06:26Z")

</div>

Hello, i trying to pan audio from a video using the standard processing video player. I want to be able to pan audio of a video based on the position of mouseX position. There is no video.pan option in the standard vid…

---

## [Overlay sketch on movie](https://discourse.processing.org/t/overlay-sketch-on-movie/23857)

<div class="topic-metadata">

**Author:** [@petermakesnoise](https://discourse.processing.org/u/petermakesnoise)\
**Replies:** 3\
**Last updated:** [October 26, 2020, 3:35pm UTC](https://discourse.processing.org/t/overlay-sketch-on-movie/23857 "2020-10-26T15:35:15Z")

</div>

Hi, I’m trying to overlay a drawing sketch on a movie. The sketch I’m using is “RandomWalkLevy” from Daniel Shiffman’s “The Nature of Code”, which calls two functions in the main draw() block. However, the trace of the …

---

## [Turn sound off on movie playback](https://discourse.processing.org/t/turn-sound-off-on-movie-playback/24920)

<div class="topic-metadata">

**Author:** [@petermakesnoise](https://discourse.processing.org/u/petermakesnoise)\
**Replies:** 1\
**Last updated:** [October 26, 2020, 3:27pm UTC](https://discourse.processing.org/t/turn-sound-off-on-movie-playback/24920 "2020-10-26T15:27:51Z")

</div>

Hi, Is it possible to switch the sound off on movie playback in Processing? There doesn’t seem to be an argument for that in the documentation.

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

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