HISE Logo Forum
    • Categories
    • Register
    • Login

    Scales Combobox

    Scheduled Pinned Locked Moved Scripting
    28 Posts 3 Posters 1.5k 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.
    • d.healeyD
      d.healey @Natan
      last edited by

      @Natanr Did you change the rootNote combobox value after enabling saveInPreset?

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

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

        Oh I see a problem. It's because I was lazy :) I'll fix it.

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

        NatanN 1 Reply Last reply Reply Quote 1
        • NatanN
          Natan @d.healey
          last edited by

          @d-healey Have No Idea David, Both SaveInPreset Are Enabled.
          For Example I Select A And Major , Then Click On Rebuild, All Works Fine.
          But On Disabled It Won't Stay On Disabled

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

            Oh I see a problem. It's because I was lazy 🙂 I'll fix it.
            

            @d-healey Much Appreciated 👏

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

              @Natanr See if this version is any better.

              HiseSnippet 1651.3ocwX80SabDD+NBWa80fZhTeousBTUsEFyY2DHoTZsw+ghRHfvDZkPnn02s121bd2S2sFvJBon9IKu2W5Gk9AnRzY28NemMNTDRQ8DJjc96uY1clcVNLh6Rhi4QFlENdbHwv7gVcGyD9M8wTlwdsjDhcwADgOkMvXmwg33Xhmgo4C1UJgYgEMTe+8OuCN.ybIYjLLNgScIujNjJxndX8WPCB5f8HGSGlS5mTeOWNqIOfOBPyCrbLBwtuEOf7JrTrErLL+r1dTAOpq.KHwFlKtC2abWe9ELs7mPio8BHxEUM5BFRStCOvShXIUil9z.uCSi5XCvJGlkCdfNG70V6S8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8dsvBrbRpDbAXMjDInxzfYKx4vHp54pJX0hD+VAOD71jaLgoNuSP+xIN880qONCAMpODC7rLWBVPEjgfW+NqVzXLjt8raZ2bE6V1sVwtscG6NqXuq8tqX2vtwJ16Hyj2ITjK9yfwGFjGF6jBiExfwRVpoorUCLMkydnHYNXsy5DvwBX7+iofGjN7qrxSpZNuBeYd8uhqmjy0IXaKnaRONNxyn2fzI8K7YdddWaj.qLpWe80eyzTqkPVIrfboHS3+7CZpps5EBLsTcYVFb2uR8D9K+CnpOohSYEQH2GFfGefq.edRcMvuOz+mnE3k7K.EAZIJ7KT8Rn8slPyQwB9vcivg9T23oUtEoOFtrnQXHAGIeODvVVoq4tS.LrBXsifjGW5gJa7b02ydlylO2YypZwNlOXP.YetGYZiKe8A7ZDFiDHwil3qiImPbgZ6b.Jyi.2NAXQWw3fYM1gsS2NtACnMQjHyS0lvnMyKG.1.FMyvmPG3m8.u2eT8Kj47rCh+Qcia9HF3oTbuQ.xl98UxGUlv.5qM0CYjCNwhohw4Ku+j7nq6Jber0gTgq+7w6ByAuxVhehwaxSXWxpc+9vohLvtnUme6S+6UMNhOR1WXerHhJa3.EXcghTWRxwl3zlPIqcjqkYltDlmZgrBOgYU4ZyDlUSYZLD6Fweiq9pA4ij+BEE.SL0eqfBPiMXMpZ50AVVNUbLFBUOuw0UlJVCv970o18Pmu+dnyStG57z6gNabOzYy6gNO6V0Q13pwHnootLAHbXaUuZSy1L0MgxSjF+KYq0KP.
              

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

              NatanN 1 Reply Last reply Reply Quote 2
              • NatanN
                Natan @d.healey
                last edited by Natan

                @d-healey

                Thank You 👏 Yeah Works Like A Charm ✌

                1 Reply Last reply Reply Quote 1
                • NatanN
                  Natan @d.healey
                  last edited by

                  @d-healey said in Scales Combobox:

                  Here you go. Should be pretty self explanatory but let me know if you need any info about what it's doing. You can add more scales just by adding more interval sub-arrays to the scaleIntervals array and adding a corresponding combo box item.

                  Update: Just fixed a little bug. btw I'm using the natural minor here, if you want the harmonic or melodic you'll need to update the minor intervals array or add additional arrays.

                  David, I Searched The Google, And Seems There Is NOt Much Information About Interval Or Any Charts.
                  Can You Help With More Scales?

                  ulrikU 1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @Natan
                    last edited by

                    @Natanr Try these:
                    http://www.lucytune.com/250ScaleCoding.pdf
                    http://www.muzuu.org/new_life/pics/simpleblog/scales/sortedscales2.html
                    https://en.wikipedia.org/wiki/Scale_(music)

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

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

                      The intervals are 2 for a whole step and 1 for a half step.

                      Link Preview Image
                      Music Scales: A Beginner's Guide

                      A complete guide to the different types of music scales. In this lesson we'll cover everything you need to know about the different types of scales in music...

                      favicon

                      Hello Music Theory | Learn To Read Music (hellomusictheory.com)

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

                      1 Reply Last reply Reply Quote 1
                      • NatanN
                        Natan
                        last edited by Natan

                        With A Custom Piano Keyboard, How We Can Show The Scales?

                        inline function updateKeyColours()
                        {
                            for (i = 0; i < 127; i++)
                            {        
                                if (allowedNotes.contains(i % 12))
                                    Engine.setKeyColour(i, Colours.withAlpha(Colours.red, 0.2));
                                else
                                    Engine.setKeyColour(i, Colours.withAlpha(Colours.yellow, 0.2));
                            }
                        }
                        

                        Edit: Found A Better Solution :)

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

                        28

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.0k

                        Posts