# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=547

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

**Page:** 548

---

## [Data table to Midi question](https://discourse.processing.org/t/data-table-to-midi-question/6479)

<div class="topic-metadata">

**Author:** [@Eone](https://discourse.processing.org/u/Eone)\
**Replies:** 6\
**Last updated:** [December 11, 2018, 4:16pm UTC](https://discourse.processing.org/t/data-table-to-midi-question/6479 "2018-12-11T16:16:18Z")

</div>

Hi there. So I’m trying to create a project where I have some biometric data that I’ve recorded and convert it into MIDI to create a soundscape. I’ve managed to get the Midi library list part to work on its own and also …

---

## [Reading int values from audio input](https://discourse.processing.org/t/reading-int-values-from-audio-input/6476)

<div class="topic-metadata">

**Author:** [@fastfourier](https://discourse.processing.org/u/fastfourier)\
**Replies:** 6\
**Last updated:** [December 11, 2018, 1:55pm UTC](https://discourse.processing.org/t/reading-int-values-from-audio-input/6476 "2018-12-11T13:55:38Z")

</div>

hi all, Is there any library which allows me to open an audio input (either a file or a real one) and read it as integers? All the ways I’ve tried so far present the audio data as floats from -1.0 to +1.0. thanks!

---

## [StringDict.get() Problem](https://discourse.processing.org/t/stringdict-get-problem/6435)

<div class="topic-metadata">

**Author:** [@JoshElliott](https://discourse.processing.org/u/JoshElliott)\
**Replies:** 9\
**Last updated:** [December 11, 2018, 11:01am UTC](https://discourse.processing.org/t/stringdict-get-problem/6435 "2018-12-11T11:01:21Z")

</div>

Hi All, Sorry, I’m pretty new to all this. I have a project I’m working on that saves keyboard input to a StringDict with a keyword for each of a number of associated textfield objects. It seems to be mostly operationa…

---

## [Processing compiled .exe will not start in win7 startup folder](https://discourse.processing.org/t/processing-compiled-exe-will-not-start-in-win7-startup-folder/6450)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 12\
**Last updated:** [December 11, 2018, 10:33am UTC](https://discourse.processing.org/t/processing-compiled-exe-will-not-start-in-win7-startup-folder/6450 "2018-12-11T10:33:29Z")

</div>

Greets to all! I have a Processing project completed and exported as a Win32 .dot-exe file. It is being run on a Lenovo Atom processor. Newly installed Win7. Absolutely nothing I’ve tried will allow this program to r…

---

## [Zooming + Scrolling in a Procedural Drawing Application need some help finishing off](https://discourse.processing.org/t/zooming-scrolling-in-a-procedural-drawing-application-need-some-help-finishing-off/5177)

<div class="topic-metadata">

**Author:** [@FyodorKrasniy](https://discourse.processing.org/u/FyodorKrasniy)\
**Replies:** 3\
**Last updated:** [December 11, 2018, 10:06am UTC](https://discourse.processing.org/t/zooming-scrolling-in-a-procedural-drawing-application-need-some-help-finishing-off/5177 "2018-12-11T10:06:22Z")

</div>

Hi guys, I made a post a long while ago working on the zoom interface for this drawing app Ive been working on, Ive got it closish to what I want but am having issues with figuring out how to make the zoom focus on the m…

---

## [Reading raw values with processing-sound library](https://discourse.processing.org/t/reading-raw-values-with-processing-sound-library/6495)

<div class="topic-metadata">

**Author:** [@fastfourier](https://discourse.processing.org/u/fastfourier)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 9:27am UTC](https://discourse.processing.org/t/reading-raw-values-with-processing-sound-library/6495 "2018-12-11T09:27:42Z")

</div>

Hi again, I am trying to read audio (raw values) in from a SPDIF input (11=left, 12=right) on my audio interface (MOTU 828mk2). I am having real trouble getting hold of any inputs other than 1 and 2 (the two microphone …

---

## [Loop inside class instancing problem](https://discourse.processing.org/t/loop-inside-class-instancing-problem/6494)

<div class="topic-metadata">

**Author:** [@Rangerz132](https://discourse.processing.org/u/Rangerz132)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 7:49am UTC](https://discourse.processing.org/t/loop-inside-class-instancing-problem/6494 "2018-12-11T07:49:16Z")

</div>

Hi guys! I’m currently developping a 3D game with processing for a University project. The game is actually a fighter jet poursuit. I have a radar in 2D who map the distance between the enemies and my jet. I have an Arr…

---

## [Seems to be performance issues, but only with one player](https://discourse.processing.org/t/seems-to-be-performance-issues-but-only-with-one-player/6489)

<div class="topic-metadata">

**Author:** [@MartinM](https://discourse.processing.org/u/MartinM)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:22pm UTC](https://discourse.processing.org/t/seems-to-be-performance-issues-but-only-with-one-player/6489 "2018-12-10T21:22:07Z")

</div>

I am currently in the process in making a modified version of capture the flag and a quarter way though the process I ran into a weird issue. For some reason when moving player 2, the yellow player, around the board the …

---

## [\[SOLVED\] How can I turn off any filtering? solved thanks to the wonderful @jb4x](https://discourse.processing.org/t/solved-how-can-i-turn-off-any-filtering-solved-thanks-to-the-wonderful-jb4x/6488)

<div class="topic-metadata">

**Author:** [@lord\_berto](https://discourse.processing.org/u/lord_berto)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 8:52pm UTC](https://discourse.processing.org/t/solved-how-can-i-turn-off-any-filtering-solved-thanks-to-the-wonderful-jb4x/6488 "2018-12-10T20:52:23Z")

</div>

Im fairly new to processing. Im using PGraphics to try a simple paint program. but I want my program to be primitive looking ( low resolution ), I’ve managed to get it in fullscreen with a custom low-res resolution, but…

---

## [Making a for loop ( or timer )](https://discourse.processing.org/t/making-a-for-loop-or-timer/6483)

<div class="topic-metadata">

**Author:** [@Sunnylimenoid](https://discourse.processing.org/u/Sunnylimenoid)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 4:58pm UTC](https://discourse.processing.org/t/making-a-for-loop-or-timer/6483 "2018-12-10T16:58:12Z")

</div>

Hello, I am new to processing, but have been trying to figure out how to implement a for loop for my code below. I have only used while loops before, so i’m not used to for loops, but I’m told that they are efficient and…

---

## [Processing Renderer in NetBeans](https://discourse.processing.org/t/processing-renderer-in-netbeans/6477)

<div class="topic-metadata">

**Author:** [@flecheria](https://discourse.processing.org/u/flecheria)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 3:02pm UTC](https://discourse.processing.org/t/processing-renderer-in-netbeans/6477 "2018-12-10T15:02:14Z")

</div>

HI I’m using processing in NetBeans but I got this error when I try to set P3D renderer in settings; public void settings() { size(300, 300, "P3D"); } java.lang.RuntimeException: The P3D renderer is not in the cl…

---

## [Loop after loop in setup](https://discourse.processing.org/t/loop-after-loop-in-setup/6472)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 5\
**Last updated:** [December 10, 2018, 12:59pm UTC](https://discourse.processing.org/t/loop-after-loop-in-setup/6472 "2018-12-10T12:59:04Z")

</div>

If i want to use a specific loop for two different functions inside the draw what am i suppose to do?? For example if i want to use this : for (int i=0; i\<table.getRowCount(); i++) { for two different function insid…

---

## [How do I make sure that a function is used properly/as intended when called?](https://discourse.processing.org/t/how-do-i-make-sure-that-a-function-is-used-properly-as-intended-when-called/6447)

<div class="topic-metadata">

**Author:** [@klaik30](https://discourse.processing.org/u/klaik30)\
**Replies:** 3\
**Last updated:** [December 10, 2018, 10:49am UTC](https://discourse.processing.org/t/how-do-i-make-sure-that-a-function-is-used-properly-as-intended-when-called/6447 "2018-12-10T10:49:00Z")

</div>

I want to make some code that just converts an int of value 0 or 1 to a boolean but I don’t want the value inputted to be anything other than 0 or 1. If that is the case I want to throw an error and stop the program like…

---

## [Out Of Memory Error](https://discourse.processing.org/t/out-of-memory-error/6442)

<div class="topic-metadata">

**Author:** [@dragon\_hatcher](https://discourse.processing.org/u/dragon_hatcher)\
**Replies:** 6\
**Last updated:** [December 10, 2018, 10:10am UTC](https://discourse.processing.org/t/out-of-memory-error/6442 "2018-12-10T10:10:04Z")

</div>

My project keeps getting an out of memory error after 15 - 20 minutes. However when I looked online at the problem it seemed that this almost always happens when you load some sort of file but I’m not doing this. Does a …

---

## [(Processing 3.0) how to sort string array by value of substrings?](https://discourse.processing.org/t/processing-3-0-how-to-sort-string-array-by-value-of-substrings/6436)

<div class="topic-metadata">

**Author:** [@epicwyvern](https://discourse.processing.org/u/epicwyvern)\
**Replies:** 5\
**Last updated:** [December 10, 2018, 7:47am UTC](https://discourse.processing.org/t/processing-3-0-how-to-sort-string-array-by-value-of-substrings/6436 "2018-12-10T07:47:53Z")

</div>

hello guys im in a bit of a dilemma. i am trying to sort the following text file: a a 1 aasd asdasa 23 aghf bsad 12 ytyi qwea 1222313 hlkjojto erewrui 1222 aerwjdu sdahdsu 1…

---

## [\[controlp5\] How to auto submit the change in text field? Currently need to press "enter" key](https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449)

<div class="topic-metadata">

**Author:** [@taeyeyta](https://discourse.processing.org/u/taeyeyta)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 7:43am UTC](https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449 "2018-12-10T07:43:47Z")

</div>

I am using ControlP5 GUI library text fields it must to press enter to submit to set value How to auto submit the change in text field?

---

## [Minim does not play the files of objects without error](https://discourse.processing.org/t/minim-does-not-play-the-files-of-objects-without-error/6457)

<div class="topic-metadata">

**Author:** [@phaidon](https://discourse.processing.org/u/phaidon)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 12:30am UTC](https://discourse.processing.org/t/minim-does-not-play-the-files-of-objects-without-error/6457 "2018-12-10T00:30:24Z")

</div>

Hello, i am writing this processing script with the use of minim, the concept to have a general sound that controls the scale of an ellipse with amplitude, and then when a mouse control rectangle gets inside the ellipse,…

---

## [Check which renderer is active?](https://discourse.processing.org/t/check-which-renderer-is-active/6452)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 12:17am UTC](https://discourse.processing.org/t/check-which-renderer-is-active/6452 "2018-12-10T00:17:27Z")

</div>

Was checking out the source code on GitHub and found many mentions to ‘this.renderer’ for internal use to see which renderer is in use (P2D, P3D) – just wondering if we’re able to access this variable? Was interested to …

---

## [Code to transform content for Holographic Pyramid with PGraphics](https://discourse.processing.org/t/code-to-transform-content-for-holographic-pyramid-with-pgraphics/6277)

<div class="topic-metadata">

**Author:** [@olotropic\_world](https://discourse.processing.org/u/olotropic_world)\
**Replies:** 2\
**Last updated:** [December 9, 2018, 11:14pm UTC](https://discourse.processing.org/t/code-to-transform-content-for-holographic-pyramid-with-pgraphics/6277 "2018-12-09T23:14:17Z")

</div>

Hello everyone I’ve created a code that can transform a three-dimensional content into holographic video for pyramid. For the purposes of example, a three-dimensional shape taken from the Processing examples was used. …

---

## [Hidden line removal for wireframe obj as PShape](https://discourse.processing.org/t/hidden-line-removal-for-wireframe-obj-as-pshape/4253)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 10\
**Last updated:** [December 9, 2018, 9:44pm UTC](https://discourse.processing.org/t/hidden-line-removal-for-wireframe-obj-as-pshape/4253 "2018-12-09T21:44:47Z")

</div>

Starting to play with importing an obj file using loadShape() and rendering it as a wireframe. Now comes the tricky part… how to do ‘hidden line removal’ (similar to back-face detection, culling… still sorting out exact…

---

## [Mouseclick colorswitch (RGB)](https://discourse.processing.org/t/mouseclick-colorswitch-rgb/6387)

<div class="topic-metadata">

**Author:** [@Student\_NL](https://discourse.processing.org/u/Student_NL)\
**Replies:** 6\
**Last updated:** [December 9, 2018, 8:41pm UTC](https://discourse.processing.org/t/mouseclick-colorswitch-rgb/6387 "2018-12-09T20:41:52Z")

</div>

Hello, I’m trying to figure out how to switch the color of the screen multiple times by using mouseclick/ mousepressed. The background has to switch from black to red, then blue, then green, (and then back to red.) Th…

---

## [How do I draw a continuous line between several points?](https://discourse.processing.org/t/how-do-i-draw-a-continuous-line-between-several-points/6091)

<div class="topic-metadata">

**Author:** [@klaik30](https://discourse.processing.org/u/klaik30)\
**Replies:** 5\
**Last updated:** [December 9, 2018, 6:03pm UTC](https://discourse.processing.org/t/how-do-i-draw-a-continuous-line-between-several-points/6091 "2018-12-09T18:03:46Z")

</div>

I’d like to draw a continuous line between several points. It should be any shape what so ever and not fill anything between any of the points, like drawing with a pen. Picture for reference: I know that if I don’t up…

---

## [Setting a class field array via reflection](https://discourse.processing.org/t/setting-a-class-field-array-via-reflection/6444)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 7\
**Last updated:** [December 9, 2018, 5:20pm UTC](https://discourse.processing.org/t/setting-a-class-field-array-via-reflection/6444 "2018-12-09T17:20:11Z")

</div>

Hello once again. The pipeline I’m developing uses a csv file to drive the animations. I’ve hit a stumbling block: I’d like to be able to parse a string into a class’s float array field using reflection. I feel like I’m…

---

## [Couple of questions about lights, snow and rain](https://discourse.processing.org/t/couple-of-questions-about-lights-snow-and-rain/6422)

<div class="topic-metadata">

**Author:** [@ant](https://discourse.processing.org/u/ant)\
**Replies:** 7\
**Last updated:** [December 9, 2018, 1:26pm UTC](https://discourse.processing.org/t/couple-of-questions-about-lights-snow-and-rain/6422 "2018-12-09T13:26:39Z")

</div>

Working on a project and I have a few questions before it’s complete. First, on the third stage of my code it is snowing, but when I went to go use the same code I made for rain on my fourth stage the rain is not moving.…

---

## [Steinhaus Cube Sketch](https://discourse.processing.org/t/steinhaus-cube-sketch/5632)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 1\
**Last updated:** [December 9, 2018, 1:23pm UTC](https://discourse.processing.org/t/steinhaus-cube-sketch/5632 "2018-12-09T13:23:02Z")

</div>

The Steinhaus Cube is a riddle where you have ro make a 3D cube from 6 wooden pieces. (Steinhaus Cube (Mikusiñski’s Cube)) see graphic: http://www.puzzlewillbeplayed.com/333/Steinhaus/ I made a 3D sketch where you ca…

---

## [How to count steps with TYPE\_STEP\_DETECTOR?](https://discourse.processing.org/t/how-to-count-steps-with-type-step-detector/6411)

<div class="topic-metadata">

**Author:** [@craftthis](https://discourse.processing.org/u/craftthis)\
**Replies:** 3\
**Last updated:** [December 9, 2018, 8:58am UTC](https://discourse.processing.org/t/how-to-count-steps-with-type-step-detector/6411 "2018-12-09T08:58:05Z")

</div>

I am trying to use the sensor TYPE\_STEP\_DETECTOR to detect when the user steps, but i don’t know exactly the sintax for this, if anyone could help it would help.

---

## [Video Projection with arduino](https://discourse.processing.org/t/video-projection-with-arduino/6430)

<div class="topic-metadata">

**Author:** [@ashleytg12](https://discourse.processing.org/u/ashleytg12)\
**Replies:** 1\
**Last updated:** [December 9, 2018, 3:48am UTC](https://discourse.processing.org/t/video-projection-with-arduino/6430 "2018-12-09T03:48:14Z")

</div>

Hi guys. I am attempting to use capacitive sensors that trigger a video on Processing. It works wonderfully when connected to my laptop but I want to project the video onto a TV screen. When I hook up my tv to my laptop …

---

## [I need help making save states for an rpg](https://discourse.processing.org/t/i-need-help-making-save-states-for-an-rpg/6428)

<div class="topic-metadata">

**Author:** [@myxen](https://discourse.processing.org/u/myxen)\
**Replies:** 1\
**Last updated:** [December 8, 2018, 7:16pm UTC](https://discourse.processing.org/t/i-need-help-making-save-states-for-an-rpg/6428 "2018-12-08T19:16:19Z")

</div>

how do i make save states in an rpg game in processing

---

## [Issue with clear()](https://discourse.processing.org/t/issue-with-clear/6307)

<div class="topic-metadata">

**Author:** [@dashmc](https://discourse.processing.org/u/dashmc)\
**Replies:** 10\
**Last updated:** [December 8, 2018, 6:51pm UTC](https://discourse.processing.org/t/issue-with-clear/6307 "2018-12-08T18:51:06Z")

</div>

I am trying to make it so the canvas clears when I click, but it always just comes back right away. Any Ideas? Here is my code: global cWidth global cHeight cWidth=600 cHeight=600 class character(object): def \_\_init…

---

## [Updating '1.0.3' processing version code to the current version of processing?](https://discourse.processing.org/t/updating-1-0-3-processing-version-code-to-the-current-version-of-processing/6379)

<div class="topic-metadata">

**Author:** [@Malvan](https://discourse.processing.org/u/Malvan)\
**Replies:** 3\
**Last updated:** [December 8, 2018, 6:46pm UTC](https://discourse.processing.org/t/updating-1-0-3-processing-version-code-to-the-current-version-of-processing/6379 "2018-12-08T18:46:07Z")

</div>

So i was digging through the internet to find the code of an application, i need, and i’ve successfully found it, but the thing is, the app was written so many years ago, that it’s outdated (it doesnt working properly), …

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=546)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=548)
