qml: cue data and events
Where can I find cue data (time, label) in the QML files? And are there any events triggered when a cue point is reached during playback?
Answers
-
"app.traktor.decks.X.track.cue.hotcues.Y.exists" "app.traktor.decks.X.track.cue.hotcues.Y.start_pos" "app.traktor.decks.X.track.cue.hotcues.Y.length" "app.traktor.decks.X.track.cue.hotcues.Y.repeats" "app.traktor.decks.X.track.cue.hotcues.Y.delete" "app.traktor.decks.X.track.cue.active.type" "app.traktor.decks.X.track.cue.active.name" "app.traktor.decks.X.track.cue.active.start_pos" "app.traktor.decks.X.track.cue.active.length" "app.traktor.decks.X.track.cue.active.repeats"
'X' == deck # (1-4)
'Y' == hotcue #
position/length in ms
Edit: To trigger something, use this:
"app.traktor.decks.X.track.player.next_cue_point"
Implement a function that does something when the value of this reaches zero. It only works for the immediately following cue point.
Or:
"app.traktor.decks.X.track.player.elapsed_time" "app.traktor.decks.X.track.player.playhead_position"
Implement a function that does something when the value of this is equal to the start position of your hotcue (and maybe only when the hotcue has a certain type).
0 -
Something is not right.
I define this in S4MK3Deck:
AppProperty
{
id: test;
path: "app.traktor.decks.1.track.cue.hotcues.1.exists";
}
And tried to use text: test.value in one of the Text elements in TrackDeck but nothing shows up.
Any ideas?
0 -
Did you get a CTD or did it just not show anything?
Either way, test.value should show a boolean.
If you try to print it, you could have as text value:
text: "" + test.value
or maybe:
property bool hotcueExists: test.value // and later in the text display box text: hotcueExists ? "HOTCUE" : "BLANK"
I also found this (i just inlcude the complete file):
This is for the graphical display of the HC, including printing it's number inside the polygon. It's all about defining and showing the HC, and then later, defining all of it's possible components. There should be something in there that you could try regarding the text display.
0 -
Actually, the hotcues are also available in deckInfo at hotcues.array but the model doesn't seem to contain the cue label?
0
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 764 Tech Talks
- 4K Native Access
- 16.3K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.6K Kontakt
- 1.6K Reaktor
- 374 Battery 4
- 833 Guitar Rig & FX
- 424 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.7K Maschine
- 7.2K Traktor
- 7.2K 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