# Libraries

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

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

**Page:** 41

---

## [Doesn't the 'IPCAPTURE' library sound CCTV?](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 9:13pm UTC](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269 "2020-05-10T21:13:56Z")

</div>

Good morning. I have a question. Doesn’t the ‘IPCAPTURE’ library sound CCTV? If you look at the video, COMPUTER: RTSP protocol Smartphone: MJPEG (import ipcapture. \*:wink: PC(Computer) → VIDEO, SOUND …

---

## [Realtime Slider-style controls in Processing](https://discourse.processing.org/t/realtime-slider-style-controls-in-processing/20708)

<div class="topic-metadata">

**Author:** [@n055](https://discourse.processing.org/u/n055)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 11:22am UTC](https://discourse.processing.org/t/realtime-slider-style-controls-in-processing/20708 "2020-05-10T11:22:33Z")

</div>

I LOVE the createSlider() DOM functionality in p5js. In fact, I have been using p5js over Processing for the past few months, almost exclusively for the simplicity of creating a slider on the fly. Zero effort. I almost a…

---

## [Is it possible to Save sound through the network to a local's computers (smb/cifs)?](https://discourse.processing.org/t/is-it-possible-to-save-sound-through-the-network-to-a-locals-computers-smb-cifs/4317)

<div class="topic-metadata">

**Author:** [@cocolembo](https://discourse.processing.org/u/cocolembo)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 1:44am UTC](https://discourse.processing.org/t/is-it-possible-to-save-sound-through-the-network-to-a-locals-computers-smb-cifs/4317 "2020-05-10T01:44:57Z")

</div>

Hi, I’m a beginner in Processing, here is a code to record an audio from micro input. (from minim library) The sketch allow to record an audio and save it on the computer. I’m trying to record an audio from an comput…

---

## [Urgent Hue and Saturation filter](https://discourse.processing.org/t/urgent-hue-and-saturation-filter/20051)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 23\
**Last updated:** [May 9, 2020, 7:52pm UTC](https://discourse.processing.org/t/urgent-hue-and-saturation-filter/20051 "2020-05-09T19:52:42Z")

</div>

As a new user today, I am currently experimenting with Processing to port over some iPhone code for high resolution renderings using the Image buffer For the output (included image) I need to use Hue and Saturation filt…

---

## [A question about droplists in G4P](https://discourse.processing.org/t/a-question-about-droplists-in-g4p/20672)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 1\
**Last updated:** [May 9, 2020, 4:08pm UTC](https://discourse.processing.org/t/a-question-about-droplists-in-g4p/20672 "2020-05-09T16:08:11Z")

</div>

I have a question about the expected behaviour of droplists in G4P. When you create a droplist, you can optionally specify a maximum size (ie, number of items in the list). I want to build several droplists dynamically (…

---

## [Do G4P GUI controls have to be global variables?](https://discourse.processing.org/t/do-g4p-gui-controls-have-to-be-global-variables/20636)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 2\
**Last updated:** [May 9, 2020, 8:57am UTC](https://discourse.processing.org/t/do-g4p-gui-controls-have-to-be-global-variables/20636 "2020-05-09T08:57:53Z")

</div>

I’m trying to use a GWinData to save data used by a child window. I thought I would be able to declare the controls used by the child window (buttons, droplists, etc.) inside the GWinData object, but it doesn’t seem to w…

---

## [Accessing an external camera](https://discourse.processing.org/t/accessing-an-external-camera/16628)

<div class="topic-metadata">

**Author:** [@nabhyaparmar](https://discourse.processing.org/u/nabhyaparmar)\
**Replies:** 6\
**Last updated:** [May 8, 2020, 1:17am UTC](https://discourse.processing.org/t/accessing-an-external-camera/16628 "2020-05-08T01:17:45Z")

</div>

Hi, I am fairly new to processing and I want to be able to access an external camera in my processing sketch. It is a DSLR Nikon D5100. I am not able to find the necessary source for this anywhere. Can someone please hel…

---

## [Key pressed variable](https://discourse.processing.org/t/key-pressed-variable/20555)

<div class="topic-metadata">

**Author:** [@ploop1](https://discourse.processing.org/u/ploop1)\
**Replies:** 7\
**Last updated:** [May 7, 2020, 11:52am UTC](https://discourse.processing.org/t/key-pressed-variable/20555 "2020-05-07T11:52:42Z")

</div>

Hi, I am a student and struggling to figure out what is wrong with my programme. It is simply to play/pause a video at the press of the space bar however it doesn’t seem to continue not playing when the spacebar is relea…

---

## [Analyzing sound problem in effect 03 (minim)](https://discourse.processing.org/t/analyzing-sound-problem-in-effect-03-minim/20578)

<div class="topic-metadata">

**Author:** [@firetryer](https://discourse.processing.org/u/firetryer)\
**Replies:** 2\
**Last updated:** [May 7, 2020, 11:41am UTC](https://discourse.processing.org/t/analyzing-sound-problem-in-effect-03-minim/20578 "2020-05-07T11:41:31Z")

</div>

float t; // currentTime int t1 = 2000; //2000ms = after 2s int t2 = 6000; //6000ms = after 6s int t3 = 10000; //10000ms = after 10s int t4 = 15000; //1500ms = after 15s int finish = 20000; //2000ms = 20s Amplitude a…

---

## [Help me! It is about making random color in ToxicLibs library](https://discourse.processing.org/t/help-me-it-is-about-making-random-color-in-toxiclibs-library/20541)

<div class="topic-metadata">

**Author:** [@narabagus](https://discourse.processing.org/u/narabagus)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 3:33pm UTC](https://discourse.processing.org/t/help-me-it-is-about-making-random-color-in-toxiclibs-library/20541 "2020-05-06T15:33:36Z")

</div>

Hi! I’m currently making an abstract pattern project using a ToxicLibs. Below is the coding :slight\_smile: import toxi.sim.grayscott.\*; import toxi.color.\*; int NUM\_ITERATIONS = 5; GrayScott gs; ToneMap toneMap; void…

---

## [Kinect how can I reveal a full canvas image by painting over a blank background with the tracking point as the paintbrush? Revealing the whole artwork](https://discourse.processing.org/t/kinect-how-can-i-reveal-a-full-canvas-image-by-painting-over-a-blank-background-with-the-tracking-point-as-the-paintbrush-revealing-the-whole-artwork/20501)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 7:42pm UTC](https://discourse.processing.org/t/kinect-how-can-i-reveal-a-full-canvas-image-by-painting-over-a-blank-background-with-the-tracking-point-as-the-paintbrush-revealing-the-whole-artwork/20501 "2020-05-05T19:42:03Z")

</div>

Hi, I’ve been working on a processing sketch that tracks movement using a Kinect. I’ve got an image as the tracking point and a white image as the background. I would like the tracking point to reveal more of the backgr…

---

## [Seamless frequency circle (FFT)](https://discourse.processing.org/t/seamless-frequency-circle-fft/20494)

<div class="topic-metadata">

**Author:** [@Hetoft](https://discourse.processing.org/u/Hetoft)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 2:44pm UTC](https://discourse.processing.org/t/seamless-frequency-circle-fft/20494 "2020-05-05T14:44:18Z")

</div>

Hi all, For the past couple of days I’ve been getting into FFT and music visualization. Wanting to make a smooth, circular display of frequencies, I managed to do that, using Minim/FFT, a linear grouping of frequencies,…

---

## [Starting Screen - struggling with code](https://discourse.processing.org/t/starting-screen-struggling-with-code/20473)

<div class="topic-metadata">

**Author:** [@Eduwu](https://discourse.processing.org/u/Eduwu)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 2:21am UTC](https://discourse.processing.org/t/starting-screen-struggling-with-code/20473 "2020-05-05T02:21:16Z")

</div>

Hi!! I’m very new at coding and am doing a project that involves de video library, but I encounter a few problems. The first one is that I’m trying to do a starting screen for my program but the image I made doesn’t app…

---

## [Flickering saturation](https://discourse.processing.org/t/flickering-saturation/20084)

<div class="topic-metadata">

**Author:** [@benprice](https://discourse.processing.org/u/benprice)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 9:38pm UTC](https://discourse.processing.org/t/flickering-saturation/20084 "2020-05-04T21:38:57Z")

</div>

Hi, little bit of a strange one! So I’m trying to code into a programme a saturation slider. This works, however the saturation seems to flicker on and off in the draw function, as if it gets drawn as the original colou…

---

## [Processing.video causes VM failure](https://discourse.processing.org/t/processing-video-causes-vm-failure/11153)

<div class="topic-metadata">

**Author:** [@simonbiggs](https://discourse.processing.org/u/simonbiggs)\
**Replies:** 7\
**Last updated:** [May 4, 2020, 11:46am UTC](https://discourse.processing.org/t/processing-video-causes-vm-failure/11153 "2020-05-04T11:46:48Z")

</div>

Hi everyone. I have been running Processing 2.2.1 on a Macbook Pro 2014 with the processing.video library no problems. I am now moving the project to a Mac Pro (tower) 2017 model. Importing the processing.video library …

---

## [Sound: playing arbitrary waveform](https://discourse.processing.org/t/sound-playing-arbitrary-waveform/20197)

<div class="topic-metadata">

**Author:** [@Eamoex](https://discourse.processing.org/u/Eamoex)\
**Replies:** 4\
**Last updated:** [May 4, 2020, 8:18am UTC](https://discourse.processing.org/t/sound-playing-arbitrary-waveform/20197 "2020-05-04T08:18:09Z")

</div>

Hello, I make electronic music and I’m using a physical synth (Elektron Digitakt) which can take arbitrary single-cycle waveforms to create continuous sounds. For instance, as with the audio library of processing, we hav…

---

## [Bug in emojis display when using g4p (or using 'createFont', 'textFont')](https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969)

<div class="topic-metadata">

**Author:** [@amit.ilan](https://discourse.processing.org/u/amit.ilan)\
**Replies:** 10\
**Last updated:** [May 3, 2020, 7:43pm UTC](https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969 "2020-05-03T19:43:28Z")

</div>

Hello, I have a problem in emojis display read from txt/UTF-8 csv. When styling a text using ‘createFont’, ‘textFont’ before drawing it with ‘text()’, emojis appear like an empty square. (no matter what font I tried to…

---

## [Move up and down rectangle by mousepressed](https://discourse.processing.org/t/move-up-and-down-rectangle-by-mousepressed/20179)

<div class="topic-metadata">

**Author:** [@MCGFP](https://discourse.processing.org/u/MCGFP)\
**Replies:** 1\
**Last updated:** [May 3, 2020, 7:12pm UTC](https://discourse.processing.org/t/move-up-and-down-rectangle-by-mousepressed/20179 "2020-05-03T19:12:19Z")

</div>

Hi, I have a FBox in Fisica (actually more but I simplified the code) that I need to move up or down when clicking in it. It’s meant to be a sliding door, so it represents opening and closing it. I now have a code that …

---

## [Object on-off by clicking area](https://discourse.processing.org/t/object-on-off-by-clicking-area/20162)

<div class="topic-metadata">

**Author:** [@MCGFP](https://discourse.processing.org/u/MCGFP)\
**Replies:** 5\
**Last updated:** [May 3, 2020, 7:06pm UTC](https://discourse.processing.org/t/object-on-off-by-clicking-area/20162 "2020-05-03T19:06:26Z")

</div>

Hi, I have a code made of rectangles that form the «walls» of a plan. I want to add doors (the same rectangles but they would appear/disappear when I click on the sill). I am using the boxes from the fisica library. Ho…

---

## [Play sound a number of times](https://discourse.processing.org/t/play-sound-a-number-of-times/20433)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 0\
**Last updated:** [May 3, 2020, 1:51pm UTC](https://discourse.processing.org/t/play-sound-a-number-of-times/20433 "2020-05-03T13:51:45Z")

</div>

This should be really simple. I want to play a sound a fixed number of times (once, twice, or thrice). I tried this below. Here I copied the same sound and pretend that Quack1 and Quack2 are different sounds so I can pl…

---

## [How can I add mutiple sound files to my game](https://discourse.processing.org/t/how-can-i-add-mutiple-sound-files-to-my-game/20416)

<div class="topic-metadata">

**Author:** [@TheBlazeinPanther](https://discourse.processing.org/u/TheBlazeinPanther)\
**Replies:** 1\
**Last updated:** [May 3, 2020, 1:46pm UTC](https://discourse.processing.org/t/how-can-i-add-mutiple-sound-files-to-my-game/20416 "2020-05-03T13:46:38Z")

</div>

So I’ve programmed my game using the .fisica and processing sound library. I’ve created a menu screen and game screen. I want there to be one song that plays for the menu, and another one that plays for game. But, whenev…

---

## [Tracking brightest point to create line](https://discourse.processing.org/t/tracking-brightest-point-to-create-line/19918)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 1\
**Last updated:** [May 2, 2020, 4:48pm UTC](https://discourse.processing.org/t/tracking-brightest-point-to-create-line/19918 "2020-05-02T16:48:28Z")

</div>

After getting the brightest pixel and the coordinates I intend to draw a line tracing the subsequent brightest point as the light source moves around eg the way we create tracelines using pmouseX and mouseX is thr a w…

---

## [GP4 Custom Slider Question; I want to annotate at slider position](https://discourse.processing.org/t/gp4-custom-slider-question-i-want-to-annotate-at-slider-position/20330)

<div class="topic-metadata">

**Author:** [@wakewatcher](https://discourse.processing.org/u/wakewatcher)\
**Replies:** 9\
**Last updated:** [May 1, 2020, 6:08pm UTC](https://discourse.processing.org/t/gp4-custom-slider-question-i-want-to-annotate-at-slider-position/20330 "2020-05-01T18:08:40Z")

</div>

I’d like to add some text above or below where the slider marker currently is sitting. I guess I could brute force it somehow using map(), getValueS and some trial and error offsets but since the slider already knows whe…

---

## [Making a server in draw()](https://discourse.processing.org/t/making-a-server-in-draw/20319)

<div class="topic-metadata">

**Author:** [@kikomali2517](https://discourse.processing.org/u/kikomali2517)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 3:03pm UTC](https://discourse.processing.org/t/making-a-server-in-draw/20319 "2020-05-01T15:03:42Z")

</div>

I know that you can make servers in setup but I am wondering if you can make or initialize them in draw. I want to make a game that will connect me and my friends on a network. The thing is I want the user to choose if t…

---

## [G4P Library / GUI builder: Set default font for all GUI elements in one go?](https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 7\
**Last updated:** [May 1, 2020, 12:42pm UTC](https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658 "2020-05-01T12:42:37Z")

</div>

I am working on a Processing project that uses the G4P library. The GUI is build with the G4P GUI Builder tool. I love how easy it is now to create GUIs in Processing. The only problem is that I find the fonts far too sm…

---

## [Detect Server without activating it](https://discourse.processing.org/t/detect-server-without-activating-it/12193)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 6\
**Last updated:** [July 25, 2019, 3:04pm UTC](https://discourse.processing.org/t/detect-server-without-activating-it/12193 "2019-07-25T15:04:28Z")

</div>

I know that I can use server.active() to detect if a server is active, but I (think I) need to initialize the server first with new Server(this, port), is there a way to check if a server is active just by using the port…

---

## [Problem using GPanel and child windows in G4P library](https://discourse.processing.org/t/problem-using-gpanel-and-child-windows-in-g4p-library/20137)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 30\
**Last updated:** [April 30, 2020, 1:36pm UTC](https://discourse.processing.org/t/problem-using-gpanel-and-child-windows-in-g4p-library/20137 "2020-04-30T13:36:37Z")

</div>

This is a further refinement to the sketch I posted in my previous question. I want to divide the main window into panels, and from some of the panels, I want to open a child window. The code below works fine without pan…

---

## [\[Unfolding Maps\] load custom map style](https://discourse.processing.org/t/unfolding-maps-load-custom-map-style/20245)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 2:58pm UTC](https://discourse.processing.org/t/unfolding-maps-load-custom-map-style/20245 "2020-04-29T14:58:23Z")

</div>

Hi.i’m trying to use online custom styled maps with Unfolding Maps. i wanna know how do I call a custom styled Mapbox or Google Maps maps. for instance, i have this mapbox style mapbox://styles/eduzal/ck9k5tj3b0n121jwa…

---

## [G4P modal dialog behavior?](https://discourse.processing.org/t/g4p-modal-dialog-behavior/20188)

<div class="topic-metadata">

**Author:** [@ed\_from\_maine](https://discourse.processing.org/u/ed_from_maine)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 9:14am UTC](https://discourse.processing.org/t/g4p-modal-dialog-behavior/20188 "2020-04-28T09:14:57Z")

</div>

I was wondering if there was a way to get a G4P secondary window to behave like a modal dialog-- I would like to create code that would require the user to remain in the window, and to provide an answer, before the windo…

---

## [Reduce output latency set to 80 msec for Windows 10?](https://discourse.processing.org/t/reduce-output-latency-set-to-80-msec-for-windows-10/19988)

<div class="topic-metadata">

**Author:** [@earp123](https://discourse.processing.org/u/earp123)\
**Replies:** 1\
**Last updated:** [April 27, 2020, 9:01pm UTC](https://discourse.processing.org/t/reduce-output-latency-set-to-80-msec-for-windows-10/19988 "2020-04-27T21:01:52Z")

</div>

Using AudioIn to grab the sound card but the default latency is causing a noticeable delay. Half the default, or 40ms would be great. Anyone know how to configure this, preferably on the processing side and not the Windo…

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

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