# Libraries

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

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

**Page:** 27

---

## [Frame stepping with GStreamer StepEvent](https://discourse.processing.org/t/frame-stepping-with-gstreamer-stepevent/29993)

<div class="topic-metadata">

**Author:** [@ermaciu](https://discourse.processing.org/u/ermaciu)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 10:39pm UTC](https://discourse.processing.org/t/frame-stepping-with-gstreamer-stepevent/29993 "2021-05-11T22:39:48Z")

</div>

Hey everyone. I’m trying to use Processing for analyzing movement manually in videos. Unfortunately the video library doesn’t appear to have frame-stepping functionality built in, and the suggested example of calculatin…

---

## [Shiffman's Fourier Series](https://discourse.processing.org/t/shiffmans-fourier-series/29962)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 10:28pm UTC](https://discourse.processing.org/t/shiffmans-fourier-series/29962 "2021-05-11T22:28:43Z")

</div>

I’m going through the mess of sketches I have and found an interesting one I got from the coding train. I modified it by adding a slider to increase the number of circles it uses. When the number of circles gets big, t…

---

## [When i run processing video library it tells me not installed properly](https://discourse.processing.org/t/when-i-run-processing-video-library-it-tells-me-not-installed-properly/30014)

<div class="topic-metadata">

**Author:** [@zang](https://discourse.processing.org/u/zang)\
**Replies:** 3\
**Last updated:** [May 11, 2021, 3:30pm UTC](https://discourse.processing.org/t/when-i-run-processing-video-library-it-tells-me-not-installed-properly/30014 "2021-05-11T15:30:56Z")

</div>

i download it from the contribution manager in processing. it still has error

---

## [Coding Questions - Sound and Video](https://discourse.processing.org/t/coding-questions-sound-and-video/30041)

<div class="topic-metadata">

**Author:** [@kaiitj](https://discourse.processing.org/u/kaiitj)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 2:33pm UTC](https://discourse.processing.org/t/coding-questions-sound-and-video/30041 "2021-05-11T14:33:08Z")

</div>

I’m still very new to coding but I’m currently working with a 3D model that is motorized and reacts to sound, and I’m trying to figure out the best way to translate that digitally. I’ve done a code that “reveals” an imag…

---

## [How to run 2 java sketches in a single window](https://discourse.processing.org/t/how-to-run-2-java-sketches-in-a-single-window/29908)

<div class="topic-metadata">

**Author:** [@chaima](https://discourse.processing.org/u/chaima)\
**Replies:** 11\
**Last updated:** [May 10, 2021, 9:00am UTC](https://discourse.processing.org/t/how-to-run-2-java-sketches-in-a-single-window/29908 "2021-05-10T09:00:38Z")

</div>

Hello, I need to run two independent sketches in a single window. Is there any way to divide the window into 2 frames and run each sketch in a frame?

---

## [Simple java TTS (text-to-speech) library / tool](https://discourse.processing.org/t/simple-java-tts-text-to-speech-library-tool/29986)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 1\
**Last updated:** [May 9, 2021, 2:35pm UTC](https://discourse.processing.org/t/simple-java-tts-text-to-speech-library-tool/29986 "2021-05-09T14:35:37Z")

</div>

Hi! I recently received a request for a text to speech program with a pause button. Is there any java library that has simple syntax and sounds understandable? Thank you.

---

## [AudioIn shared access](https://discourse.processing.org/t/audioin-shared-access/29935)

<div class="topic-metadata">

**Author:** [@ianef](https://discourse.processing.org/u/ianef)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 11:41am UTC](https://discourse.processing.org/t/audioin-shared-access/29935 "2021-05-07T11:41:13Z")

</div>

First off I’d like to say I’m new to Processing and it’s just GREAT! :grinning: I’m trying to work out if it’s possible to have shared access to an audio input device. Windows certainly supports this but the javax.sound…

---

## [Skia Graphics as background](https://discourse.processing.org/t/skia-graphics-as-background/29846)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 11:03am UTC](https://discourse.processing.org/t/skia-graphics-as-background/29846 "2021-05-06T11:03:35Z")

</div>

Hi, I’m trying to use skiaGraphics on linux as background. See this post for more explanation on skia : skia Discussion In my code, I must choose : even skia works and PGraphics not or vice versa. import micycle.proce…

---

## [AudioIn only returns noise (Windows 10)](https://discourse.processing.org/t/audioin-only-returns-noise-windows-10/29892)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 6\
**Last updated:** [May 5, 2021, 7:37pm UTC](https://discourse.processing.org/t/audioin-only-returns-noise-windows-10/29892 "2021-05-05T19:37:04Z")

</div>

I wanted to try out the FFT class in processing. The example code did not work, as it wasn’t showing any result. A slight variation showed that the AudioIn did in fact get Information also I was checking the amplitude.…

---

## [How can I implement voice recognition in JAVA mode?](https://discourse.processing.org/t/how-can-i-implement-voice-recognition-in-java-mode/29713)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 19\
**Last updated:** [May 5, 2021, 9:43am UTC](https://discourse.processing.org/t/how-can-i-implement-voice-recognition-in-java-mode/29713 "2021-05-05T09:43:24Z")

</div>

please format code with \</\> button \* homework policy \* asking questions How can I implement voice recognition in JAVA mode? import com.getflourish.stt.\*; import ddf.minim.\*; import javax.sound.sampled.\*; STT …

---

## [loadShape() Displaying my .obj file flat rather than as a 3D model? Any help?](https://discourse.processing.org/t/loadshape-displaying-my-obj-file-flat-rather-than-as-a-3d-model-any-help/29824)

<div class="topic-metadata">

**Author:** [@Chubbulus](https://discourse.processing.org/u/Chubbulus)\
**Replies:** 12\
**Last updated:** [May 4, 2021, 12:25pm UTC](https://discourse.processing.org/t/loadshape-displaying-my-obj-file-flat-rather-than-as-a-3d-model-any-help/29824 "2021-05-04T12:25:58Z")

</div>

Hi. I’m new to Processing, having to use it for some University work. My current coursework required me to render in a 3D Model with Processing, but when I use loadShape() and add shape(modelname, integer, integer, integ…

---

## [Some strange problem I can't fix](https://discourse.processing.org/t/some-strange-problem-i-cant-fix/29788)

<div class="topic-metadata">

**Author:** [@zang](https://discourse.processing.org/u/zang)\
**Replies:** 2\
**Last updated:** [May 3, 2021, 2:44pm UTC](https://discourse.processing.org/t/some-strange-problem-i-cant-fix/29788 "2021-05-03T14:44:23Z")

</div>

i download the video library GStreamer… but when i finished download , it shows me “Could not move contribution to backup folder.” i dont know how ishoud do or what should do.plz help me . give me some information .tha…

---

## [About the Audio Waveform](https://discourse.processing.org/t/about-the-audio-waveform/29780)

<div class="topic-metadata">

**Author:** [@Marga](https://discourse.processing.org/u/Marga)\
**Replies:** 4\
**Last updated:** [May 2, 2021, 2:48pm UTC](https://discourse.processing.org/t/about-the-audio-waveform/29780 "2021-05-02T14:48:44Z")

</div>

Hello, good evening, In my code, I would like to have a single line that moves with my music and not that new lines are formed, what can I do to make this not happen? Thanks import processing.sound.\*; SoundFile sample…

---

## [What is the code for my wave to move at the same time as the song?](https://discourse.processing.org/t/what-is-the-code-for-my-wave-to-move-at-the-same-time-as-the-song/29728)

<div class="topic-metadata">

**Author:** [@Marga](https://discourse.processing.org/u/Marga)\
**Replies:** 15\
**Last updated:** [May 1, 2021, 9:11pm UTC](https://discourse.processing.org/t/what-is-the-code-for-my-wave-to-move-at-the-same-time-as-the-song/29728 "2021-05-01T21:11:22Z")

</div>

Hello everyone! I’m having trouble knowing how my wave moves at the same time as my music. In this sense, I would like to know if anyone can help me to resolve this issue? I already created my wave and put my music on …

---

## [Controlp5 (cp5): Sync color displayed by colorwheel when variable is changed](https://discourse.processing.org/t/controlp5-cp5-sync-color-displayed-by-colorwheel-when-variable-is-changed/29775)

<div class="topic-metadata">

**Author:** [@Len](https://discourse.processing.org/u/Len)\
**Replies:** 2\
**Last updated:** [May 1, 2021, 4:40pm UTC](https://discourse.processing.org/t/controlp5-cp5-sync-color-displayed-by-colorwheel-when-variable-is-changed/29775 "2021-05-01T16:40:42Z")

</div>

I use a colorwheel in my sketch to change the background color. I also have a key set to choose and set random background color from an array. I would like the color wheel to update and display the actual background colo…

---

## [About how to load images after the video is over](https://discourse.processing.org/t/about-how-to-load-images-after-the-video-is-over/29749)

<div class="topic-metadata">

**Author:** [@Yujung](https://discourse.processing.org/u/Yujung)\
**Replies:** 2\
**Last updated:** [May 1, 2021, 3:08pm UTC](https://discourse.processing.org/t/about-how-to-load-images-after-the-video-is-over/29749 "2021-05-01T15:08:51Z")

</div>

I wanted to make two images of case2 appear after the ‘intro’ video, but it didn’t work. What could be the problem? import processing.video.\*; Movie intro; int caseNum=1; PImage start; PImage press; void setup() { …

---

## [Visualize tweets on a map real time](https://discourse.processing.org/t/visualize-tweets-on-a-map-real-time/20963)

<div class="topic-metadata">

**Author:** [@OptOut](https://discourse.processing.org/u/OptOut)\
**Replies:** 1\
**Last updated:** [May 17, 2020, 3:39pm UTC](https://discourse.processing.org/t/visualize-tweets-on-a-map-real-time/20963 "2020-05-17T15:39:03Z")

</div>

Hi everybody, I have an idea for a project and looking for guidance/examples on how to get started as a relative newbie What I would like to achieve: A 2d map of the world. A way to show a visualisation of tweets from…

---

## [netCDF Library not worling](https://discourse.processing.org/t/netcdf-library-not-worling/29077)

<div class="topic-metadata">

**Author:** [@tomtm](https://discourse.processing.org/u/tomtm)\
**Replies:** 12\
**Last updated:** [April 29, 2021, 3:45pm UTC](https://discourse.processing.org/t/netcdf-library-not-worling/29077 "2021-04-29T15:45:01Z")

</div>

Hi, I found this netCDF Library, but I am not able to get it to run, it always says, that the netcdf library isn‘t available. To check I trief to run the example files coming with this library. Could someone check, if …

---

## [Video capture on macOS Catalina not working](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921)

<div class="topic-metadata">

**Author:** [@kevinschlei](https://discourse.processing.org/u/kevinschlei)\
**Replies:** 2\
**Last updated:** [April 29, 2021, 2:58pm UTC](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921 "2021-04-29T14:58:58Z")

</div>

Trying to run any sketch that uses the processing.video.\*; library with a Capture object fails to run. Below is the error that prints. I’m pretty devastated :disappointed:. I’m teaching a class right now and have been b…

---

## [Library for listening to mathematical functions?](https://discourse.processing.org/t/library-for-listening-to-mathematical-functions/29693)

<div class="topic-metadata">

**Author:** [@Karrajo](https://discourse.processing.org/u/Karrajo)\
**Replies:** 5\
**Last updated:** [April 28, 2021, 7:04pm UTC](https://discourse.processing.org/t/library-for-listening-to-mathematical-functions/29693 "2021-04-28T19:04:07Z")

</div>

Hi, I am looking for a library to listen to the sound of mathematical functions that I can write. Functions like this: float x = 200\*sin(t\*PI\*2) float y = 200\*sin(t\*PI\*3) I already can see the drawings of the functions…

---

## [Issue with loading movie on multiple windows](https://discourse.processing.org/t/issue-with-loading-movie-on-multiple-windows/29653)

<div class="topic-metadata">

**Author:** [@toto](https://discourse.processing.org/u/toto)\
**Replies:** 9\
**Last updated:** [April 26, 2021, 4:22pm UTC](https://discourse.processing.org/t/issue-with-loading-movie-on-multiple-windows/29653 "2021-04-26T16:22:00Z")

</div>

I am trying to create two windows, and play the movie on the sub-window. So far I’ve made the sub-window appear with Applet, but it does not play the movie. The mp4 file is located in the data file, and it appears fine…

---

## [Open text in Browser](https://discourse.processing.org/t/open-text-in-browser/29642)

<div class="topic-metadata">

**Author:** [@hklotz13](https://discourse.processing.org/u/hklotz13)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 3:17pm UTC](https://discourse.processing.org/t/open-text-in-browser/29642 "2021-04-26T15:17:51Z")

</div>

Hello again! This time I’ve got a question about links. I scrapped my old project and I’ve almost got a project done based on the QRCodeReader library. My sketch reads the QR Codes just fine. I was wondering though if th…

---

## [I'm in a hurry. Help. This is an OPEN CV 'contour' question](https://discourse.processing.org/t/im-in-a-hurry-help-this-is-an-open-cv-contour-question/29508)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [April 25, 2021, 9:08am UTC](https://discourse.processing.org/t/im-in-a-hurry-help-this-is-an-open-cv-contour-question/29508 "2021-04-25T09:08:00Z")

</div>

I’m in a hurry. Help. This is the OPEN CV’contour’ question. I want to get the x,y coordinate values for’contour’. Please tell me a way to get the x,y coordinates. Please. int x =? int y =? import gab.opencv.; imp…

---

## [How to display text using addRadioButton?](https://discourse.processing.org/t/how-to-display-text-using-addradiobutton/29488)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 2\
**Last updated:** [April 25, 2021, 6:28am UTC](https://discourse.processing.org/t/how-to-display-text-using-addradiobutton/29488 "2021-04-25T06:28:03Z")

</div>

Good afternoon, when I click on the checkbox, the Rebook inscription appears at the bottom, but with Radio1 and Radio2 it does not appear with the NIKE inscription. import controlP5.\*; ControlP5 cp5; int myColorBack…

---

## [Exception in Toxiclibs voronoi.addPoint() when image is large (5k x 5k or larger)](https://discourse.processing.org/t/exception-in-toxiclibs-voronoi-addpoint-when-image-is-large-5k-x-5k-or-larger/29541)

<div class="topic-metadata">

**Author:** [@mocelet](https://discourse.processing.org/u/mocelet)\
**Replies:** 2\
**Last updated:** [April 21, 2021, 1:02pm UTC](https://discourse.processing.org/t/exception-in-toxiclibs-voronoi-addpoint-when-image-is-large-5k-x-5k-or-larger/29541 "2021-04-21T13:02:08Z")

</div>

I am using the Toxiclibs voronoi mesh to generate a set of non-overlapping lines in a circle, and have based my sketch on the example code I found at https://forum.processing.org/one/topic/toxiclib-voronoi-example-sketch…

---

## [OpenCV update, Heaviside Step Function, deriving parametric functions of shapes, Sobel filter](https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 54\
**Last updated:** [April 20, 2021, 5:46am UTC](https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931 "2021-04-20T05:46:17Z")

</div>

Hi. I would like to plot this function but I’m not sure how to implement it. It is a Heaviside step function, and I assume that the theta sign means that the sinusoid applies only to 27π \< t \< 31π , and otherwise the…

---

## [FFT.forward equivalent for AudioSample](https://discourse.processing.org/t/fft-forward-equivalent-for-audiosample/29464)

<div class="topic-metadata">

**Author:** [@indicator\_red](https://discourse.processing.org/u/indicator_red)\
**Replies:** 8\
**Last updated:** [April 20, 2021, 2:55am UTC](https://discourse.processing.org/t/fft-forward-equivalent-for-audiosample/29464 "2021-04-20T02:55:17Z")

</div>

Hello, I am attempting to get audio/video sync working for exporting a music visualization. I’m working with this demo script from VideoExport:withAudioViz.pde. I am able to generate the analysis .txt file and get the s…

---

## [G4P giving me an error on TextField settext()](https://discourse.processing.org/t/g4p-giving-me-an-error-on-textfield-settext/29483)

<div class="topic-metadata">

**Author:** [@FedeKrum](https://discourse.processing.org/u/FedeKrum)\
**Replies:** 4\
**Last updated:** [April 19, 2021, 7:37pm UTC](https://discourse.processing.org/t/g4p-giving-me-an-error-on-textfield-settext/29483 "2021-04-19T19:37:19Z")

</div>

Hi, I did a form with G4P GUI. I added only one line at the event of a text field. It looks that the event can’t handle the typing of one character at the field and crashes. I am getting this error while executing the…

---

## [G4P can't handle multiple opened sketches on my mac](https://discourse.processing.org/t/g4p-cant-handle-multiple-opened-sketches-on-my-mac/29485)

<div class="topic-metadata">

**Author:** [@FedeKrum](https://discourse.processing.org/u/FedeKrum)\
**Replies:** 2\
**Last updated:** [April 19, 2021, 11:23am UTC](https://discourse.processing.org/t/g4p-cant-handle-multiple-opened-sketches-on-my-mac/29485 "2021-04-19T11:23:50Z")

</div>

Hi. If I open 2 sketches in Processing on my mac, “G4P GUI builder” gets confused and if I open it while focused on one project, it may bring the “gui” of the other. This forces me to close all other sketches and try a…

---

## [Convert from FFT back to audio?](https://discourse.processing.org/t/convert-from-fft-back-to-audio/29461)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 2\
**Last updated:** [April 18, 2021, 3:30pm UTC](https://discourse.processing.org/t/convert-from-fft-back-to-audio/29461 "2021-04-18T15:30:27Z")

</div>

Hello forum. I have used the processing sound library to analyze an audio file and get the sound spectrum in the form of an array of floats. I was wondering if there was a well understood way of converting back to audio…

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

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