QML mod for S5 - Set stem parameters on track load
Hi,
I'm trying to set the stem parameters to a certain status upon loading another track.
I found out to call the parameters I want to set (Stem channel on and fx send on) but I'm struggling to find the way to trigger those changes upon loading a track on a deck.
Looks in the S4Mk3 files but didn't find any mention for "load" anywhere.
If anyone has an idea where I should look, it would be appreciated.
Thanks!
Comments
-
AppProperty { path: "app.traktor.decks." + deckId + ".is_loaded_signal" onValueChanged: { // Your code goes here } }
deckId goes from 1-4 for A-D respectively.
2 -
Thanks a lot!
I was able to put together a script that resets parameters for deck A and B upon loading.
Couldn't make it work for deck C and D yet, but I can live without it.0 -
I think the culprit is that resetFocusedStemDeckVolumeAndFilter function
function resetFocusedStemDeckVolumeAndFilter(deckId)
{
var defaultVolume = 1.0;
var defaultFilter = 0.5;
var defaultFilterOn = false;
if (deckId == topDeckId)
{
// Set parameters to specific values
topStemVolume1.value = defaultVolume;
topStemVolume2.value = defaultVolume;
topStemVolume3.value = defaultVolume;
topStemVolume4.value = defaultVolume;
}
else
{// Set parameters to specific values
bottomStemVolume1.value = defaultVolume;
bottomStemVolume2.value = defaultVolume;
bottomStemVolume3.value = defaultVolume;
bottomStemVolume4.value = defaultVolume;
}
}
and those connectionsConnections {
target: topDeckTrackType
onValueChanged: {
if (topDeckTrackTime.value) {
resetFocusedStemDeckVolumeAndFilter(topDeckId)
}
}
}Connections {
target: bottomDeckTrackType
onValueChanged: {
if (bottomDeckTrackTime.value) {
resetFocusedStemDeckVolumeAndFilter(bottomDeckId)
}
}
}Tried to work it out with a coding AI, but no luck so far.
0
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 732 Tech Talks
- 3.9K Native Access
- 15.8K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 814 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators