Forum

    • Register
    • Login
    • Search
    • Categories

    Sampler Playback - ping-pong

    Feature Requests
    5
    10
    252
    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.
    • Lindon
      Lindon last edited by

      Well its been a while since a feature request so how about this one:

      Samplers can play forwards or reverse, could we add ping-pong (i.e forward and then reverse)??

      HISE Development for hire.
      www.channelrobot.com

      d.healey bthj 2 Replies Last reply Reply Quote 2
      • d.healey
        d.healey @Lindon last edited by

        @Lindon You hold down a key, it plays to the end, then plays it backwards, or you press a key it plays forwards, you press same key again it plays backwards?

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

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

          @d-healey hold down a key and it plays forwards to the end then start so play backwards...the other is fairly easy to script isnt it?

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon

            the other is fairly easy to script isnt it?

            Yeah I think it would be

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

            1 Reply Last reply Reply Quote 0
            • bthj
              bthj @Lindon last edited by bthj

              @Lindon Have also been thinking about this
              (just not yet deep enough into HISE to look into this possibility or ask an informed question - still trying to compile a hello world plugin : )

              Would it be possible to combine two Samplers? - one populated with a reverse copy of the sample and some silent prefix, at the same length as the original sample? Could the first one with the direct version be populated with a silent suffix, so it's also double in length? - and this programmatically? If that would be possible, then both could be looped and maybe some crossfade between the intersections?

              No idea if something like this is (automatically) achievable.

              Lindon 1 Reply Last reply Reply Quote 0
              • Lindon
                Lindon @bthj last edited by

                @bthj said in Sampler Playback - ping-pong:

                @Lindon Have also been thinking about this
                (just not yet deep enough into HISE to look into this possibility or ask an informed question - still trying to compile a hello world plugin : )

                Would it be possible to combine two Samplers? - one populated with a reverse copy of the sample and some silent prefix, at the same length as the original sample? Could the first one with the direct version be populated with a silent suffix, so it's also double in length? - and this programmatically? If that would be possible, then both could be looped and maybe some crossfade between the intersections?

                No idea if something like this is (automatically) achievable.

                wow thats a crazy screwball way to do it -- programmatically not do able but you could just sound design it that way... still an ugly number of samplers (you doubled the number required..)

                Personally I prefer just asking for @Christoph-Hart to code up another playback mechanism...

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon Nah, that is so edge-casey and I'd rather not convolute the basic streaming code with logic like this.

                  I would rather suggest to go down the script node route for this - you can load sample maps into a file player node and then use a ramp generator to power the playback position, from there you can go super crazy with the playing direction.

                  Lindon G 2 Replies Last reply Reply Quote 2
                  • Lindon
                    Lindon @Christoph Hart last edited by

                    @Christoph-Hart said in Sampler Playback - ping-pong:

                    @Lindon Nah, that is so edge-casey and I'd rather not convolute the basic streaming code with logic like this.

                    I would rather suggest to go down the script node route for this - you can load sample maps into a file player node and then use a ramp generator to power the playback position, from there you can go super crazy with the playing direction.

                    ooh cool, I will investigate... thanks.

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon You will need to set the PlaybackMode to SignalIn, then it will take the input signal as playback position and scrub through the sample. The most basic use case it to put a core.ramp before the node, but in your case it would rather be a really really slow triangle oscillator.

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

                        @Christoph-Hart
                        That's cool. Thanks for sharing information.

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

                        19
                        Online

                        742
                        Users

                        5.4k
                        Topics

                        50.4k
                        Posts