S4MK3 & S3: Performance MOD (qml coding)

1252628303133

Comments

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,816 mod
    edited November 7

    @DJ ALX :

    Just adjust the interval length of the timer to your liking. This is the piece of code in the file with 'interval: 500'. Make it 250 for really fast blinking.

    //PAD should BLINK when STEM is MUTED
    Timer {
     id: stemMuteBlinkTimer
     property bool  blink: false
     interval: 500
     repeat: true
     running: stemMuted_1.value || stemMuted_2.value || stemMuted_3.value || stemMuted_4.value
     onTriggered: {
      blink = !blink;
     }
    }
    

    If you want instead to have the LED shut off completely when the stems are muted, delete the four lines with 'stemMuteBlinkTimer.blink' in them. Here are the lines, so you can delete them or place '//' in front of them so they are ignored.

    //----------------------- Top Pads to stem mutes LED -----------------------------
    Wire { from: "%surface%.pads.1"; to: ButtonScriptAdapter { brightness: stemMuteBlinkTimer.blink; color: stemColorId_1.value;} enabled: stemMuted_1.value }
    Wire { from: "%surface%.pads.2"; to: ButtonScriptAdapter { brightness: stemMuteBlinkTimer.blink; color: stemColorId_2.value;} enabled: stemMuted_2.value }
    Wire { from: "%surface%.pads.3"; to: ButtonScriptAdapter { brightness: stemMuteBlinkTimer.blink; color: stemColorId_3.value;} enabled: stemMuted_3.value }
    Wire { from: "%surface%.pads.4"; to: ButtonScriptAdapter { brightness: stemMuteBlinkTimer.blink; color: stemColorId_4.value;} enabled: stemMuted_4.value }
    

    Alternatively, turn the colour to 'Black', which is just turning off the LED.

    So instead of this

    color: stemColorId_#.value
    

    Make it this:

    color: Color.Black
    

    The brightness value is of no consequence in this case.

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,816 mod

    I am not usually someone ranting in anger. Today is an exception, right in line with all the evil things happening the last years around the world: I am beginning to hate the forum post editor. 😣

  • pixel
    pixel Member Posts: 232 Advisor
    edited November 4

    I made the code so that you can hold down the Pad1-8 buttons for 250 ms and then use the loop knob control to change the values ​​(volume, filter, fxsend).
    You can easily adjust the time in the script.🙂

    edit: Ah, I misunderstood the question😅

    @Sûlherokhh: I think you need a break😶😂

  • pixel
    pixel Member Posts: 232 Advisor

    I can now completely control stems.😎

    Now I have to make the pattern player🙃😅

  • pixel
    pixel Member Posts: 232 Advisor

    I have now made another video that shows how the stem control works.😆

    Unfortunately I won't be able to get to grips with the pattern player until the Weekend.🙃

    If you still want to test the stem control, you can send me a message.

    The color scheme can be adjusted in S3Stems.qml line 15🙂

      // Stems Color Scheme
      readonly property variant colorStem: [
        Color.White,		// volume
        Color.Blue,			// filter
        Color.DarkOrange,	        // fxSend
        Color.Green,		// holdButton
        Color.Red			// reset
      ]
    

  • pixel
    pixel Member Posts: 232 Advisor
    edited November 6

    I'm currently thinking about whether I should put these 16 seps from the pattern player on the 16 pad buttons and cycle from deck left pad1-4 then deck right pad1-4 and then again from left pad5-8 and then right again pad5-8🙃🙃😂

    whether that would be usable🤔 Maybe someone has a better idea

  • tokamak
    tokamak Member Posts: 9 Member

    Nice work here.
    With the performance mod it's much more fun to play with the S3
    I will read in here and hope that I understand the qml logic a bit.
    I had already started to adjust the MIDI settings of the S3 to get similar results.
    Are there any instructions on how to edit the qml or anything worth reading?
    Just found the thread last night and still need to read through it.
    But wanted to leave Thanks! here

  • pixel
    pixel Member Posts: 232 Advisor
    edited November 7

    The first post says where you have to copy the files to.

    You can edit QML files with almost any text editor.
    I don't fully understand the question.

    edit: If you have problems coding, just post your code and we might be able to help you

  • pixel
    pixel Member Posts: 232 Advisor

    I can now switch to the PatternPlayer with the S3😋
    I'll upload it tomorrow🙂

  • pixel
    pixel Member Posts: 232 Advisor

    I'm going to implement the 16 steps from the PatternPlayer this evening, Sûlherokhh showed me the right path. :)

  • pixel
    pixel Member Posts: 232 Advisor
    edited November 8

    I'm almost finished but I still have to do something tomorrow🙂

    EDIT: I have now made the deactivated steps white, it looks better😊

  • tokamak
    tokamak Member Posts: 9 Member

    Yes, this is my first post in the forum.
    I bought an S3 last week, and never had any problems customizing the MIDI setttings of my old controller before.
    The way via the qml files is new to me
    I have no problems using the qml files that are provided here.
    I am also aware that I can edit the files in an editor.
    My question was about the “programming language” if you can call it that.
    I am not familiar with programming, which is why the question may have been a bit naive.

    Anyway, I'm getting on very well with your mods.
    Thanks for that.

  • pixel
    pixel Member Posts: 232 Advisor

    @tokamak: Would you like to test the new Traktor4.1 S3Mod?
    I don't feel like publishing untested stuff of mine.
    I also incorporated all the changes from the original TP4.1 qml files so the mod is included in the new qml files.🙂
    If you feel like it, I'll finish the readme file and send you the mod.

  • pixel
    pixel Member Posts: 232 Advisor

    I once laughed out loud while reading the new qml files.😄
    A line of code that once caused me problems (TP3.11), which I then deleted and found better in another file, has now been implemented in the same way in TP4.1.😂

    Sorry for my bad English

  • tokamak
    tokamak Member Posts: 9 Member

    Of course I can try, but I can't evaluate the code.
    But I can test the function with TP4.1 and S3.

Back To Top