Entra:     


Forum: General Discussion

Topic: VDJ Script question (pointing to specific samples)

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

Hi...

Hopefully a quick question - I want to map a button to trigger a specific video sample and activate the video crossfader (so the sample plays over the transition) but after a bit of reading I'm not quite sure of the syntax to make that happen.

Any help is appreciated. Thanks!
 

Inviato Fri 05 Jun 15 @ 12:15 pm
I'm not sure, video I don't play with, but it seems like a long walk for a short picnic.
Lets say the video sample is on slot 4 of the sampler

sampler 4 play & video_crossfader 0% ? video_crossfader 100% : video_crossfader 0%

but as I said I don't use video, but it seems like a one trick pony to me.
 

I'm going to have an issue with the sample as the sample I need isn't necessarily going to be in the active sample bank and I'm not sure how to reference both the bank & slot.
 

sampler "sampleName" play

I agree the prompts don't really make this clear.
 

Took a little tinkering, but got there.

Used this: sampler_bank "bank name" & sampler "sample name" play & video_transition 500ms

Thanks for the help!
 

Good stuff, it's nice to see "I kept poking at it, now it works" sometimes all that's needed is a pointer.
 



(Vecchi argomenti e forum sono automaticamente chiusi)