I'm currently working on a Final Year university project where we have to create a new Creative Music Technology using Pure Data (which we've never used before). My idea consists of using the pix_blob and pix_multiblob to trigger certain outputs. For example, 2 red dots on a card would trigger the 2nd stored chord sequence. To make this more creative and interesting, I want to be able to have one side of the
live video be tasked with detecting colours and triggering chords and the other to be detecting colours and triggering drums. Does anyone know a way of isolating sections of a the video to do this?
Colour detection and video isolation
Hi , thank you! Wasn't sure how else to word it
So in more simpler terms, a I've had some time to rethink. Is it possible to use colour detection to trigger a sample stored in an array? So if it picked up a blue object it would play a connected sample?
@Claire080499 This........ maybe.zip should trigger the array playback when the centre pixel of your camera image passes to a blue level greater than 0.6(range 0-1)...... and there is not a lot of red or green.
Any red or green levels above 0.2 for that pixel will close the [spigot] objects and stop the triggering.
You can also calculate an adjustment for light levels using the grey level outlet.
You can change the test position, copy the part on the right to have more test pixel positions and arrays...... etc.
Of course you can also change the part on the left to a [pix_film] source if you wish.
If you want pattern recognition then you should look at using "tuio" linked to Pd........ for which you will find help on this forum.
Do a google search for "pdpatchrepo tuio"
Tip - Right-click objects to get help with how they work.