# Libraries

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

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

**Page:** 14

---

## [How to record sound from a microphone using the Core Sound library?](https://discourse.processing.org/t/how-to-record-sound-from-a-microphone-using-the-core-sound-library/39811)

<div class="topic-metadata">

**Author:** [@jvolker](https://discourse.processing.org/u/jvolker)\
**Replies:** 1\
**Last updated:** [November 27, 2022, 8:06pm UTC](https://discourse.processing.org/t/how-to-record-sound-from-a-microphone-using-the-core-sound-library/39811 "2022-11-27T20:06:10Z")

</div>

Hi, I’m looking for a way to record and playback sound from a microphone using the Core Sound library. It seems there are no examples to do this and looking at the API I don’t see a way to get from AudioIn to AudioSampl…

---

## [MIDIBus: extending Advanced MIDIMessageIO to handle MIDI Patch Change output](https://discourse.processing.org/t/midibus-extending-advanced-midimessageio-to-handle-midi-patch-change-output/39900)

<div class="topic-metadata">

**Author:** [@m47k0](https://discourse.processing.org/u/m47k0)\
**Replies:** 0\
**Last updated:** [November 27, 2022, 4:13pm UTC](https://discourse.processing.org/t/midibus-extending-advanced-midimessageio-to-handle-midi-patch-change-output/39900 "2022-11-27T16:13:36Z")

</div>

Have been generating data which I map & output as MIDI controller change data with TheMIDIBus, no problem. I now want to output Patch Change data, which out the box TheMIDIBus doesn’t appear to handle. In the MIDIBus A…

---

## [Sketch code recorded a sound and i do not know wy and also take the sound/noise recorded off](https://discourse.processing.org/t/sketch-code-recorded-a-sound-and-i-do-not-know-wy-and-also-take-the-sound-noise-recorded-off/39888)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 0\
**Last updated:** [November 26, 2022, 9:15pm UTC](https://discourse.processing.org/t/sketch-code-recorded-a-sound-and-i-do-not-know-wy-and-also-take-the-sound-noise-recorded-off/39888 "2022-11-26T21:15:39Z")

</div>

Hello people. I found anice code and i modify it. Added some ellipses and add my onw picture.jpg, changed some numbers and the size of the canva. This bubbling the image with sounds from microphone, ( i wnat to change …

---

## [Add sound instead microphone](https://discourse.processing.org/t/add-sound-instead-microphone/39880)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 2\
**Last updated:** [November 26, 2022, 10:21am UTC](https://discourse.processing.org/t/add-sound-instead-microphone/39880 "2022-11-26T10:21:33Z")

</div>

Hi there, I am here again… Learning, Tks to all of you! I found a code exemple and a have change it adding my images and resizing it, resizing as a tool to manage my picture and feet the window.and add some ellipse on …

---

## [How can i capture face recognition image?](https://discourse.processing.org/t/how-can-i-capture-face-recognition-image/39869)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 1\
**Last updated:** [November 25, 2022, 4:36pm UTC](https://discourse.processing.org/t/how-can-i-capture-face-recognition-image/39869 "2022-11-25T16:36:53Z")

</div>

Hi, I have managed to set up a live video cam in my code and I used OpenCV for face detection. Ellipses are drawn on detected faces. Now how can I take that ellipse and display a still image of that when I press enter? I…

---

## [Why do I need the IF when using two movies](https://discourse.processing.org/t/why-do-i-need-the-if-when-using-two-movies/39846)

<div class="topic-metadata">

**Author:** [@illus](https://discourse.processing.org/u/illus)\
**Replies:** 5\
**Last updated:** [November 24, 2022, 4:49pm UTC](https://discourse.processing.org/t/why-do-i-need-the-if-when-using-two-movies/39846 "2022-11-24T16:49:37Z")

</div>

Below is a direct copy from the processing reference guide. I’m sure it will work, but I’m pretty new here, so I would like to understand why I need the if statement in the movieEvent. Basically why can’t this be just m…

---

## [Websockets Library Issues (WebsocketClient constructor)](https://discourse.processing.org/t/websockets-library-issues-websocketclient-constructor/39823)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 5\
**Last updated:** [November 23, 2022, 1:29am UTC](https://discourse.processing.org/t/websockets-library-issues-websocketclient-constructor/39823 "2022-11-23T01:29:49Z")

</div>

Hello guys! I’m having some issue with the websockets library. In the “docs” (aka the github repo) the WebsocketClient class has several different constructor forms. The main one I’m trying to use, is the primary form: …

---

## [Millis . How to calculate 80hz in millis%](https://discourse.processing.org/t/millis-how-to-calculate-80hz-in-millis/39774)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 13\
**Last updated:** [November 22, 2022, 6:30pm UTC](https://discourse.processing.org/t/millis-how-to-calculate-80hz-in-millis/39774 "2022-11-22T18:30:26Z")

</div>

Hi there… I have this exemple to learn how to calculate flash per second from hz to millis %. I know that it is 1/1000 seconds. What i want is to make the rect flashes 80hz or 80 x per second. tks //String\[\] sentenc…

---

## [Importing Java libraries into embed Processing sketch online](https://discourse.processing.org/t/importing-java-libraries-into-embed-processing-sketch-online/39693)

<div class="topic-metadata">

**Author:** [@zellwd](https://discourse.processing.org/u/zellwd)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 6:08pm UTC](https://discourse.processing.org/t/importing-java-libraries-into-embed-processing-sketch-online/39693 "2022-11-21T18:08:06Z")

</div>

Hello, I’m trying to embed a Processing sketch onto an HTML page, which uses Java libraries, I’ve been following this guide. Processing on the web does not support imported libraries, which is probably why the program w…

---

## [How to record and playback samples using Minim library?](https://discourse.processing.org/t/how-to-record-and-playback-samples-using-minim-library/39814)

<div class="topic-metadata">

**Author:** [@jvolker](https://discourse.processing.org/u/jvolker)\
**Replies:** 0\
**Last updated:** [November 21, 2022, 5:26pm UTC](https://discourse.processing.org/t/how-to-record-and-playback-samples-using-minim-library/39814 "2022-11-21T17:26:31Z")

</div>

Hi, I’m trying to record and play back sound samples. I found this example using the Minim library: Minim : : Minim : : createRecorder However, the example requires saving the recorded audio to a file in order to play …

---

## [Loss of sound/audio when using VideoExport (hamoid import)](https://discourse.processing.org/t/loss-of-sound-audio-when-using-videoexport-hamoid-import/23306)

<div class="topic-metadata">

**Author:** [@jesspayne](https://discourse.processing.org/u/jesspayne)\
**Replies:** 2\
**Last updated:** [November 19, 2022, 6:35pm UTC](https://discourse.processing.org/t/loss-of-sound-audio-when-using-videoexport-hamoid-import/23306 "2022-11-19T18:35:35Z")

</div>

Hi all, I’m trying to export my sketch using the VideoExport function (Hamoid import) but am losing sound on playback. I’ve copied my code below - am I missing something? Thanks in advance, Jess import com.hamoid.\*; …

---

## [Basic Newbie OSC int and float](https://discourse.processing.org/t/basic-newbie-osc-int-and-float/39758)

<div class="topic-metadata">

**Author:** [@JonnieNightTime](https://discourse.processing.org/u/JonnieNightTime)\
**Replies:** 2\
**Last updated:** [November 19, 2022, 9:08am UTC](https://discourse.processing.org/t/basic-newbie-osc-int-and-float/39758 "2022-11-19T09:08:19Z")

</div>

Dear All, I’m going crazy trying to work this out - it’s gotta be something so obvious, but I’m just not getting there. I have a Lemur template on an ipad sending OSC to my MacBook (see attached image). I want to jump…

---

## [How to save a sketch with audio instead only images](https://discourse.processing.org/t/how-to-save-a-sketch-with-audio-instead-only-images/39741)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 6\
**Last updated:** [November 17, 2022, 10:06pm UTC](https://discourse.processing.org/t/how-to-save-a-sketch-with-audio-instead-only-images/39741 "2022-11-17T22:06:40Z")

</div>

Hi, please. i need a help here… I made this code wich image and sound. As long i move the mouse the noise changes. How can i save it to render as a video instead only images? \< import processing.sound.\*; BrownNoise n…

---

## [Generate music with image that move with mouse](https://discourse.processing.org/t/generate-music-with-image-that-move-with-mouse/39726)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 3\
**Last updated:** [November 15, 2022, 11:48pm UTC](https://discourse.processing.org/t/generate-music-with-image-that-move-with-mouse/39726 "2022-11-15T23:48:02Z")

</div>

Hello. I’m starting with processing and I’ve been putting together examples to create my own. In this one I would like to add some sound when moving the mouse (and the square drawing). How to add a sample or a noise w…

---

## [Help resetting variables inside classes, arrays](https://discourse.processing.org/t/help-resetting-variables-inside-classes-arrays/39716)

<div class="topic-metadata">

**Author:** [@moffmix](https://discourse.processing.org/u/moffmix)\
**Replies:** 3\
**Last updated:** [November 15, 2022, 2:01am UTC](https://discourse.processing.org/t/help-resetting-variables-inside-classes-arrays/39716 "2022-11-15T02:01:04Z")

</div>

Hi there! Full disclosure, this is for my beginner’s coding class, so I might not get the names of different resources correct or might have stuff in weird places - any advice is appreciated, but the simpler the better r…

---

## [Is it possible to create a pdf file with multiple sizes?](https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695)

<div class="topic-metadata">

**Author:** [@Jean-no](https://discourse.processing.org/u/Jean-no)\
**Replies:** 1\
**Last updated:** [November 14, 2022, 1:38pm UTC](https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695 "2022-11-14T13:38:58Z")

</div>

Hi ! I wonder if there is a hint to use multiple page sizes in a pdf document ? (for example, the document’s first page with the whole cover of a book - including the front, the back and the spine) The pdf format can m…

---

## [Converting a video file to a sprite sheet](https://discourse.processing.org/t/converting-a-video-file-to-a-sprite-sheet/39687)

<div class="topic-metadata">

**Author:** [@5x9x7x2x7x9](https://discourse.processing.org/u/5x9x7x2x7x9)\
**Replies:** 3\
**Last updated:** [November 13, 2022, 11:46pm UTC](https://discourse.processing.org/t/converting-a-video-file-to-a-sprite-sheet/39687 "2022-11-13T23:46:54Z")

</div>

Im trying to make something that can Convert a video file (.MP4 in this case) into a spritesheet. I plan to create a new image with the dimension being Video.width\*Video.frames by Video.height, Video.frames being how ma…

---

## [Help using the Teilchen Library](https://discourse.processing.org/t/help-using-the-teilchen-library/39680)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 0\
**Last updated:** [November 12, 2022, 8:26pm UTC](https://discourse.processing.org/t/help-using-the-teilchen-library/39680 "2022-11-12T20:26:31Z")

</div>

I have just discovered the Teilchen library by dennisppaul and FlowBo. Teilchen appears to be very useful when working with physics, particles, forces, collisions, and behaviors. It ships with a collection of examples, …

---

## [Can I make a video blur?](https://discourse.processing.org/t/can-i-make-a-video-blur/39670)

<div class="topic-metadata">

**Author:** [@Bonobono](https://discourse.processing.org/u/Bonobono)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 5:22pm UTC](https://discourse.processing.org/t/can-i-make-a-video-blur/39670 "2022-11-11T17:22:17Z")

</div>

Hello Everyone, Is it possible to blur a video, much like it is easy to blur an image using the blur filter? Thanks,

---

## [Integration with Ableton via OSC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997)

<div class="topic-metadata">

**Author:** [@Merk](https://discourse.processing.org/u/Merk)\
**Replies:** 1\
**Last updated:** [November 11, 2022, 5:39am UTC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997 "2022-11-11T05:39:31Z")

</div>

I’ve managed to get processing working quite well with Ableton Live, and interested to know who else is doing similar to learn/share. The Max for Live integration pack includes devices that send OSC messages, so I use m…

---

## [Repeated problems with the g4p Gui builder](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633)

<div class="topic-metadata">

**Author:** [@Kalarila](https://discourse.processing.org/u/Kalarila)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 1:53pm UTC](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633 "2022-11-09T13:53:31Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Ok, so I’m using Processing 3.5.4 and the G4P GUI Builder Tool (Version 4.4.2). I’m building a basic Image Editing Program, so I need to use seve…

---

## [Receive UDP packets](https://discourse.processing.org/t/receive-udp-packets/19832)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 3\
**Last updated:** [November 9, 2022, 12:50am UTC](https://discourse.processing.org/t/receive-udp-packets/19832 "2022-11-09T00:50:11Z")

</div>

Hi everyone, I am currently trying to retrieve UDP packets from an ethernet module connected to my computer. I know that the module is transmitting the UDP packets and my laptop is receiving them (I used Wireshark to co…

---

## [More recent information about WiiMote programming?](https://discourse.processing.org/t/more-recent-information-about-wiimote-programming/39622)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 2:06pm UTC](https://discourse.processing.org/t/more-recent-information-about-wiimote-programming/39622 "2022-11-08T14:06:45Z")

</div>

I want to do something with my WiiMote. I’ve search on net and found different places. But they all have some dead links. If someone can point me to some more recent resources that would be great. I’ve tried Game Contro…

---

## [Questions about the Processing sound library](https://discourse.processing.org/t/questions-about-the-processing-sound-library/39626)

<div class="topic-metadata">

**Author:** [@dormirj](https://discourse.processing.org/u/dormirj)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 12:35pm UTC](https://discourse.processing.org/t/questions-about-the-processing-sound-library/39626 "2022-11-08T12:35:41Z")

</div>

Hello there, i want to create a few simple examples of types of sound synthesis in Processing. The basics of the processing.sound library are clear to me, i can play sound sources, process them through effects and trigg…

---

## [Some troubles using MidiBus on Mac](https://discourse.processing.org/t/some-troubles-using-midibus-on-mac/39624)

<div class="topic-metadata">

**Author:** [@BBellamy](https://discourse.processing.org/u/BBellamy)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 12:25pm UTC](https://discourse.processing.org/t/some-troubles-using-midibus-on-mac/39624 "2022-11-08T12:25:46Z")

</div>

Hi, I really enjoy programming with Processing, and doing stuff with midi and synthesizers, and I’ve been working for quite some time on a little midi sequencer of my own using the MidiBus, which is great, but I realise…

---

## [GUI Builder for G4P not working with Processing 4 ### FIXED ###](https://discourse.processing.org/t/gui-builder-for-g4p-not-working-with-processing-4-fixed/35746)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 12\
**Last updated:** [November 6, 2022, 11:15am UTC](https://discourse.processing.org/t/gui-builder-for-g4p-not-working-with-processing-4-fixed/35746 "2022-11-06T11:15:59Z")

</div>

I downloaded Processing 4.0 beta 7 and so far I really like it. However when I try to fire up the G4P tool it opens up and I get this Exception. Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'int p…

---

## [How to make 3D with Processing core library](https://discourse.processing.org/t/how-to-make-3d-with-processing-core-library/19710)

<div class="topic-metadata">

**Author:** [@Ayfri](https://discourse.processing.org/u/Ayfri)\
**Replies:** 6\
**Last updated:** [November 5, 2022, 3:48pm UTC](https://discourse.processing.org/t/how-to-make-3d-with-processing-core-library/19710 "2022-11-05T15:48:48Z")

</div>

I’m using the Processing library in a simple Java project and I tried to make 3D but I got errors, this is my code : package fr.ayfri; import processing.core.PApplet; import processing.core.PConstants; public class Mai…

---

## [Best MIDI library to receive MIDI messages in Processing?](https://discourse.processing.org/t/best-midi-library-to-receive-midi-messages-in-processing/39579)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 1:21pm UTC](https://discourse.processing.org/t/best-midi-library-to-receive-midi-messages-in-processing/39579 "2022-11-05T13:21:16Z")

</div>

Hello, Which library would you recommend to receive MIDI messages in Processing (running in Windows) ? I’ve seen there’s the midiBus library. Also, Minim seems to be able to send MIDI messages, but I don’t see any exam…

---

## [PDF export doesn't work with Hyper framework](https://discourse.processing.org/t/pdf-export-doesnt-work-with-hyper-framework/6747)

<div class="topic-metadata">

**Author:** [@buraquex](https://discourse.processing.org/u/buraquex)\
**Replies:** 8\
**Last updated:** [November 3, 2022, 8:48pm UTC](https://discourse.processing.org/t/pdf-export-doesnt-work-with-hyper-framework/6747 "2022-11-03T20:48:13Z")

</div>

Hello, I recently used Joshua Davis’ fantastic hype framework for a poster design. It worked great, until I decided to export to a pdf as a vector. All I get is an empty pdf with no graphics. Pls help me if there any on…

---

## [getColor() for Kinect](https://discourse.processing.org/t/getcolor-for-kinect/39463)

<div class="topic-metadata">

**Author:** [@lorenlepton](https://discourse.processing.org/u/lorenlepton)\
**Replies:** 2\
**Last updated:** [October 30, 2022, 12:40pm UTC](https://discourse.processing.org/t/getcolor-for-kinect/39463 "2022-10-30T12:40:15Z")

</div>

howdy folks so ive come back to coding after a long time. I used to do openFrameworks & other things for many moons, & have come to Processing due to wanting to cut out the huge IDE & in some ways, not use C++ :wink: p…

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

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