We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › tangible sequencer-advice needed!
Page Index Toggle Pages: 1
tangible sequencer-advice needed! (Read 241 times)
tangible sequencer-advice needed!
Jul 28th, 2009, 1:51pm
 
hi,

im working on a tangible sequencer at the moment. i am using processing for the computer vision element to detect blobs of colour; the sound triggers placed on the sequencer.

the sequencer will have four samples. at the moment the design of the sequencer is being kept simple, with the tempo, volume and pitch all remaining constant. once i have it up and running in its basic form i would like to experiment with adding controls for these so that the user can change these in real time.

the sequencer takes some inspiration from beatbearing. the design of the interface is basically a circular sequencer. it will have 16 steps, each representing 1/16th of a measure. so if you imagine its kind of like a pizza with 16 slices! there will also be four concentric circles, each with 16 holes. balls will be placed on these holes as triggers for each of the four sound samples. a camera will be placed below the surface and will detect when these have been placed on the trigger holes. i have been playing around with code to detect the colours.

the code that i am confused about is how to read the video capture correctly for the sequencer. there will be 64 positions that triggers can be placed on. i was just wondering if anyone had any suggestions on the best way to do this? i had been looking at polar coordinates but then realised you cant use these as arguments in processing. so now im looking at using a look-up table of some sort. as there are so many positions i need it to be the most efficient way of doing this.

im quite new to processing so am a bit unexperienced so i was just wondering if anyone had any advice on this? i would greatly appreciate any suggestions anyone has!

many thanks...in advance!!

Page Index Toggle Pages: 1