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.
    • ChazroxC
      Chazrox
      last edited by

      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?

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

        @Chazrox if you want to adjust each dynamically maybe you could do

        Synth.playNote(60, Knob1.getValue());

        Synth.playNote(61, Knob2.getValue());

        And maybe call Sampler1.changed(); for each

        I'm not sure though, never tried it, but if not this then something similar I think

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

          @rglides ehhhhh no, I don't think this works haha

          ChazroxC 1 Reply Last reply Reply Quote 1
          • 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
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.8k

                                            Posts