# Processing for Pi

**URL:** https://discourse.processing.org/c/processing-pi/11.md?page=5

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

**Page:** 6

---

## [Tone generation](https://discourse.processing.org/t/tone-generation/13938)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 3:59pm UTC](https://discourse.processing.org/t/tone-generation/13938 "2019-09-12T15:59:02Z")

</div>

I have used wiringpi before and it has a softTone() function to use one of the pin to generate a tone. I ended up using this to generate a PWM signal which drives a stepper motor speed pin. What would be best to used i…

---

## [Interface with encoder](https://discourse.processing.org/t/interface-with-encoder/13937)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 12:02am UTC](https://discourse.processing.org/t/interface-with-encoder/13937 "2019-09-12T00:02:59Z")

</div>

I am very excited to translate some of my older projects to processing for PI. In the past I used a call like this to monitor the 2 digital pins of my encoder: wiringPiISR (encoderPinA,INT\_EDGE\_BOTH, &handleInterrupt);…

---

## [Shutdown pi with Processing?](https://discourse.processing.org/t/shutdown-pi-with-processing/13805)

<div class="topic-metadata">

**Author:** [@bluemoon](https://discourse.processing.org/u/bluemoon)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 7:08pm UTC](https://discourse.processing.org/t/shutdown-pi-with-processing/13805 "2019-09-05T19:08:35Z")

</div>

Hi Folks, I was just wondering if there was a way to shutdown the raspberry pi using Processing (or a way to have Processing run the ‘sudo shutdown’ command in Terminal). Use case: Have a GPIO button on pi that when p…

---

## [GLVideo not working on Pi 4 running Processing 3.5.3](https://discourse.processing.org/t/glvideo-not-working-on-pi-4-running-processing-3-5-3/13661)

<div class="topic-metadata">

**Author:** [@ukc10014](https://discourse.processing.org/u/ukc10014)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 12:40am UTC](https://discourse.processing.org/t/glvideo-not-working-on-pi-4-running-processing-3-5-3/13661 "2019-08-29T00:40:33Z")

</div>

Sorry if this has been asked, but I can’t find anything recent. I am trying to get @gohai contributed library GLVideo (downloaded from github) working on Processing 3.5.3 running on Raspberry Pi 4 running Debian 10.0. …

---

## [Raspberry pi or alternative + kinect](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389)

<div class="topic-metadata">

**Author:** [@haanglide](https://discourse.processing.org/u/haanglide)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 9:45am UTC](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389 "2019-08-16T09:45:29Z")

</div>

Hi! I need to use a depthcamera kinect v1 or v2 doesnt matter. I just need a lowresolution image with a depth value so I can remove background within a certain threshold. I want to run this at at least 30 fps. Not sure i…

---

## [Processing-io.so on Raspberry Pi](https://discourse.processing.org/t/processing-io-so-on-raspberry-pi/12464)

<div class="topic-metadata">

**Author:** [@mrdanimal](https://discourse.processing.org/u/mrdanimal)\
**Replies:** 2\
**Last updated:** [July 14, 2019, 9:58pm UTC](https://discourse.processing.org/t/processing-io-so-on-raspberry-pi/12464 "2019-07-14T21:58:55Z")

</div>

I have a Processing sketch that uses the IO library to use the GPIO pins on a Raspberry Pi. It works. But the sketch has reached a size and level of complexity that I want to switch to Java for additional tooling and tes…

---

## [Skip blank lines from network data](https://discourse.processing.org/t/skip-blank-lines-from-network-data/12551)

<div class="topic-metadata">

**Author:** [@pauledd](https://discourse.processing.org/u/pauledd)\
**Replies:** 8\
**Last updated:** [July 8, 2019, 6:28pm UTC](https://discourse.processing.org/t/skip-blank-lines-from-network-data/12551 "2019-07-08T18:28:05Z")

</div>

Hi there, Constitution: bloody beginner Situation: I try to receive serial data into processing via LAN from a Raspberry Pi that in turn receives the data from /dev/ttyUSB0 connected Arduino (ADC Data, println every …

---

## [Permission problems on raspberry PI](https://discourse.processing.org/t/permission-problems-on-raspberry-pi/12477)

<div class="topic-metadata">

**Author:** [@Noais](https://discourse.processing.org/u/Noais)\
**Replies:** 2\
**Last updated:** [July 3, 2019, 5:30pm UTC](https://discourse.processing.org/t/permission-problems-on-raspberry-pi/12477 "2019-07-03T17:30:57Z")

</div>

Hello ! I recently get a raspberry PI 3 B+, and one of my first project was to make a server with my RPI. For that, i choose “processing” and the “network” library… but when i try to initiate my server, i get this err…

---

## [Wire library missing in Hardware I/0 for use dht22 in processing 3?](https://discourse.processing.org/t/wire-library-missing-in-hardware-i-0-for-use-dht22-in-processing-3/12436)

<div class="topic-metadata">

**Author:** [@Lucas68](https://discourse.processing.org/u/Lucas68)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:50pm UTC](https://discourse.processing.org/t/wire-library-missing-in-hardware-i-0-for-use-dht22-in-processing-3/12436 "2019-07-02T19:50:00Z")

</div>

hi, I need some help, I have to connect a dht22 sensor to the rasberry pi 3b + wire port, but in the i / O hardware libraries the wire is not managed by processing 3, someone has developed a separate library, I have a sh…

---

## [Interface wire and dht22 missing library Hardware I/O in processing 3](https://discourse.processing.org/t/interface-wire-and-dht22-missing-library-hardware-i-o-in-processing-3/12435)

<div class="topic-metadata">

**Author:** [@Lucas68](https://discourse.processing.org/u/Lucas68)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:38am UTC](https://discourse.processing.org/t/interface-wire-and-dht22-missing-library-hardware-i-o-in-processing-3/12435 "2019-07-02T07:38:17Z")

</div>

hi, I need some help, I have to connect a dht22 sensor to the rasberry pi 3b + wire port, but in the i / O hardware libraries the wire is not managed by processing 3, someone has developed a separate library, I have a sh…

---

## [Insufficient memory for Java – Sketch on RaspberryPi](https://discourse.processing.org/t/insufficient-memory-for-java-sketch-on-raspberrypi/12331)

<div class="topic-metadata">

**Author:** [@o\_b](https://discourse.processing.org/u/o_b)\
**Replies:** 10\
**Last updated:** [June 28, 2019, 11:40pm UTC](https://discourse.processing.org/t/insufficient-memory-for-java-sketch-on-raspberrypi/12331 "2019-06-28T23:40:53Z")

</div>

Hi there, I’m running a sketch thats plays random sound every 5 seconds, on a RaspberryPi, using the minim library and the sampler class. The sketch is running fine but only for 5 minutes, then the sounds starts to det…

---

## [Using filter() with glvideo](https://discourse.processing.org/t/using-filter-with-glvideo/11758)

<div class="topic-metadata">

**Author:** [@admiralpiett](https://discourse.processing.org/u/admiralpiett)\
**Replies:** 0\
**Last updated:** [June 1, 2019, 5:20pm UTC](https://discourse.processing.org/t/using-filter-with-glvideo/11758 "2019-06-01T17:20:43Z")

</div>

Hi; Is there any way to use the filters or shaders with the glvideo? I’m trying to invert the video but the filter(INVERT) doesn’t work. I have also tried using Pshader invert to no avail. Thanks.

---

## [Error downloading libraries in ARM](https://discourse.processing.org/t/error-downloading-libraries-in-arm/11601)

<div class="topic-metadata">

**Author:** [@Smantik](https://discourse.processing.org/u/Smantik)\
**Replies:** 2\
**Last updated:** [May 31, 2019, 6:55pm UTC](https://discourse.processing.org/t/error-downloading-libraries-in-arm/11601 "2019-05-31T18:55:54Z")

</div>

Hi! I am using a Jetson Nano with Ubuntu 18.04. I finally could install Processing 3.5.3 version with a Zulu JDK 8 64-bit ARM build for solving the Java problems that I had. Run problems were resolved with that butnow …

---

## [GL Video library installing not working (Pi)](https://discourse.processing.org/t/gl-video-library-installing-not-working-pi/11646)

<div class="topic-metadata">

**Author:** [@justinlui](https://discourse.processing.org/u/justinlui)\
**Replies:** 3\
**Last updated:** [May 28, 2019, 8:06am UTC](https://discourse.processing.org/t/gl-video-library-installing-not-working-pi/11646 "2019-05-28T08:06:18Z")

</div>

A noob question: I’m trying to install @gohai 's GL Video library on a Raspberry Pi, using the Contribution Manager in Processing. The install process gets stuck at ‘Installing’ (see photo), and can’t get out of it. T…

---

## [RockPro64 doesn't execute Processing](https://discourse.processing.org/t/rockpro64-doesnt-execute-processing/7458)

<div class="topic-metadata">

**Author:** [@Woody](https://discourse.processing.org/u/Woody)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 1:25am UTC](https://discourse.processing.org/t/rockpro64-doesnt-execute-processing/7458 "2019-05-14T01:25:03Z")

</div>

Hi everybody, I wrote a processing sketch for a photographic installation. I wrote and tested it on my Macbook, and it works like a charm. Now to include it in the installation I bought a ROCKPro64 4GB single board com…

---

## [Gl video present view on PI](https://discourse.processing.org/t/gl-video-present-view-on-pi/10888)

<div class="topic-metadata">

**Author:** [@sfickel](https://discourse.processing.org/u/sfickel)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 10:07pm UTC](https://discourse.processing.org/t/gl-video-present-view-on-pi/10888 "2019-05-04T22:07:45Z")

</div>

Hello! This is my first time posting on here and using processing with a raspberry pi. I have got my video playing with glvideo but I would like to use the present tool to show it. However it doesn’t seem to work with m…

---

## [Epic 24 x 24 matrix designs](https://discourse.processing.org/t/epic-24-x-24-matrix-designs/10861)

<div class="topic-metadata">

**Author:** [@mattbrowningnz](https://discourse.processing.org/u/mattbrowningnz)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 2:53pm UTC](https://discourse.processing.org/t/epic-24-x-24-matrix-designs/10861 "2019-05-03T14:53:27Z")

</div>

We are building a giant light display to teach kids how to code at our local library. The display is 3.5 metres high and 3.5 metres wide - made up of a matrix of 24 x 24 block pixels, and powered by sending Processing co…

---

## [Button Raspberry Pi](https://discourse.processing.org/t/button-raspberry-pi/1823)

<div class="topic-metadata">

**Author:** [@EllenBogen](https://discourse.processing.org/u/EllenBogen)\
**Replies:** 5\
**Last updated:** [April 14, 2019, 6:58pm UTC](https://discourse.processing.org/t/button-raspberry-pi/1823 "2019-04-14T18:58:40Z")

</div>

Hi, I´m a beginner in using the raspberry pi. I am trying to set up a button to turn on an image and have a black screen, if the button is not pushed. To start with simple Code, I startet with changing between two colo…

---

## [Start up export file with processing on raspberry pi 3](https://discourse.processing.org/t/start-up-export-file-with-processing-on-raspberry-pi-3/10040)

<div class="topic-metadata">

**Author:** [@quydan](https://discourse.processing.org/u/quydan)\
**Replies:** 15\
**Last updated:** [April 11, 2019, 9:00am UTC](https://discourse.processing.org/t/start-up-export-file-with-processing-on-raspberry-pi-3/10040 "2019-04-11T09:00:15Z")

</div>

I make an export application file from processing. I want to run start up this file on raspberry pi 3 with linux. Please guide me. Thanks

---

## [4 x Pi Media Players need to be controlled globally](https://discourse.processing.org/t/4-x-pi-media-players-need-to-be-controlled-globally/10153)

<div class="topic-metadata">

**Author:** [@ann.phibian](https://discourse.processing.org/u/ann.phibian)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 5:03pm UTC](https://discourse.processing.org/t/4-x-pi-media-players-need-to-be-controlled-globally/10153 "2019-04-10T17:03:11Z")

</div>

Hi everyone! I created 4 Pi media players that each have their own monitors. I’d like to have a way to stop/start all of the animations from my Mac. Should I connect all the Pi players to my Mac’s wifi, and send messag…

---

## [Linux: G4P and dialog windows](https://discourse.processing.org/t/linux-g4p-and-dialog-windows/9841)

<div class="topic-metadata">

**Author:** [@jcduino](https://discourse.processing.org/u/jcduino)\
**Replies:** 7\
**Last updated:** [April 4, 2019, 7:05am UTC](https://discourse.processing.org/t/linux-g4p-and-dialog-windows/9841 "2019-04-04T07:05:29Z")

</div>

Hi, I’m programming a GUI with processing using the nice G4P library and running in a Raspberry Pi with the lastest Raspbian stretch lite. I’ve installed X and openbox. When raspbian starts the cron runs this script: …

---

## [P5 code optimisation for raspberry Pi](https://discourse.processing.org/t/p5-code-optimisation-for-raspberry-pi/9414)

<div class="topic-metadata">

**Author:** [@guillaume\_slizewicz](https://discourse.processing.org/u/guillaume_slizewicz)\
**Replies:** 2\
**Last updated:** [March 24, 2019, 6:51pm UTC](https://discourse.processing.org/t/p5-code-optimisation-for-raspberry-pi/9414 "2019-03-24T18:51:37Z")

</div>

When I try to execute this sketch that is based on a face recognition algorithm it really lags on raspberry, whereas when run on different devices (macbook pro and notebook), it runs smoothly. I am not sure what is the b…

---

## [Which Video Library for Playing Video From RPI](https://discourse.processing.org/t/which-video-library-for-playing-video-from-rpi/962)

<div class="topic-metadata">

**Author:** [@Zengirl2](https://discourse.processing.org/u/Zengirl2)\
**Replies:** 20\
**Last updated:** [March 23, 2019, 5:01pm UTC](https://discourse.processing.org/t/which-video-library-for-playing-video-from-rpi/962 "2019-03-23T17:01:47Z")

</div>

I only need to play a video file loaded on Pi–it’s not coming from another source. I noticed there is a regular video library for Processing, but then there is another one for RPI that talks about hardware.

---

## [Headerless running of multiple sketches](https://discourse.processing.org/t/headerless-running-of-multiple-sketches/8867)

<div class="topic-metadata">

**Author:** [@SonicAstronomer](https://discourse.processing.org/u/SonicAstronomer)\
**Replies:** 2\
**Last updated:** [March 3, 2019, 3:19am UTC](https://discourse.processing.org/t/headerless-running-of-multiple-sketches/8867 "2019-03-03T03:19:28Z")

</div>

Greetings I have been looking into Processing and it looks like it is very simple to do basic programming. I can see that Processing is very similar to Arduino in that it has a setup and draw. Processing seems like it …

---

## [Canvas black when viewing Pi via VNC](https://discourse.processing.org/t/canvas-black-when-viewing-pi-via-vnc/8185)

<div class="topic-metadata">

**Author:** [@sciss](https://discourse.processing.org/u/sciss)\
**Replies:** 5\
**Last updated:** [February 7, 2019, 3:53pm UTC](https://discourse.processing.org/t/canvas-black-when-viewing-pi-via-vnc/8185 "2019-02-07T15:53:16Z")

</div>

Hello, I noticed that while I can see the processing canvas fine on a monitor via HDMI, connecting to the Pi via VNC makes the canvas appear just as a black rectangle. Is there a trick to overcome this limitation, at l…

---

## [Message "Could not parse -1 for --display"](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025)

<div class="topic-metadata">

**Author:** [@beckerc](https://discourse.processing.org/u/beckerc)\
**Replies:** 2\
**Last updated:** [February 4, 2019, 8:18pm UTC](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025 "2019-02-04T20:18:06Z")

</div>

From the simplest code (drawing a line) to my most complex projects, I am getting the console message “Could not parse -1 for --display” when I run a sketch. Sketches run fine but I am curious what this refers to. This o…

---

## [GL Video error with Processing 3.5.2, macOS 10.13.6](https://discourse.processing.org/t/gl-video-error-with-processing-3-5-2-macos-10-13-6/7852)

<div class="topic-metadata">

**Author:** [@robertkb](https://discourse.processing.org/u/robertkb)\
**Replies:** 4\
**Last updated:** [January 29, 2019, 4:14pm UTC](https://discourse.processing.org/t/gl-video-error-with-processing-3-5-2-macos-10-13-6/7852 "2019-01-29T16:14:34Z")

</div>

I got the following error using P3.3.7, and updating just now to 3.5.2 did not help; the sketch did work in macOS 10.13.4- it printed the device enumeration warning, but did not crash as it does now; the sketch also runs…

---

## [Need of advice to improve GLCapture code (and large buffer)](https://discourse.processing.org/t/need-of-advice-to-improve-glcapture-code-and-large-buffer/6605)

<div class="topic-metadata">

**Author:** [@PierreMuth](https://discourse.processing.org/u/PierreMuth)\
**Replies:** 5\
**Last updated:** [January 29, 2019, 1:10pm UTC](https://discourse.processing.org/t/need-of-advice-to-improve-glcapture-code-and-large-buffer/6605 "2019-01-29T13:10:13Z")

</div>

Hi community, I’m quite used to Java, however I’m starting with Processing. My aim is to make a realtime slit-scan effect, with the Pi camera (V2) and RPi3. The following code is working, and I’m yet impressed by the …

---

## [Program Arduino or Pi with Processing?](https://discourse.processing.org/t/program-arduino-or-pi-with-processing/7546)

<div class="topic-metadata">

**Author:** [@rps](https://discourse.processing.org/u/rps)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 8:20pm UTC](https://discourse.processing.org/t/program-arduino-or-pi-with-processing/7546 "2019-01-15T20:20:19Z")

</div>

I had a question to continue this thread on the old forum: https://forum.processing.org/one/topic/program-arduino-with-processing.html Still, after reading that, I have the same question as the OP. There’s lots of detai…

---

## [\[Lotta of Questions\] New to Raspberry](https://discourse.processing.org/t/lotta-of-questions-new-to-raspberry/7287)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 2:18am UTC](https://discourse.processing.org/t/lotta-of-questions-new-to-raspberry/7287 "2019-01-08T02:18:36Z")

</div>

How is it to PDE on a Raspeberry? Does it have something different / special? What should I know before to start? I am going to buy a Raspeberry P3 B+ for a school project about AI. Heres what it will have: Text to s…

[Previous page](https://discourse.processing.org/c/processing-pi/11.md?page=4)

[Next page](https://discourse.processing.org/c/processing-pi/11.md?page=6)
