Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Script question: Stems get_level possible ?
Hi guys. Is is possible in any way to query a "get_level" for individual Stems (rhythm, bass, instru, vocal) ?

I am currently mapping a MIDI console that has VU meters on each fader. As of now, I use 4 faders per deck, mapped like this:

slider 1 : param_multiply 0.5 & stem "rhythm"
slider 2 : param_multiply 0.5 & stem "bass"
slider 3 : param_multiply 0.5 & stem "instru"
slider 4 : param_multiply 0.5 & stem "vocal"

That works perfectly. I always keep all sliders at 100% if I want the normal track, then lower sliders for what Stem I want to get rid of, exactly like a multitrack mixer. Now, icing on the cake would be able to use something like "get_level_vocal" so I could map the output to the VU Meter associated to my "vocal" fader, and so on with the other channels. Would that be possible ?

I might be dreaming here ;-)

Thanks !
 

Posted Tue 19 Sep 23 @ 6:55 pm
I don't think you can get the VU of an individual stem.
However it is possible to get the EQ of it (so maybe create a single band EQ element)
<equalizer type="bar" nb="16" color="red" deck="playing" width="0.8" slow="true" bass="middle" mirror="true" stem="vocal" >
<pos x="+10" y="+10"/>
<size width="360-20" height="310" />
</equalizer>

Try to use nb="1" mirror="false"
 

Posted Thu 21 Sep 23 @ 12:58 pm
I have also been waiting for this development for a long time...
"get_level_stem" PLEASE!!!
:-)
 

Posted Mon 18 Nov 24 @ 3:58 pm
locoDogPRO InfinityModeratorMember since 2013
I believe this is supposed to work but currently doesn't
get_spectrum_band 1 1 'vocal'
 

Posted Mon 18 Nov 24 @ 7:26 pm
I was very happy to read this:

BUILD 8490 (2024-12-19)
-get_level and get_vu_meter support stems

Then came the disappointment when I tried it. Unfortunately, it doesn't work for me.
Scripts produce the same result:
get_level
get_level 'vocal'
get_level 'kick'
etc

What did you experience?
 

Posted 2 days ago @ 11:27 pm
AdionPRO InfinityCTOMember since 2006
Just tried again, but works fine here
 

Posted 2 days ago @ 5:11 pm
I made a test video skin that shows this:
https://www.youtube.com/watch?v=oOmxH7dMs9s

<visual source="get_level" type="linear" orientation="horizontal">
<pos x="20" y="100"/>
<size width="1240" height="20"/>
<off shape="square" color="#Ff0000" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="get_level 'HiHat'" type="linear" orientation="horizontal">
<pos x="20" y="150"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="get_level 'Vocal'" type="linear" orientation="horizontal">
<pos x="20" y="200"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="get_level 'Instru'" type="linear" orientation="horizontal">
<pos x="20" y="250"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="get_level 'Bass'" type="linear" orientation="horizontal">
<pos x="20" y="300"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="get_level 'Kick'" type="linear" orientation="horizontal">
<pos x="20" y="350"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>


Where did I make a mistake?
 

Posted yesterday @ 12:12 am
AdionPRO InfinityCTOMember since 2006
Can you try adding deck? "deck 1 get_level vocal"
 

Posted yesterday @ 2:50 am
- Latest build
- Tried manual update but not yet clean install
- Using default skin with single edit of the attached code
- Added 'deck 1' before action and removed single quotes

Same issues as the above. All meters are still identical.

Would be a game changer if I can get this working with get_vu_meter and get_level. Thanks all!

<visual source="deck 1 get_level" type="linear" orientation="horizontal">
<pos x="20" y="100"/>
<size width="1240" height="20"/>
<off shape="square" color="#Ff0000" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="deck 1 get_level hihat" type="linear" orientation="horizontal">
<pos x="20" y="150"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="deck 1 get_level vocal" type="linear" orientation="horizontal">
<pos x="20" y="200"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="deck 1 get_level instru" type="linear" orientation="horizontal">
<pos x="20" y="250"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="deck 1 get_level bass" type="linear" orientation="horizontal">
<pos x="20" y="300"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>

<visual source="deck 1 get_level kick" type="linear" orientation="horizontal">
<pos x="20" y="350"/>
<size width="1240" height="20"/>
<off shape="square" color="#505050" radius="3"/>
<on shape="square" color="#ffffff" radius="3"/>
</visual>


P.S.:
Just a heads up, the entry for vu_meter in Verbs needs to be edited to reflect the difference from get_level.
 

Posted 3 hours ago
AdionPRO InfinityCTOMember since 2006
I think some changes didn't make it yet to the EA release, should work in next update.
 

Posted 25 minutes ago
Confirmed working in Early Access. Thanks y'all! This is a great feature.
 

Posted 15 minutes ago