Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Browsing all 2896 articles
Browse latest View live
↧

How to avoid my processing become really slow after one images array???

import ddf.minim.*; Minim minim; AudioInput in; PImage[] img = new PImage[4]; PImage[] blue = new PImage[31]; PVector player; PVector velocity; PVector leftHand; float gravity = 0.1; float r=100; float...

View Article


How could I use a function from different class?

Hello, I am quite new to Prcoessing and I am stuck on using functions from a class to another function. I basically want to use 'void update' in 'void oscEvent(OscMessage theOscMessage' to send update...

View Article


How to use system audio as an AudioInput for Minim

I'm making a audio visualizer which works really well except i have a huge issue with the audio input side. I can use AudioInput in; along with in = minim.getLineIn(Minim.STEREO) which works but i have...

View Article

tell is a soundFile is playing

using the sound processing library

View Article

Using Sprite Library

Hi so I have figured out on how to use the sprite library but now I don't know how to scroll through the animations frequently basing what I want the character to do any ideas on how to do import...

View Article


FFT range

Hello, I use the Sound library. I have to avoid using Minim. I heard that it is not compatible with Android. I am working on a class that would give me a volume of sound in a specific frequency range....

View Article

Apply LUT to Image

I would like to write a shader to apply a LUT (stored in a cube file) onto an image. But currently I am struggling understanding the cube file format and how the LUT then is applied. I've checked the...

View Article

processing + PGraphic + syphon

Hello all, I hope someone can help me i'm a bit of a newby and I'm really stuck.... I am creating graphics in Processing which I want to be able to layer up with other material using Resolume. I am...

View Article


How to switch between multiple movies?/Play movie after a movie?

Hello everybody. I'm new here, so sorry if the question is something easy to solve. I'm working on a project and it doesn't work the way it should. Im selecting an area via a webcam. If something...

View Article


Movie

Hello I am trying to play a Video in my programm, but the audio is asynchronous. What did i worng? import processing.video.*; Movie movie; void setup(){ size(500,500); movie = new Movie(this,"Spieler...

View Article

speech phonemes to letter (not dictation or speech-to-text)

My terminology may be lacking, please forgive me. I would like to find a way to take audio in, recognize phonemes, and then use those phonemes within a processing sketch. The sketch does not need to...

View Article

SoundFile is not looping

Basically running the sound example to load a file and loop it using sound file.loop(); it works with he example, but my file (an mp3 made with audacity) plays once and then stops. Not useful. Is there...

View Article

Movie files do not show, no error

Hi I'm trying to make video files load to represent letters (motion font basically); For some reason the video files don't show. I tried following the examples but no succes. I'm also not getting any...

View Article


Associating videos to characters generatively

Hi I'm trying to create a movie-based typeface. I want each letter to create a movie object. for example letter X needs to call X.mov and become an item in and array. currentLetter = new...

View Article

How to make the ellipse stay on captured colour - video cam

I want achive that with everz click on colour, there will appear and staz ellipse, capturing the colour/not to disappear. Is there some easier way than to create separate drawing loops for different...

View Article


100% CPU utilisation when playing multiple videos using the video library

Hi, I'm trying to play some movies and sound in a processing sketch; there are 10 movies and 1 sound file - all the movies are fairly small [<=5MB]; I create them in setup and call .play() on them,...

View Article

How to draw with color tracking?

Hello, I watched a lot of Daniel Shiffman tutorials and wanted to write a piece of code that draws out the path in which a certain color moves across the screen in my video. Lets say if my video were a...

View Article


Frame rate, multiple videos and recording:

Hi I'm trying to run multiple simultaneous movie files (at independent starting point) to represent letters. (1) once I'm increasing the size or am run more than 15 videos, the frame rate drops to 3-5....

View Article

Problem removing a behaviour in toxi.physics2d

I'm using the standard attraction2D example to develop an interactive bee simulation program and having trouble with physics.removeBehaviour when I press key '2' in the following example. It just won't...

View Article

[HTTP-Requests] cookies - SPTrans Olho Vivo

Hello I'm building a visualization tool to get the immediate position of the buses available. There's this API that delivers these posions using a GET request. The return is a JSON. I'm authenticating...

View Article
Browsing all 2896 articles
Browse latest View live