HISE Logo Forum
    • Categories
    • Register
    • Login

    Control individual sample volumes?

    Scheduled Pinned Locked Moved Scripting
    24 Posts 4 Posters 376 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.
    • LindonL
      Lindon @Chazrox
      last edited by

      @Chazrox said in Control individual sample volumes?:

      Can we adjust volumes for samples loaded into sample maps with a slider? Or do I have to load samples into unique samplers and control the sampler volume? Im trying to figure out the easiest way to do this?

      try:

      Link Preview Image
      HISE | Scripting | Message

      Manipulate MIDI Messages

      favicon

      (docs.hise.dev)

      HISE Development for hire.
      www.channelrobot.com

      ChazroxC 2 Replies Last reply Reply Quote 0
      • ChazroxC
        Chazrox @rglides
        last edited by

        @rglides lol Thanks anyways!

        rglidesR 1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox @Lindon
          last edited by

          @Lindon I'll give this a try. Thanks!

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

            @Chazrox no problem, worth a shot lol

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

              @Lindon I checked it out but I cant figure it out. Could you possibly share a snort snippet with me if its not too much please.

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

                @Chazrox In the note on callback you put Message.setGain(-6); and the incoming note will be set to -6db.

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

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

                  @d-healey Thanks. Im trying to adjust drum samples. I have a set arrangement where the kick, snare,hat, etc. goes on the keyboard, so per key, like a mixer, I want to be able to change the volume of one note. I realize I thought of this late in the process of making this but if I have to i'll rebuild this idea.

                  So I guess my question is how to write this per note?

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

                    @Chazrox said in Control individual sample volumes?:

                    I want to be able to change the volume of one note

                    Which note? In realtime? Is this something the user should have control over?

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

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

                      @d-healey Sorry I should be more clear. Yes, in real time and I want to present a slider knob per key. I want individual knobs for Kick, snare, clap, hat, etc. Thank you.

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

                        @Chazrox I'd probably put each drum in a separate sampler, unless you have tons.

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

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

                          @d-healey yeah this 100%

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

                            @d-healey ok. My brain is trying to figure out how to call on all these different sample maps to 1 preset if I decide to do it this way with 12 samplers.

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

                              @Chazrox Do you want to load different sample maps for different presets?

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

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

                                @d-healey Yes. with this approach I imagine,

                                12 samplers,

                                1. Kick
                                2. stick
                                3. snare 1
                                4. clap
                                  ..... and so on.

                                each sampler has x amount of hits in them depending on how many total kits are available.

                                12 drum kits = 12 hits per sampler.

                                I just want to the user to be able to control the volume of each type of drum (per "track/key") from the interface.

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

                                  @Chazrox said in Control individual sample volumes?:

                                  Yes. with this approach I imagine,

                                  In what way does changing a preset need to affect which sample maps are loaded?

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

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

                                    @Chazrox Just occupy one drum type with one sample in each sampler. Kick on note 1 in sampler1, Snare on note 2 in sampler2 etc. give each sampler its own gain knob (and any other effect you want) and simply add sliders connected to those effects in the UI.

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

                                      @rglides David has a good tutorial on key switching that you can adapt to add a bunch of kick samples, for example, into one note in one sampler/samplemap and allow the user to toggle through them with a slider in the UI

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

                                        @d-healey

                                        example:

                                        while typing this I see @rglides comment also and yes, thats what I imagine doing.

                                        Im trying to understand that concept before I go and rebuild my entire plugin. haha.

                                        Screenshot 2025-03-07 at 3.55.18 PM.png

                                        Im kinda grasping the concept slowly as im typing this also. Let me see if I got this correct.

                                        I would have 12 tracks/samplers, each loaded with 12 samples.
                                        I assume I could use combo boxes to load the proper samples per the curated drum "kit' and
                                        make sure the combo boxes 'save in preset'.

                                        How does that sound? Im still fairly new to all of this so let me know if im being ambitious here. lol

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

                                          @Chazrox

                                          Kicks

                                          • SamplerKick - Load 1 Kick sample onto note1
                                            - FX
                                            - SimpleGainKick - Add a slider in the UI to control this

                                          Side Sticks

                                          • SamplerSideSticks - Load 1 Side Stick sample onto note 2
                                            - FX
                                            - SimpleGainSideSticks - Add a slider in the UI to control this

                                          Snare 1

                                          • SamplerSnare1 - Load 1 Snare sample onto note 3
                                            - FX
                                            - SimpleGainSnare1 - Add a slider in the UI to control this

                                          etc etc

                                          • And to then have multiple kick samples in SamplerKick, load them all into note 1 as round robins and then have a knob in the UI to switch freely between them in real time - Watch David's key switching tutorial for this part
                                          ChazroxC 1 Reply Last reply Reply Quote 1
                                          • ChazroxC
                                            Chazrox @rglides
                                            last edited by

                                            @rglides Thanks brother. Im gonna go watch that right now.

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

                                            21

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.8k

                                            Posts