Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Re : light harp problem.

Moved to Core Library questions.Changed topic type to question.Read: https://forum.processing.org/topic/where-to-place-threads-and-other-forum-practices

View Article


Re : Declaring an array of recordings using minim

Brilliant. Perfect, works a treat and thanks for the links!

View Article


Adding captures to array

Hi guys,I'm trying to collect captures from the webcam to an array of PImages, but it seems like all images in the array are the same one. This is the relevant code. Any ideas on how to I get around...

View Article

Re : Adding captures to array

Changed topic type to question.Moved to core library questions.Your code is not runnable because it is misses brackets and imports. Looking at the code I think the problem is in line 24. You are adding...

View Article

Re : Adding captures to array

An example of capture/save in separate threads for max performance:http://forum.processing.org/topic/save-frames-per-second

View Article


minim and brigtest x

Hi i am working on an instrument that triggers a sound when the brightest pixel reaches certain area, my problem is that every time ths happens processing triggers the audio several times per second so...

View Article

Re : light harp problem.

sorry for the mistake, i didn´t noticed that you´ve changed it and i published again.... sorry.

View Article

Image may be NSFW.
Clik here to view.

Re : minim and brigtest x

maybe you can check song.isPlaying() and if so don't trigger the snare?if ( !song.isPlaying() )    song.trigger();Greetings, Chrisir       If you need an answer, please send me a personal message since...

View Article


Re : light harp problem.

I'm glad that you did use the right topic type and forum section the second time around.

View Article


Re : minim and brigtest x

but wouldn´t this avoid two sounds at the same time?, cause i do want it to play several at the same time.and if not, where should i write it?   thanks

View Article

Image may be NSFW.
Clik here to view.

Re : minim and brigtest x

correct.you can also invent your own varboolean playing = false;always when you want to start any song (toc.trigger(); etc.)check if playing is true if yes, don't start the songif no, start the song...

View Article

Re : minim and brigtest x

playing, as given by Chrisir above, is a boolean variable, not a function. Unless you refer to isPlaying().

View Article

Image may be NSFW.
Clik here to view.

Re : minim and brigtest x

For boolean variable names, I prefer something like -> isPlaying, hasStopped.Rather than -> playing, stopped. 

View Article


PGraphics transparency

I am developing a project in Processing and I have now stumbled across this problem that is melting my brain. Whenever I try to set a PGraphics to fully transparent it fails:PGgraphics with smoth() and...

View Article

Re : PGraphics transparency

Changed topic type to questions.Try using clear() and make sure it's within beginDraw() + endDraw().Otherwise show a code example that displays the problem.

View Article


Image may be NSFW.
Clik here to view.

TimeStamping Saved Data

Hello all,I'm extremely new to Processing (and programming in general). My goal in learning to program is to save acquired signal from an arduino due to a file so that several readings can be made,...

View Article

Re : PGraphics transparency

Hey Amnon, thanks for the reply.I tried clear() without any success, so I followed up to make a standalone code to demonstrate my problem and to my surprise I could not replicate the problem. So after...

View Article


Re : TimeStamping Saved Data

Disregard the error, I noticed the sticky post afterwards and fixed the problem. However, I am wondering how to convert this code into reading milliseconds or more finely, microseconds. I just found...

View Article

Re : TimeStamping Saved Data

To use DateFormat you must add : import java.text.SimpleDateFormat;That should do the trick.

View Article

Re : minim and brigtest x

A bit confsed...but then do i need a function? or a boolean?   

View Article
Browsing all 1768 articles
Browse latest View live