HISE Logo Forum
    • Categories
    • Register
    • Login

    Lunacy Audio presents CUBE

    Scheduled Pinned Locked Moved Blog Entries
    71 Posts 17 Posters 5.9k 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.
    • ustkU
      ustk @d.healey
      last edited by

      @d-healey said in Lunacy Audio presents CUBE:

      @ustk We already have one.

      HomerWhistles

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 3
      • Casey KolbC
        Casey Kolb @DanH
        last edited by Casey Kolb

        @DanH It's as if the contents of that file were right there in the script, but just replaced with that line of code include. Definitely will make your life WAY easier!

        In general, it's good to keep UI declaration and logic separated, so you might have different files for declaring different sections of your UI with other script files for their callbacks or other logic you might need. Though I'm guilty of breaking this all the time. It's hard to stay organized 😱 I think David probably knows the best ways.

        Casey Kolb
        Founder & CEO of Lunacy Audio
        Composer | Producer | Software Developer

        DanHD 1 Reply Last reply Reply Quote 1
        • DanHD
          DanH @Casey Kolb
          last edited by

          @Casey-Kolb Thanks Casey, makes perfect sense :)

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 0
          • S
            Sawer @Casey Kolb
            last edited by

            @Casey-Kolb yeah please, I want to know how. I kindly want to get the concept of how and what to do to create even a simple sample editor. Thanks !

            Screen Shot 2021-07-21 at 06.18.46.png

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Sawer
              last edited by

              @nesta99 There's a few things going on:

              • AudioWaveForm connected to the Sampler Module, with the index set to the correct RR Group. (This displays the waveform).
              • A slider on top of that waveform, that adjusts the Intensity of a Sample Start Modulator connected to the same Sampler Module.
              • Various sliders connected to other Parameters and Modulators of the Sampler Module, like the Pan, Gain and a Constant Pitch Modulator.
              • An ADSR section with Sliders connected to the AHDSR Envelope, added to the Sampler Module.
              • A Button to control Sample Reverse via Sampler.setAttribute(Sampler.Reversed, value); You also need Engine.setAllowDuplicateSamples(false); and the Sample Maps need to be in Monolith format.

              I'm not sure how to do the Loop/One Shot stuff, I assume you just set the mode using Sampler.setAttribute(index, value);

              I'm doing some similar (albeit much uglier) stuff in my Player:

              3c569566-62ec-42f9-ad6c-7f2b956df78f-image.png

              S 2 Replies Last reply Reply Quote 1
              • S
                Sawer @A Former User
                last edited by

                @iamlamprey Wow man, thanks so much. Will dive in today, and try!!!

                1 Reply Last reply Reply Quote 1
                • S
                  Sawer @A Former User
                  last edited by

                  @iamlamprey
                  https://youtu.be/glcXiUIi470

                  Hello. I'm trying to add the audiowaveform here on the project, but as soon as I select it , Hise crashes... Is there any issue around this please? thanks.

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

                    @nesta99 Try the develop branch

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

                    S 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Sawer
                      last edited by

                      @nesta99 Does it crash if you add a new one? Instead of trying to swap it over from the EQ type.

                      @d-healey It works fine for me on Master.

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

                        @d-healey Uhm.. alright.
                        @iamlamprey yes, I've tried to call a new AudioWaveForm and it works. Thanks. How did you link it to the sampler in other to see the wave?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Sawer
                          last edited by

                          @nesta99 Set the processorId to the Sampler, the same way you'd connect a slider:

                          48a69643-e7e0-4036-8d84-115e02cfba84-image.png

                          You also have to set the index for which sample is displayed (mine's done using a script):

                          51d8f891-2f58-48df-9fe2-b53a2d259dbc-image.png

                          NatanN S 2 Replies Last reply Reply Quote 0
                          • NatanN
                            Natan @A Former User
                            last edited by

                            @iamlamprey Do you give each One A Unique Index?
                            Like 0/1/2/3... or All Set To 1 ?

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @Natan
                              last edited by

                              @Natan Actually I'm not sure if the index is even necessary, as per this post:

                              Link Preview Image
                              Reliable way to refresh waveform when changing sample map

                              Actually the waveform should update itself without any hacks required. I've just pushed a quick fix, please check whether it works.

                              favicon

                              Forum (forum.hise.audio)

                              It's been a while since I set mine up, perhaps @Casey-Kolb can confirm? :)

                              NatanN Casey KolbC S 3 Replies Last reply Reply Quote 0
                              • NatanN
                                Natan @A Former User
                                last edited by

                                @iamlamprey I Set All Of Them To 0 And No Issues Here

                                1 Reply Last reply Reply Quote 0
                                • Casey KolbC
                                  Casey Kolb @A Former User
                                  last edited by

                                  @iamlamprey Yup! Waveforms should refresh properly now since Christoph fixed that bug 🙂

                                  Casey Kolb
                                  Founder & CEO of Lunacy Audio
                                  Composer | Producer | Software Developer

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sawer @A Former User
                                    last edited by

                                    @iamlamprey Thanks.
                                    But in my case I can't see any of these parameters shown on the picture.
                                    Screen Shot 2021-08-06 at 08.04.07.png

                                    ? 2 Replies Last reply Reply Quote 0
                                    • ?
                                      A Former User @Sawer
                                      last edited by

                                      @nesta99 What branch are you using?

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @Sawer
                                        last edited by

                                        @nesta99 Oh you're using the floatingTile waveform, I think that's a different thing.

                                        The one I'm using is just called AudioWaveForm

                                        e7d0971e-0192-4a3e-9c6f-0e9bba37d725-image.png

                                        S 1 Reply Last reply Reply Quote 2
                                        • S
                                          Sawer @A Former User
                                          last edited by

                                          @iamlamprey Ohhh ok ahaha great. Thanks so much!

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sawer @A Former User
                                            last edited by

                                            @iamlamprey Hi, I've set the sample index to -1 but when I change the sound form the preset browser, The waveform won't change until I click on the refresh button.

                                            Am I doing something wrong? Thanks.

                                            NatanN ? 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            10

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.3k

                                            Posts