HISE Logo Forum
    • Categories
    • Register
    • Login

    Player - I'm going crazy

    Scheduled Pinned Locked Moved ScriptNode
    37 Posts 8 Posters 885 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.
    • griffinboyG
      griffinboy @rglides
      last edited by

      @rglides

      Idk but I use c++ nodes for that.

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

        @rglides Why not use the sampler?

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

        1 Reply Last reply Reply Quote 0
        • StraticahS
          Straticah @rglides
          last edited by

          @rglides i feel you! :D

          (we have tried to build a sampler several times but always went back to the HISE (no drag) sampler because it has the most controls)

          Unfortunately its extremely limited since users cant drag their own samples - same goes for wavetables - of course users want to load own samples.

          If you need drag functionality, id suggest the stretch player + a gate envelope or clocksync so you could set the timeframe + envelope to playback the stretched sample. Disabling loop or midi is definitely a needed and currently missing feature on the stretch player imo otherwise its not fun ^^

          building user interfaces in HISE :)
          web: www.vst-design.com

          d.healeyD rglidesR 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @Straticah
            last edited by

            @Straticah said in Player - I'm going crazy:

            Unfortunately its extremely limited since users cant drag their own samples

            You can with the sampler

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

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

              @d-healey both are limited, so switching will not solve the issue of op i assume

              building user interfaces in HISE :)
              web: www.vst-design.com

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

                @Straticah said in Player - I'm going crazy:

                both are limited

                What's the limitation here?

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

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

                  @d-healey having these controls in one device (eg for a basic drum sampler):

                  drag n drop
                  pitch controls
                  length control
                  loop or oneshot toggle
                  timestretch (thats not based on pitch)

                  building user interfaces in HISE :)
                  web: www.vst-design.com

                  LindonL d.healeyD 2 Replies Last reply Reply Quote 0
                  • LindonL
                    Lindon @Straticah
                    last edited by Lindon

                    @Straticah said in Player - I'm going crazy:

                    @d-healey having these controls in one device (eg for a basic drum sampler):

                    drag n drop <-- available in the Sampler
                    pitch controls <-- available to the Sampler
                    length control <-- length of what? The note? or sample (use an envelope)
                    loop or oneshot toggle <-- available in the sample r
                    timestretch (thats not based on pitch) <-- available in the sampler

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @d-healey @Lindon since when is drag and drop possible with the HISE sampler?

                      And how to set this up, it depends on samplemaps... (at least thats what i thought)

                      building user interfaces in HISE :)
                      web: www.vst-design.com

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

                        @Straticah said in Player - I'm going crazy:

                        @d-healey @Lindon since when is drag and drop possible with the HISE sampler?

                        And how to set this up it depends on samplemaps...

                        see Christoph's example project for loading user samples into the sampler...

                        HISE Development for hire.
                        www.channelrobot.com

                        StraticahS 1 Reply Last reply Reply Quote 1
                        • StraticahS
                          Straticah @Lindon
                          last edited by

                          @Lindon @d-healey oh thanks!

                          this example exists since 4 years, i was not aware of that!
                          Looks way more complicated than (feature request) disabling the loop on the "audio stretch player" in scriptnode to have the same thing with zero code.

                          But @rglides you should check this.

                          8fc04469-5109-4be1-bdf1-11af96f431b2-image.png

                          building user interfaces in HISE :)
                          web: www.vst-design.com

                          1 Reply Last reply Reply Quote 0
                          • rglidesR
                            rglides @Straticah
                            last edited by

                            @Straticah Exactly! I like the tip on the stretch player setup, thank you, since I could still use the switch node and also include the file player, meaning I can set a condition for pitched timestretch or non-pitched and pretty much have the sampler I want, if I can also figure out reverse in dsp.

                            Yeah @Lindon you're right, I forgot about the example project, I messed around with it a while ago and the only reason I left it was because dropping samples into the sampler meant populating every note rather than just one, and this answers your question @d-healey as to why not a sampler, I have the sampler populated with my own samples from keys 1 to 20, and a synth on keys 21 to 60. I want the user to be able to drop up to 20 samples of their own, into keys 61 to 80.

                            It seems setting the playback range in the onNoteOn in a SP for the sampler works for playback but not for dropped range. If there was a solution for setting the dropped sample range so a dropped sample doesn't populate every note, I'd definitely go with that.

                            The other thing I'm looking at right now is the OneShot example from Cristoph, which if I can set up stretch and file player, could also be a really good solution.

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

                              @Straticah Yes all of this is possible with the sampler + scripting.

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

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

                                @d-healey You have a solution for setting a drop range? 🙏

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

                                  @rglides I haven't tried, but it's just scripting so it's all under your control.

                                  I would assume it's this function that handles the sample loading. And this function will allow you to set which notes it maps to.

                                  If it was me though I would just use this as a guideline and write it from scratch to do the thing you want instead of trying to make Christoph's code do something it isn't intended to do.

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

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

                                    @d-healey Thanks, yep I intend to first strip it down to a much more basic version and then build it up again but with some other functionality I already have working, I'll have another go at it today.

                                    rglidesR 1 Reply Last reply Reply Quote 1
                                    • rglidesR
                                      rglides @rglides
                                      last edited by

                                      @rglides looks like this https://forum.hise.audio/topic/7225/dynamically-loading-samples-sampler-audioloopplayer?_=1741312643183 solves the range issue. @Straticah sounds like this could be very useful for you too

                                      O 1 Reply Last reply Reply Quote 1
                                      • O
                                        Orvillain @rglides
                                        last edited by

                                        @rglides If you check the snippet browser, Christophe wrote a custom SNEX sample playback node. That might help you.

                                        rglidesR 1 Reply Last reply Reply Quote 0
                                        • rglidesR
                                          rglides @Orvillain
                                          last edited by

                                          @Orvillain Thanks yeah, I mentioned it, it does do what I want although I'd need to figure out how to use it with the right players. But without the reverse option for the players in scriptnode, I'm thinking of going with the sampler

                                          O 1 Reply Last reply Reply Quote 0
                                          • O
                                            Orvillain @rglides
                                            last edited by

                                            @rglides Reverse option is quite easy to add if you know C and can modify the node code.

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

                                            51

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts