We are about to switch to a new forum software. Until then we have removed the registration on this forum.
How would I take the average brightness of a video file and whilst its playing back use that brightness level to control another part of the program e.g. the frequency of a sine wave? This is something that I managed to create in Max but I want to recreate it in Processing as I cannot afford to buy max. I know that I would have to add all the values of the pixels and divide by the amount of pixels, but I cannot get it to work. Any help would be greatly appreciated.