HISE Logo Forum
    • Categories
    • Register
    • Login

    VST3 Sampler Issue: Notes Muting in Ableton Live - Anyone Else Facing This?

    Scheduled Pinned Locked Moved General Questions
    16 Posts 3 Posters 212 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CosmicWolf
      last edited by

      Hi everyone,

      First off, a big thanks to all of you for the incredible information shared here,
      this community is amazing, and I truly appreciate it!

      I’m currently working on a plugin that functions as a sampler for triggering short audio samples. It’s a pretty str8 FW project, designed specifically for basslines in electronic music. Since these basslines often consist of repeated 16th notes, I’ve noticed an issue: when using the plugin in Ableton Live with VST3, VST2, the notes sometimes get "muted" and stop playing altogether, but then gets back after few seconds.
      To troubleshoot, I’ve even tried simplifying the entire build down to just a basic sampler with minimal functionality, but the issue persists.

      This problem seems to be exclusive to Ableton and the VST3, VST2 format.

      Has anyone here experienced a similar issue? If so, I’d love to hear your thoughts or suggestions.

      Thanks in advance for your help!

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @CosmicWolf
        last edited by

        @CosmicWolf how are you triggering the notes?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Christoph HartC C 2 Replies Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          To troubleshoot, I’ve even tried simplifying the entire build down to just a basic sampler with minimal functionality, but the issue persists.

          Can you upload that minimal example? It's much more easy to track it down than looking at a video and guessing what's wrong.

          C 1 Reply Last reply Reply Quote 0
          • C
            CosmicWolf @d.healey
            last edited by

            @d-healey Yes, I sent you the example project.

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @CosmicWolf
              last edited by

              @CosmicWolf said in VST3 Sampler Issue: Notes Muting in Ableton Live - Anyone Else Facing This?:

              Yes, I sent you the example project.

              When/where?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • C
                CosmicWolf @Christoph Hart
                last edited by

                @Christoph-Hart I sent you the example project by email and in the private message on the forum

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @CosmicWolf
                  last edited by

                  @CosmicWolf The release time of your envelope is set to 0ms. Your sampler's voice count is 128 with a fade time of 1ms. These could be the cause of the issues. Test the plugin in Reaper, also try as a standalone application.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @d.healey
                    last edited by Christoph Hart

                    Also, 1024 is a very low preload size (basically 2 audio buffers), if you're playing fast notes, then the streaming engine might choke on this.

                    Does it also happen with the default values (8192 preload size + 4096 streaming buffer size)?

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      CosmicWolf @Christoph Hart
                      last edited by

                      @Christoph-Hart I tested the suggested adjustments, including setting the preload size to 8192 and the streaming buffer size to 4096. I also adjusted the envelope, voice amount, and fade time. Despite these changes, the issue persists. What puzzles me is that this problem does not occur with the AU format in Ableton Live.

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @CosmicWolf
                        last edited by

                        @CosmicWolf Test in Reaper

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          CosmicWolf @d.healey
                          last edited by

                          @d-healey I tested the plugin in Reaper, and the issue does not occur. This suggests the problem might be isolated to how Ableton handles VST3 plugins, particularly during looping.

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @CosmicWolf
                            last edited by

                            @CosmicWolf said in VST3 Sampler Issue: Notes Muting in Ableton Live - Anyone Else Facing This?:

                            might be isolated to how Ableton handles VST3 plugins

                            Or perhaps there is a setting in Ableton that could solve the issue - as with some issues in FL Studio.

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            Christoph HartC 1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart @d.healey
                              last edited by

                              Does it also happen with a sine generator?

                              I know that Ableton is doing some funky stuff when wrapping the loop (it splits up the audio buffers) and I've fixed a few things related to this some time ago.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                CosmicWolf @Christoph Hart
                                last edited by CosmicWolf

                                @Christoph-Hart The problem is also occurring in the Sine generator from what I tested here, it seems that it generates duplicates when it loops

                                Christoph HartC 1 Reply Last reply Reply Quote 0
                                • Christoph HartC
                                  Christoph Hart @CosmicWolf
                                  last edited by

                                  @CosmicWolf Alright I spotted an issue, it was in fact the case that Ableton splits up the audio buffer at the loop point and there was a rare code path (if the next buffer is using the full length which apparently only happens at Ableton Live loop points), then it will ignore the MIDI messages from the last buffer which ends up in muted notes.

                                  Feel free to pull the latest change and see if the problem persists. I could reproduce it with the Sine generator inside the VST3 build of HISE and it's gone here now.

                                  C 1 Reply Last reply Reply Quote 1
                                  • C
                                    CosmicWolf @Christoph Hart
                                    last edited by

                                    @Christoph-Hart I just tested the latest update, and I’m thrilled to say the issue has been resolved! The changes you implemented completely fixed the problem, and everything is now running smoothly in Ableton.

                                    Thank you so much for your quick response and support. It’s incredible to have such an active and dedicated community here. I truly appreciate all the help!

                                    1 Reply Last reply Reply Quote 2
                                    • First post
                                      Last post

                                    54

                                    Online

                                    1.7k

                                    Users

                                    11.7k

                                    Topics

                                    102.2k

                                    Posts