# Libraries

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

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

**Page:** 70

---

## [Unwanted delay when using sound library](https://discourse.processing.org/t/unwanted-delay-when-using-sound-library/4810)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 5\
**Last updated:** [October 30, 2018, 6:24pm UTC](https://discourse.processing.org/t/unwanted-delay-when-using-sound-library/4810 "2018-10-30T18:24:01Z")

</div>

Hi I am trying to make a video game (undertale) in processing but I have come across some problems along the way. I am trying to import some mp3 files but when i start the program it says “INFO: JSyn: default output late…

---

## [Geomerative - fitting text inside arbitrary shapes?](https://discourse.processing.org/t/geomerative-fitting-text-inside-arbitrary-shapes/4917)

<div class="topic-metadata">

**Author:** [@Angle](https://discourse.processing.org/u/Angle)\
**Replies:** 11\
**Last updated:** [October 30, 2018, 1:09am UTC](https://discourse.processing.org/t/geomerative-fitting-text-inside-arbitrary-shapes/4917 "2018-10-30T01:09:03Z")

</div>

I’m trying to fit text into shapes, so as to get an effect like so: I’m using the Geomerative library, but the RShape.contains(RShape) doesn’t seem to be working for me. It always seems to return false, no matter what…

---

## [Famous Painting Face in Hole! - Video is not refreshing](https://discourse.processing.org/t/famous-painting-face-in-hole-video-is-not-refreshing/4970)

<div class="topic-metadata">

**Author:** [@madiMcD](https://discourse.processing.org/u/madiMcD)\
**Replies:** 1\
**Last updated:** [October 29, 2018, 4:23am UTC](https://discourse.processing.org/t/famous-painting-face-in-hole-video-is-not-refreshing/4970 "2018-10-29T04:23:20Z")

</div>

Yo, So I am creating a program that functions like a photo booth, where there are famous paintings (eg. Mona Lisa, American Gothic, etc.) that have holes where your face goes. There are six “buttons” that when pressed s…

---

## [Adjusting a Processing library?](https://discourse.processing.org/t/adjusting-a-processing-library/4385)

<div class="topic-metadata">

**Author:** [@mano1979](https://discourse.processing.org/u/mano1979)\
**Replies:** 8\
**Last updated:** [October 27, 2018, 7:41pm UTC](https://discourse.processing.org/t/adjusting-a-processing-library/4385 "2018-10-27T19:41:14Z")

</div>

I need to adjust the .net library and did so in the src folder. But the changes i made do not do anything. Do i need to recompile/build the library before changes take effect or should a simple restart of processing do …

---

## [Multiple independent audio channels - best approach?](https://discourse.processing.org/t/multiple-independent-audio-channels-best-approach/4925)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 0\
**Last updated:** [October 27, 2018, 2:25pm UTC](https://discourse.processing.org/t/multiple-independent-audio-channels-best-approach/4925 "2018-10-27T14:25:29Z")

</div>

I’m making a 2D game thing, and I want to be able to have as much control of sound as possible. For example, I want to have about 50 sound channels, with full control over each one of them - being able to modify every si…

---

## [Can I use cp5's textfield to input the language of another country?](https://discourse.processing.org/t/can-i-use-cp5s-textfield-to-input-the-language-of-another-country/4923)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 0\
**Last updated:** [October 27, 2018, 12:08pm UTC](https://discourse.processing.org/t/can-i-use-cp5s-textfield-to-input-the-language-of-another-country/4923 "2018-10-27T12:08:47Z")

</div>

Hi! Can I type in languages such as Korea, China, and Japan? import controlP5.\*; ControlP5 cp5; void setup() { background(150); size(700,400); PFont font = loadFont("\*\*\*\*\*\*(my font)\*\*\*\*\*.vlw"); cp5 = new …

---

## [G4P Label Array Test for multiple windows](https://discourse.processing.org/t/g4p-label-array-test-for-multiple-windows/4908)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 2\
**Last updated:** [October 27, 2018, 4:20am UTC](https://discourse.processing.org/t/g4p-label-array-test-for-multiple-windows/4908 "2018-10-27T04:20:11Z")

</div>

G4P Label Array Test I’ve been trying to make a label array with the G4P Library in Processing 3. I’m having a problem with the “setText()” to an Array. Here’s the sketch. I’ve documented to problem area. Maybe someone …

---

## [Sound library without any default delay](https://discourse.processing.org/t/sound-library-without-any-default-delay/4891)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 8:30pm UTC](https://discourse.processing.org/t/sound-library-without-any-default-delay/4891 "2018-10-26T20:30:14Z")

</div>

Hi I want to import a sound library so i can play different sound files. I have tried to import library already but there’s a default delay i want to get rid of so i just want to know if there is another library or way…

---

## [Waiting for input via OSC to continue function](https://discourse.processing.org/t/waiting-for-input-via-osc-to-continue-function/4893)

<div class="topic-metadata">

**Author:** [@flashbacker](https://discourse.processing.org/u/flashbacker)\
**Replies:** 7\
**Last updated:** [October 26, 2018, 3:40pm UTC](https://discourse.processing.org/t/waiting-for-input-via-osc-to-continue-function/4893 "2018-10-26T15:40:13Z")

</div>

Hi, what i’m trying to do is to wait for the feed back of a distant video player to continue some process on an other machine. This process is not in draw and is ran only once. Basically: boolean end = false; void setu…

---

## [Array and key press](https://discourse.processing.org/t/array-and-key-press/4884)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 2:40am UTC](https://discourse.processing.org/t/array-and-key-press/4884 "2018-10-26T02:40:29Z")

</div>

The original code showed 8 letters and did the distorting on all the letters at once. I’m trying to do each letter part from eachother and doing the distorting per letter. I have added a key that once clicked, just shows…

---

## [Sound library: Error when instantiating SoundFile object](https://discourse.processing.org/t/sound-library-error-when-instantiating-soundfile-object/4836)

<div class="topic-metadata">

**Author:** [@RustedBot](https://discourse.processing.org/u/RustedBot)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 8:04pm UTC](https://discourse.processing.org/t/sound-library-error-when-instantiating-soundfile-object/4836 "2018-10-25T20:04:22Z")

</div>

Processing: v3.4 Sound Library: v2.0.2 I’m trying to use the Sound library but when I instantiate a SoundFile object I receive this error in the console: ArrayIndexOutOfBoundsException: 16 Oct 24, 2018 8:53:33 PM com…

---

## [Rumble in game control plus](https://discourse.processing.org/t/rumble-in-game-control-plus/4880)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 6:11pm UTC](https://discourse.processing.org/t/rumble-in-game-control-plus/4880 "2018-10-25T18:11:04Z")

</div>

okay so in the game control plus library there are functions for rumble : (http://lagers.org.uk/gamecontrol/ref/classorg\_1\_1gamecontrolplus\_1\_1\_control\_device.html) but somehow I can’t see any of them with the getNumber…

---

## [AudioFile ArrayIndexOutOvBoundsException: 3](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 4\
**Last updated:** [October 25, 2018, 7:38am UTC](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608 "2018-10-25T07:38:08Z")

</div>

Dear all, I developed a very simple project: import processing.sound.\*; SoundFile f1; SoundFile f2; SoundFile f3; SoundFile f4; SoundFile f5; void setup() { loadAudioError(); } void draw() { } void loadAudioEr…

---

## [Unfolding maps in 2D renderer](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843)

<div class="topic-metadata">

**Author:** [@cooki](https://discourse.processing.org/u/cooki)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 6:40am UTC](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843 "2018-10-25T06:40:37Z")

</div>

I am trying to run a sketch with a visualization of tweets on a map of Barcelona using the UnfoldingMaps library I made some time ago. I have been encountering the error: java.lang.NoSuchFieldError: quality I tried runni…

---

## [Font by data (Fontastic)](https://discourse.processing.org/t/font-by-data-fontastic/4840)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 0\
**Last updated:** [October 24, 2018, 9:01pm UTC](https://discourse.processing.org/t/font-by-data-fontastic/4840 "2018-10-24T21:01:08Z")

</div>

I’m a graphic designer and trying to create a font using Fontastic\_Library. The original version made a font using random function. I would like to draw the shapes using the mouseX and mouseY variables. Can’t figure it o…

---

## [Cp5 Textfield Focus](https://discourse.processing.org/t/cp5-textfield-focus/4734)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 5:08am UTC](https://discourse.processing.org/t/cp5-textfield-focus/4734 "2018-10-25T05:08:18Z")

</div>

Hi. I’m not used to English, sorry. cp5’s Textfield Focus is white and long. Is there a way to fix this? I really want to know. It will be really helpful if you let me know. Thanks.

---

## [Target VM failed to initialise error message](https://discourse.processing.org/t/target-vm-failed-to-initialise-error-message/4490)

<div class="topic-metadata">

**Author:** [@RossY99](https://discourse.processing.org/u/RossY99)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 12:41pm UTC](https://discourse.processing.org/t/target-vm-failed-to-initialise-error-message/4490 "2018-10-15T12:41:46Z")

</div>

I’m trying to test and see if a particular audio file I have is working but i’m receiving an error message that I don’t fully understand. The code looks like this: import processing.sound.\*; SoundFile file; String audi…

---

## [Using a webcam to trigger off sound](https://discourse.processing.org/t/using-a-webcam-to-trigger-off-sound/4449)

<div class="topic-metadata">

**Author:** [@sean](https://discourse.processing.org/u/sean)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:08pm UTC](https://discourse.processing.org/t/using-a-webcam-to-trigger-off-sound/4449 "2018-10-24T19:08:25Z")

</div>

Hi there. I am new to Processing. I am having problems getting a single sound to trigger when there is movement using a webcam as a motion sensor and when there is no movement the sound stops. My main problem is the s…

---

## [Syncing phase of multiple Oscil in Minim?](https://discourse.processing.org/t/syncing-phase-of-multiple-oscil-in-minim/4408)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 6:55pm UTC](https://discourse.processing.org/t/syncing-phase-of-multiple-oscil-in-minim/4408 "2018-10-24T18:55:31Z")

</div>

Kinda odd question (and hoping Dami Quartz might offer insight here) – is anyone familiar with syncing the phase between multiple Oscil (oscillator) objects in Minim? Over the years I’ve played a lot with both default wa…

---

## [XY Pad (OSC ) to procesing](https://discourse.processing.org/t/xy-pad-osc-to-procesing/4575)

<div class="topic-metadata">

**Author:** [@zpyn](https://discourse.processing.org/u/zpyn)\
**Replies:** 5\
**Last updated:** [October 23, 2018, 9:29pm UTC](https://discourse.processing.org/t/xy-pad-osc-to-procesing/4575 "2018-10-23T21:29:23Z")

</div>

Hi! Im a CG animator and Im learning a little of scripting to improve my skills. I was wondering if someone know how to get the x and y values of a XY Pad, using oscP5. (https://vimeo.com/14734980) I don’t have idea of…

---

## [Controlp5 - Buttons with private functions](https://discourse.processing.org/t/controlp5-buttons-with-private-functions/4641)

<div class="topic-metadata">

**Author:** [@Zac-04](https://discourse.processing.org/u/Zac-04)\
**Replies:** 0\
**Last updated:** [October 19, 2018, 3:42pm UTC](https://discourse.processing.org/t/controlp5-buttons-with-private-functions/4641 "2018-10-19T15:42:12Z")

</div>

Lets say I had a a method that was apple.eat() how would I put that in a button: cp5.addButton("apple.eat") doesn’t seem to work

---

## [Value as a string from a void function](https://discourse.processing.org/t/value-as-a-string-from-a-void-function/4243)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 17\
**Last updated:** [October 23, 2018, 8:50pm UTC](https://discourse.processing.org/t/value-as-a-string-from-a-void-function/4243 "2018-10-23T20:50:36Z")

</div>

Hello,i have these two functions in the end of a code and i call into the draw() the function displayinformation() to show in the screen of Android the characteristics(Name, age,…) everytime i select a specific choice f…

---

## [Use two texture with in a shader!](https://discourse.processing.org/t/use-two-texture-with-in-a-shader/4688)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 1\
**Last updated:** [October 23, 2018, 8:37pm UTC](https://discourse.processing.org/t/use-two-texture-with-in-a-shader/4688 "2018-10-23T20:37:06Z")

</div>

hi guys, my question today is quite simple i hope, i want to use 2 differ!ent textures in a shader. them are 2 images. i need to pass from processing the two textures but i don’t know how! can anyone help me please? g…

---

## [Sound in Processing](https://discourse.processing.org/t/sound-in-processing/4728)

<div class="topic-metadata">

**Author:** [@Lore](https://discourse.processing.org/u/Lore)\
**Replies:** 3\
**Last updated:** [October 23, 2018, 6:34pm UTC](https://discourse.processing.org/t/sound-in-processing/4728 "2018-10-23T18:34:36Z")

</div>

Hello, How do you stop a song that is playing? I know how to play a song in processing, but I was wondering how to make the current song stop playing. Here is my code, //Make movie variables //Load every movie //If to…

---

## [How can i access my server with a external ip?](https://discourse.processing.org/t/how-can-i-access-my-server-with-a-external-ip/4739)

<div class="topic-metadata">

**Author:** [@Quix](https://discourse.processing.org/u/Quix)\
**Replies:** 2\
**Last updated:** [October 22, 2018, 3:40pm UTC](https://discourse.processing.org/t/how-can-i-access-my-server-with-a-external-ip/4739 "2018-10-22T15:40:58Z")

</div>

i want to access my website with a external ip but it’s dosen’t work here’s the code import processing.net.\*; import processing.video.\*; import java.io.File; Server myServer; PrintWriter output; int nb = 0; void setup…

---

## [How to set sample rate/frequency in Minim?](https://discourse.processing.org/t/how-to-set-sample-rate-frequency-in-minim/4743)

<div class="topic-metadata">

**Author:** [@kumouni](https://discourse.processing.org/u/kumouni)\
**Replies:** 0\
**Last updated:** [October 22, 2018, 10:54am UTC](https://discourse.processing.org/t/how-to-set-sample-rate-frequency-in-minim/4743 "2018-10-22T10:54:36Z")

</div>

Hi, Since I have problem using the Sound Library, I’ve been trying to use Minim but I am stuck on changing the rate of the sample. Unlike the Sound library, it seems like it won’t allow me access changing the rate. How…

---

## [Object tracking](https://discourse.processing.org/t/object-tracking/4716)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 1\
**Last updated:** [October 22, 2018, 3:51am UTC](https://discourse.processing.org/t/object-tracking/4716 "2018-10-22T03:51:41Z")

</div>

Hi! Is there any library or example for object tracking with persistence in Processing? So far I’ve been playing with findContours from OpenCV and tried to do the persistance myself, but I thought that should be a probl…

---

## [Drawing using colors from camera(Pixel Array)](https://discourse.processing.org/t/drawing-using-colors-from-camera-pixel-array/4694)

<div class="topic-metadata">

**Author:** [@spityura](https://discourse.processing.org/u/spityura)\
**Replies:** 1\
**Last updated:** [October 20, 2018, 10:17pm UTC](https://discourse.processing.org/t/drawing-using-colors-from-camera-pixel-array/4694 "2018-10-20T22:17:06Z")

</div>

what am I doing wrong? I’m trying to get rgb values from camera an draw circles with those values it works fine with the get function but with the pixel array it doesn’t look right import processing.video.\*; Capture …

---

## [Syphon server and mixing static and active modes](https://discourse.processing.org/t/syphon-server-and-mixing-static-and-active-modes/4235)

<div class="topic-metadata">

**Author:** [@jtoenjes](https://discourse.processing.org/u/jtoenjes)\
**Replies:** 3\
**Last updated:** [October 20, 2018, 9:11pm UTC](https://discourse.processing.org/t/syphon-server-and-mixing-static-and-active-modes/4235 "2018-10-20T21:11:53Z")

</div>

I’m trying to set up a Syphon Server within the code below (by Golan Levin). The code runs fine if I comment out the server line in void setup(), but once I try to activate the new SyphonServer I get the dreaded “It look…

---

## [Why do i get assertion error on world.step();](https://discourse.processing.org/t/why-do-i-get-assertion-error-on-world-step/4685)

<div class="topic-metadata">

**Author:** [@processing\_guy](https://discourse.processing.org/u/processing_guy)\
**Replies:** 2\
**Last updated:** [October 20, 2018, 3:58pm UTC](https://discourse.processing.org/t/why-do-i-get-assertion-error-on-world-step/4685 "2018-10-20T15:58:20Z")

</div>

import fisica.\*; FWorld world; FCircle player; FBox pipeup; FBox pipedown; class game { float x = pipeup.getX(); float y = pipeup.getY(); float x1 = pipedown.getX(); float y1 = pipedown.getY(); void update…

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

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