Entra:     


Forum: General Discussion

Topic: VCI-400 Mappng - Page: 2

Questa parte dell'argomento è obsoleta e potrebbe contenere informazioni obsolete o errate

I just PM'd ya!

What plugin are you using to create the banks I can't get the sampler 48 to work as I haven't modified my skin to use it, I just made a barebones page to do it automatically but don't know the format it will be following. Btw I don't need all the sampler packs or even the samples you will use, I just want to know the format and you can enter your own data when your ready.
 

ok so do i send you the file you mention
 

ok i did it but it did nothing
 

(function(){ var input = document.getElementsByTagName('textarea')[0]; var rep, reg, num, arr = [], match = /^Slot/.test(input.value); match ? reg = /Slot([0-9])+fp=(.*vdj)\nSlot[0-9]+vol=([0-9]+)/g : reg = /Sample_([0-9])+=(.*vdj)\nVol_[0-9]+=([0-9]+)/g; (function(){ var ret = input.value.replace(reg, function(){ arguments[2].match(/C.*VirtualDJ\\Sampler/) ? rep = arguments[2].replace(/C.*VirtualDJ\\Sampler\\/, '') : rep = arguments[2]; match ? num = parseInt(arguments[3]) * 100 : num = parseInt(parseInt(arguments[3]) / 4096 * 100); arr.push('sampler ' + arguments[1] + ' load "' + rep + '" & sampler '+ arguments[1] + ' volume ' + num + '%'); }); })(); input.value = arr.join(' & '); })();
 

when you have time walk me thru it cause its doing nothing
 

did you leave the [bank1] part in?, you need to remove it.
 

i copy and past what you posted above. into the box and hit convert
 

It works on this end, I opened a new post and pasted in the first bank that you sent me

Slot1fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\siren.vdj
Slot1vol=0.75
Slot2fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\saxo.vdj
Slot2vol=0.75
Slot3fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\put your hands up.vdj
Slot3vol=0.75
Slot4fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\push.vdj
Slot4vol=0.75
Slot5fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\pump it up.vdj
Slot5vol=0.75
Slot6fp=C:\Users\Cebo\Documents\VirtualDJ\Sampler\this this this.vdj
Slot6vol=0.75
Slot7fp=
Slot7vol=0.75
Slot8fp=
Slot8vol=0.75
Slot9fp=
Slot9vol=0.75
Slot10fp=
Slot10vol=0.75
Slot11fp=
Slot11vol=0.75
Slot12fp=
Slot12vol=0.75

opened the web console with F12, pasted in the script and pressed enter. It then output the following:

sampler 1 load "siren.vdj" & sampler 1 volume 0% & sampler 2 load "saxo.vdj" & sampler 2 volume 0% & sampler 3 load "put your hands up.vdj" & sampler 3 volume 0% & sampler 4 load "push.vdj" & sampler 4 volume 0% & sampler 5 load "pump it up.vdj" & sampler 5 volume 0% & sampler 6 load "this this this.vdj" & sampler 6 volume 0%

Try the link to the page I posted.

If you're using Internet Explorer you might have issues. I recommend upgrading to chrome or firefox. I use chrome mostly.

 

where can i get that compiler....so i copy and past this to the grid pad i want to use to load the perspective bank
 

i still have to get my samples together...gotta work tomorrow...so i wont get to this again untill after 7pm tomorrow
 

or can i copy and past results to a notepad and edit them with the samples later
 

yeah it want me to load samples cause when i paste bank 2 it give no reponse
 

i have to try again after work...i get off at 7pm. how long will compiler be active
 

I'll leave it up for a couple of days, you can always save it to your computer though.


(function(){ var input = document.getElementsByTagName('textarea')[0]; var rep, reg, num, arr = [], match = /^Slot/.test(input.value); match ? reg = /Slot([0-9])+fp=(.*vdj)\nSlot[0-9]+vol=([.0-9]+)/g : reg = /Sample_([0-9])+=(.*vdj)\nVol_[0-9]+=([0-9]+)/g; (function(){ var ret = input.value.replace(reg, function(){ arguments[2].match(/C.*VirtualDJ\\Sampler/) ? rep = arguments[2].replace(/C.*VirtualDJ\\Sampler\\/, '') : rep = arguments[2]; match == true ? num = parseInt(arguments[3]) * 100 : num = parseInt(parseInt(arguments[3]) / 4096 * 100); arr.push('sampler ' + arguments[1] + ' load "' + rep + '" & sampler '+ arguments[1] + ' volume ' + num + '%'); }); })(); input.value = arr.join(' & '); })();


there was a mistake that is unrelated to what you are experiencing, the volume wasn't working properly. I'll spend a little more time on it and see if I can make it better and use multiple banks.
 

ok this post what is the code for in the gray shaded box^^^^^^^^^^^^
 

and also the pads have a layer fuction where shift toggles between sample and loop...i want it to toggle between this sample scheme and hot cues. Mean when press shift to toggle to the second layer i want the pads to be hots cues 1 to 4 on top row and loop functions on bottom row pads. And i think this Mapping should be shared with the community.
 

ok at to of screen come up the word [bank] do i include this? Also i am suppossed to map the result of the page to grid buttons? will i still be able to shift toggle over to hot-cues
 

no that is just there to separate the different banks. paste it into the mapping like I showed you earlier. yes you will be able to have hot cues and anything else on the shifted modes, you have 8 to play with. to change into modes 4-7 you hold shift and press the any of the mode buttons
 

gonna review what you showed me cause i picked new the hit gridpad 1 pasted the script but it didnt work
 

var '$shift' ? set 'mode' 4 : set 'mode' 0 & sampler 2 load "saxo.vdj" & sampler 2 volume 75% & sampler 3 load "put your hands up.vdj" & sampler 3 volume 75% & sampler 4 load "push.vdj" & sampler 4 volume 75% & sampler 5 load "pump it up.vdj" & sampler 5 volume 75% & sampler 6 load "this this this.vdj" & sampler 6 volume 75%
 

28%