Connexion rapide:  

Forum: General Discussion

Sujet Script to select sample based on current key in song

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

I want the script to select sample automatically, based on the current key of the song.
For example:

Key "C major" ? play sample 1
Key "A minor" ? play sample 2

 

Posté Thu 28 Jul 16 @ 1:09 pm
locoDogPRO InfinityModeratorMember since 2013
That's a long script, [24 queries] here's the start


get_key & param_cast "text" & param_equal Cm ? sampler_play 1 : get_key & param_cast "text" & param_equal C#m ? sampler_play 2 : continued.....
 

Posté Thu 28 Jul 16 @ 3:43 pm
Thanks Loco!
For some reason I knew you were going to reply :)

 

Posté Thu 28 Jul 16 @ 6:22 pm
lincol2PRO InfinityMember since 2011
he is the script Master.
 

Posté Thu 28 Jul 16 @ 8:59 pm
locoDogPRO InfinityModeratorMember since 2013
Nah, just too much time on my hands XD
 

Posté Thu 28 Jul 16 @ 9:02 pm
VDJ RonPRO InfinityMember since 2010
Not the script master.. but never the less a script master.
The staff are of course very good.
 

Posté Fri 29 Jul 16 @ 1:02 am
CannenPRO InfinityMember since 2016
If you drag your samples up to a deck, they will be analyzed for their key.

If you created a virtual folder, you could put all your samples in there that you would like to use.

Then, create a filter folder to look inside the virtual one based on the key of the current track.

Lastly, and I'm not script expert, create a script that the selected sample will be loaded in a sample bank.

Maybe something like that would work.

Pretty much all you'd have to do is drag your samples in the virtual folder. Then, when you are playing, go to the filter folder, select the sample from the filtered list, and press a hot key.
 

Posté Fri 29 Jul 16 @ 9:59 am
I use the sampler a lot more complicated than that.

I need to launch samples, often many at the same time, to build a rhythm, kicks, hihats, synth pads and so on.

I have 8 groups assigned to different actions, and of course the drums, and hihats things does not need to take the key into account, but the pads does.
 

Posté Fri 29 Jul 16 @ 10:43 am
VDJ RonPRO InfinityMember since 2010
Mr Jackson I knew you had took on that challenge.
Good luck!
I use just 4 group video/volume fader channels.

That key thing must put you at the forefront of vdj8 sampler technology.
 

Posté Fri 29 Jul 16 @ 11:36 pm


(Les anciens sujets et forums sont automatiquement fermés)