I was wondering if it was possible to have a standard menu as in ( File, Edit, View etc ) that are found in most windows applications in processing sketches. I know that i can implement them in GUI Components and ControlP5, but the issue is that i am trying to link the processing sketch with an external script. The scripting language can access text fields and menu's in windows applications but it is unable to interface to those in ControlP5.
I am trying to use the audio jack on my MacBook Pro to record sounds into processing. I am working on a project in which i am trying to use a pair of earphones as a microphone as done
here. The problem is that the macbook has only one audio jack both for audio-in and audio-out, so even though i plug in my earphones into the jack, processing is only using the built in mic (i am using the get line in function). How do i force detect the earphones as the microphone?
Hi, Could anyone please point me to a library which does inverse Fourier transforms. I know that the ESS and Minim audio libraries can do an FFT but i have not been able to find any which do the iFFT. Otherwise the only option would be to code it myself, which is time taking.
I am using the minim audio library. Could anyone please tell me whether there is any way to detect whether there is any audio playing in the speakers ( such as itunes, system sounds,etc) and then disable them before playing audio through the processing sketch.
I have googled for this and i have come across software like audio hijack pro. But i was looking for a native java functionality which would allow me to do this.
I am having problems with using the file chooser mentioned
here . The problem is that sometimes, after the window opens and an action has been performed (say double clicking on a file) the mousePressed variable is being set true. I have used a debug line to print some stuff when mousePressed is high and it confirmed that it was indeed the case. Please help. Is there any way around this problem.
I am using PGraphics as a buffer and i am not able to draw polygons to it using the vertex() method. I have seen the code snippet given
here and applied it accordingly but it is of no use. I am able to draw ellipses and rectangles but nothing using the vertex() method along with beginShape() and endShape(). Could somebody please direct me to an example of ow to do it or advise me on where I am going wrong.
i am trying to write a method to check whether a mouse click is on a 3d shape that has been previously drawn. There would be many shapes in the screen and i would like to highlight them, depending on which one has been clicked. Please suggest some techniques to do this.
i am having problems getting the proXML library up and running. i am using processing on snow leopard. i have downloaded the library and i have installed it in the libraries folder of processing. but i am having this error whenever i run the examples given with the library. " XMLelement is ambiguous". i have tried the solution given in
here but it still gives the same error. and i am not able to figure out the problem.Please help.
I am trying to move a loaded svg ( using Pshape ) by allowing the user to click on it and drag it around. is there any way to know whether the mouse has been clicked on/inside the drawn shape. the shapes may not be regular geometric figures and there are multiple shapes on the screen so i need to know which one has been clicked on.