Quick Sign In:  

Forum: General Discussion

Topic: Script School - Page: 5.45

This part of topic is old and might contain outdated or incorrect information

hi LOCODOG and ZeroZuluBrav0

i have a Rane Twelve which i need to use via Bome MIDI Translator to script the platter and the start stop button. (i cannot use the default Rane supported mapping and have to make my own because Bome allows me to use the Ranes simultaneously with a second piece of software for 3D animation).

i tried using "ns7_platter" and also "scratch +1.0ms" but alas this only scratches in ONE direction no matter if i pull or push the platter. what kind of script do i need for the platter to scratch realistically?

i very much appreciate some help with this as i have almost no other alternatives to get my project to work.

i was referred to this page by ZenDesk technical support and was told they dont offer scripts as part of their support so here i am as a last hope.
 

Posted Mon 20 Jan 20 @ 3:25 pm
locoDogPRO InfinityModeratorMember since 2013
This might be one for ZeroZuluBrav0 or perhaps staff, as I don't have a rane12 to really test ideas out.
The script should just be ns7_platter. A guess could be just 'scratch' but I'm not sure

I'm actually surprised the 12's use midi for the platters I would have thought they've have gone HID, maybe not.
One question, is BOME seeing both forwards and backwards motion from the platters? Can you do & see jogwheeley stuff with your video software?

Doesn't bome offer some type of thruput midi in, same midi out? If it does then I've half an idea forming.
 

Posted Mon 20 Jan 20 @ 4:13 pm
the Rane Twelves are a MIDI over USB device... so everything is MIDI. i think when you use it with Serato it functions like HID but Bome sees the MIDI signal and MIDI Ox shows the individual CCs and Notes in MIDI. so you are saying i could use the script phrase "scratch" without a number following it? i think i may have tried thar but it didnt work. i will try again though but i am also curious to know your idea and Zulu's idea.

thanks for replying
 

Posted Mon 20 Jan 20 @ 5:57 pm
so with Bome i can pass the MIDI signal to a virtual port, which is what i need... but the signal still needs to be mapped in VDJ 2020, which is why i need some scripting help to script that mapping
 

Posted Mon 20 Jan 20 @ 5:59 pm
i can see MIDI data in the video (animation) software so it will work once i get the VDJ scripts correct for scratching, playing, pausing.
 

Posted Mon 20 Jan 20 @ 6:46 pm
locoDogPRO InfinityModeratorMember since 2013
I've just run my idea upstairs, we'll have to wait on an answer.
 

Posted Mon 20 Jan 20 @ 6:48 pm
AdionPRO InfinityCTOMember since 2006
The easiest is still to use VirtualDJ with the original midi device and definition.
If you need to pass certain buttons to other applications, you could use a virtual midi cable, and use variables in VDJ to pass them from one controller to the virtual midi cable.
 

Posted Mon 20 Jan 20 @ 6:55 pm
well responding to the CTO i tried using the original definitions but when i did that, VDJ took exclusive control of the device, the same way Serato DJ Pro does, and i cannot use the virtual ports in Bome. this is why i have to launch Bome first and then use the MIDI signals passing through it to VDJ 2020. in this case the Rane Twelve default definitions appear as "could not connect" while the signal still passes through the Bome definitions.

virtual ports are my only option but they require scripting in VDJ as the signal does not correspond to scratching or playing out of the box.

i can see all caps JOG or something like that in the Bome Controller pane in VDJ when i scratch the platter. the start stop button also appears when i press it.
 

Posted Mon 20 Jan 20 @ 7:35 pm
Adion,

are you suggesting that i can launch VDJ first and somehow pass the MIDI signal to Bome with a VDJ script? if i launch Bome after VDJ then the MIDI signal from the Rane Twelve does not make it to Bome. unless what you are suggesting is something different altogether
 

Posted Mon 20 Jan 20 @ 7:38 pm

Launchkey Mini 25, i need script for it.

Description and task: this Device has 25 keys, and THE keycue pads also have 25 keys. You need a script that would work exactly as a KEYCUE but when you click not on the Pads but on the keys. Can anyone give advice or to send the finished versions of the scripts?!

Scripts (commands) in the photo do not work as it should!

I describe the task: for example, I upload a Sample (piano melody or similar) to the d deck, and I need to play a new melody from this sample, but it is convenient for me to play with the Launchkey piano, but not with the pads, because there are only 8 of them on my Reloop Neon and only 16 on my Midi Fighter 3D, if you do not switch the banks.

In General, i need 25 Launchkey keys to launch a KEYCUE. In one parameter, it works, but not as it should.

 

Posted Fri 14 Feb 20 @ 6:05 pm
locoDogPRO InfinityModeratorMember since 2013
I'm not really following what you have as scripts there, I don't think keycue [value] is a real script
do these do what you want?
key -12 & hot_cue
......
key 0 & hot_cue
.....
key +12 & hot_cue
 

Posted Sat 15 Feb 20 @ 4:46 am
locodog wrote :
I'm not really following what you have as scripts there, I don't think keycue [value] is a real script
do these do what you want?
key -12 & hot_cue
......
key 0 & hot_cue
.....
key +12 & hot_cue


Thanks really, but....

This script (command) is also not correct, because it changes plus or minus (key) relative to the current sound of the key, ie here the mathematical part, if you first press key -7 and then key -5 it will sound like two keys pressed on the next one and immediately go to -11, and you need to work exactly as a KEYCUE and each of the 25 keys changed the key (key) relative to the original value of the key.
 

Posted Sat 15 Feb 20 @ 8:05 am
locoDogPRO InfinityModeratorMember since 2013
get_constant -1 & param_cast 'absolute' & key
.....
get_constant -12 & param_cast 'absolute' & key
 

Posted Sat 15 Feb 20 @ 8:12 am
AdionPRO InfinityCTOMember since 2006
You could also just have a look at the keycue pad page if that's what you're after, and you'll see that it uses keycue_pad
 

Posted Sat 15 Feb 20 @ 9:08 am
Adion wrote :
You could also just have a look at the keycue pad page if that's what you're after, and you'll see that it uses keycue_pad


I have already used it, but most likely I did not correctly spell out the name of each pad, and the numbers there are available from 1 to 8, so you need to first give names to each of the 25 pads, then use the same 25 names for Launchkey
 

Posted Sat 15 Feb 20 @ 11:54 am
locodog wrote :
don't just requote, tell me what's happening


this is working, yet
get_constant +1 & param_cast 'absolute' & key & cue
 

Posted Sat 15 Feb 20 @ 6:35 pm
locoDogPRO InfinityModeratorMember since 2013
get_constant 3 & param_cast 'absolute' & key & get_cue & param_cast & hot_cue

get_constant -3 & param_cast 'absolute' & key & get_cue & param_cast & hot_cue
 

Posted Sat 15 Feb 20 @ 6:51 pm
locodog wrote :
get_constant 3 & param_cast 'absolute' & key & get_cue & param_cast & hot_cue

get_constant -3 & param_cast 'absolute' & key & get_cue & param_cast & hot_cue


Thank U! All is working!
 

Posted Sun 16 Feb 20 @ 5:51 pm
Now there is a second task. Let's try to expand the possibilities.
We leave it as it is, and add the PRESS function, i.e. when holding one key and pressing the other one sequentially, it does not return to the CUE point, but continues to play according to the key of the next key.
Will it work, do you think?
 

Posted Sun 16 Feb 20 @ 5:56 pm
locoDogPRO InfinityModeratorMember since 2013
var '$isbgp' 0 ? get_constant -3 & param_cast 'absolute' & key & get_cue & param_cast & hot_cue & set '$isbgp' 1 while_pressed : get_constant -3 & param_cast 'absolute' & key
 

Posted Sun 16 Feb 20 @ 6:02 pm
12%