processing

Finding the joy of Javascript or searching for another UI-focused languages?

Hey everyone, I'm a GUI designer/interactive musician wanting to improve my programming chops. I already know the basics(variables, loops, arrays, if/else, some logic), but I'm looking to learn in a structured way. I've seen some great books/tuts on Python and Processing (and even Flash)that aim to teach the fundamentals of programming ...

Using C++ in xcode for image and video processing

I am studying in the area of image and video processing - specifically in the field of pattern recognition (objects, people etc.). I wish to use a programming language to apply the transformation to images and video (more importantly video). I am thinking of using C++ in Xcode to do this. The algorithms I wanna build I want to take data ...

How to change a GLSL shader parameter in Processing

I'm playing with shaders in openGL using Processing. I'm pretty noob at this and a bit lost. I found this thread that has an example on how to use GLSL shaders in Processing. I'm just trying to the change LightPosition parameter in the shader I'm using. I don't know how to access it though. Here's my code so far: import processing.o...

get output of last Process on SSAS cube

I have processed a SSAS cube. After it was done processing, I hit the close button - and then realized that I should have saved the output. I think SSAS stores the processing log as a text or XML file, but I do not know what folder to look into. Can someone direct me to retrieving processing logs? ...

Is it possible to write a program that extracts a specific melody/beat/rhythm from a specific instument from a mixed wave (or other music format) file?

Is it possible to write a program that can extract a melody/beat/rhythm provided by a specific instument in a wave (or other music format) file made up of multiple instruments? Which algorithms could be used for this and what programming language would be best suited to it? ...

Using Processing on a server to create images behind the scenes

The way I see most people use Processing is for drawing an image directly onto a screen or webpage on the client side. How would one use Processing to create an image without a visual canvas, then save this image to a file? Here are the specific steps I'm interested in: Someone visits a webpage, which causes the Processing program to...

paging through a very large text file

I need to implement a paging widget that would be able to read an arbitrarily large text file. widget will be used by different apps with a wide range of hardware (mobile with low ram on low end) so need to be fairly memory stingy and efficient. the amount to be paged is also going to be arbitrarily different for each user. is there any ...

Orchestration tool for modeling web request processing

Hello. BizTalk has an orchestration tool for the purpose of defining business processes. I have always wondered that we can likewise model even simpler things. For example, web request processing can be modeled as a process because it has a pattern and various business objects (or say services) can participate. I am curious to know about...

Best dynamic languages for OpenGL/general graphics

Which are the most mature and well supported solutions for writing graphical programs? I have been using C++ with OpenGL/GLUT, but would like to try a more flexible and expressive approach. Ruby and Processing? Python and OGRE? What things have worked well for you? ...

Embedding Processing in Java/Groovy

Is there a way to embed seamlessly Processing code into a Groovy application? If it not exists, is there a way to do it in Java? I mean something to attach a component like a JFrame with the content of a processing script having possibility to exchange data between both. ...

Custom Application Icon for processing app

I've written a small Processing App which I'm planning to release soon. What's still missing is a sweet custom icon for Titlebar/Taskbar (Win) and Dock (Mac). Any suggestions how to do this? Thx! ...

sample iphone code for delay and echo

Does anyone know where i can find sample code to apply processing to audio to simulate an echo or delay effect? I am currently using AVAudioPlayer to play samples and would like to layer the effects on top. All of the references I have seen so far are very generic and related to Audio Units. ...

Volume Control in Processing (java)?

hi, I'm working on a Processing project. I tried to set the Volume of the audio played with the minim library. (setVolume seems not to be supported, and setGain has no effect) So, I'm wondering whether there is no other, simpler way to control the audio in Processing? Or are there some Java commands, that can be used directly? (In fa...

Writing data chunks while processing - is there a convergence value due to hardware constraints ?

Hi, I'm processing data from a harddisk from one large file (processing is fast and not a lot of overhead) and then have to write the results back (hundreds of thousands of files). I started writing the results straight away in files, one at a time, which was the slowest option. I figured it gets a lot faster if I build a vector of a c...

open source language recognition library?

hy, im searching for a lib which can recognize the human language of a .txt document i already found http://www.google.com/uds/samples/language/detect.html but im more interested in source code which i can use offline some language which would be great to support english, french, german programming language which would be best c/c++, p...

how to apply an animation into a triangle(Processing)

I want to create a simple animation, that can only show in a specific area, such as triange. I already have the animation, a rotating picture. but I dont know how to put it into the triangle. the function texture() can only apply images into a specific area. is there other ways to do that? thx! ...

How should I call the onDraw() method of an Android view 30 times per second

For Android, I have a custom view which I fill up with primitive shapes in the onDraw() method. Coming from a Processing background, I expected the draw method to be called automatically 30 times per second, but its clear that that's not how android views work. So how should I go about calling this method 30 times per second? ...

Do we need the visitor for annotation processing in java 6?

I searched for examples which may answer my question, but can't find any useful or complet ones... Thanks in advance ...

Creating PDF pages with Processing: What size and DPI?

In Processing, I can use the PDF library to output graphics into a PDF file. I have two questions about this: Is there a way to set the dots per inch (DPI) of the PDF file? The width and height are given in pixels. How do I compute a number of pixels that will correspond to various page sizes? For example, if I want to output an 8.5" ...

Audio Processing and Playback

Where is the demo code shown in the last 5 minutes of the WWDC 09 video - Session 316 : Audio Processing and Playback.? ...