Forum

    • Register
    • Login
    • Search
    • Categories

    playNoteWithStartOffset

    Scripting Forum
    3
    21
    1814
    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.
    • d.healey
      d.healey last edited by

      When did this function appear... πŸ™‚ Is the offset in milliseconds, seconds, or samples?

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

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

        @d-healey Bump bump

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

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

          Iβ€˜ll add some advanced docs for the method πŸ˜‰

          1 Reply Last reply Reply Quote 1
          • M
            MacroMachines last edited by

            Is this like a midi delay?? If so very cool!

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

              It's the other way around - you can skip into the sample making it a negative delay - a normal midi delay can just be done using Message.delayEvent().

              @d-healey I've pushed an explanation to the Extended API doc...

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

                @christoph-hart Excellent, this is going to be very useful for my legato script so I can skip the attack of mid phrase notes - currently I'm having to use a constant modulator.

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

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

                  Yup this is exactly what itβ€˜s there for.

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

                    Am I right in assuming that the value passed as the offset should be in samples?

                    I'm getting instant crashe/close when using any offset greater than 0, I even tried setting the s.mod to the full length of the sample.

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

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

                      Hmm, seems the issue isn't with the function, I need to debug more.

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

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

                        Ok I worked it out. There is a bug πŸ™‚ but it only happens when using multi-mic samples. With a really low offset it causes some nasty distortion and noises, with an offset greater than 1 millisecond it causes an instant crash on my system.

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

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

                          bump bump

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

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

                            Yupp, will add it to the things to fix with the new sample map system.

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

                              @christoph-hart Has this been resolved?

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

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

                                @d-healey said in playNoteWithStartOffset:

                                @christoph-hart Has this been resolved?

                                It has not πŸ˜›

                                dmesg shows this if it's any help: segfault at 7f4d7dc0dc74 ip 00000000008c49ea sp 00007f4dd6ef9df0 error 4 in HISE Standalone[400000+f61000]

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

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

                                  Was the recent multichannel crash commit meant to fix this issue?

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

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

                                    A quick demo of the bug, does some strange stuff.

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

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

                                      @d-healey This problem is still present in the develop branch

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

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

                                        I think I found the problem and fixed it, but I didn't reproduce the issue because I am lazy. Can you check if it works now?

                                        Basically I didn't duplicate the code from the normal sample playback to multimic playback, which caused a sample offset of minus one (=> crash)

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

                                          @christoph-hart Building now...

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

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

                                            Yippie! it works! thank you!!!

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

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

                                            22
                                            Online

                                            801
                                            Users

                                            5.5k
                                            Topics

                                            51.7k
                                            Posts