Hi list.
I'm triying to make a patch to process video, and I need to switch between three or more signals and the requisite is when you enable one the others disables.
A boolean table describes it:
signal 1 signal 2 signal 3 1 0 0 0 1 0 0 0 1
Any solution to implement this function??
I'm triying with "route" and "select", but don't works. the selection is not exclusive.
Thanks.
Hey,
[== 1] [== 2] [== 3] ?
each controls its own spigot.
B.
rez wrote:
Hi list.
I'm triying to make a patch to process video, and I need to switch between three or more signals and the requisite is when you enable one the others disables.
A boolean table describes it:
signal 1 signal 2 signal 3 1 0 0 0 1 0 0 0 1
Any solution to implement this function??
I'm triying with "route" and "select", but don't works. the selection is not exclusive.
Thanks.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
What about [* ~ 0.] for each signal fed by 0 or 1 and adding the signals afterwards?
best greetings, Thomas
rez schrieb:
Hi list.
I'm triying to make a patch to process video, and I need to switch between three or more signals and the requisite is when you enable one the others disables.
A boolean table describes it:
signal 1 signal 2 signal 3 1 0 0 0 1 0 0 0 1
Any solution to implement this function??
I'm triying with "route" and "select", but don't works. the selection is not exclusive.
Thanks.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Howdy,
use:
[ | | ] (toggle object) | [select 0]/[select 1]/[select 2] | | | | | | [1< [0< [1< [0< [1< [0< (messages)
The right outlet of each [select] is connected to inlet of next [select]
Each [select] is connected to the message "1" and "0". It sends "1" when the toggle gives an output which matches the [select] creation argument, and a "0" otherwise and passes the input on to the next [select]. Send the "1" message to the objects you want to turn on, and a "0" message to the objects you want to turn off.
I leave it to you to work out how to do this with video. The 1/0 message coulg control the gain of the image in GEM, or it could turn on/off the metro driving a [pdp_reg] object in PDP. I use this kind of switch to control audio inputs all the time, or even to [switch~] abstractions or subpatches on/off.
best, d.
rez wrote:
Hi list.
I'm triying to make a patch to process video, and I need to switch between three or more signals and the requisite is when you enable one the others disables.
A boolean table describes it:
signal 1 signal 2 signal 3 1 0 0 0 1 0 0 0 1
Any solution to implement this function??
I'm triying with "route" and "select", but don't works. the selection is not exclusive.
How can one pick random sections of a video with Gem I would like to load in several movie files and pseudo randomly pick portions of it. Kinda like BBcut for video?
Patrick Pagano, B.S.,M.F.A Digital Media Specialist Digital Worlds Institute University Of Florida (352) 294-2082
Hi,
hmm...
Since [pix_film] and [pix_movie] have inlets for the frame number, you are already there. Just pick one random number (position of playback start) with [random] and add another one [random] as playback snippet length. then combine these two in a counter that counts from zero to the second number (length), and add the first (start) number.
Not sure about the functionality of BBCutLib though.
Things start to get more interesting when you want to work with more than one movie as source. I suggest you have a look at [pix_buf] to avoid accessing the hard disk too much, and store frames in an online buffer. Writing and reading from this could be controlled by random values then...
regards,
Peter
Patrick Pagano wrote:
Kinda like BBcut for video?
Download data-art.uqam.ca/abstractions.zip and try v33.readvf-help.pd Sorry for the incomplete help, it's a pre-release.
Tom
Patrick Pagano wrote:
How can one pick random sections of a video with Gem I would like to load in several movie files and pseudo randomly pick portions of it. Kinda like BBcut for video?
Patrick Pagano, B.S.,M.F.A Digital Media Specialist Digital Worlds Institute University Of Florida (352) 294-2082
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list