HISE Logo Forum
    • Categories
    • Register
    • Login

    need somebody to write a micro tuning script for hise instrument

    Scheduled Pinned Locked Moved Scripting
    9 Posts 6 Posters 1.4k 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.
    • A
      ashraf
      last edited by ashraf

      hi
      i am Ashraf, A music producer from middle east
      and i have an idea of making a vsti for arabic - turkish instrument
      my question: is there a way to make a micro tuning script for hise interface like the one in kontakt?
      and if it possible then i hope any one with this kind of skills to contact me for freelancing and finishing my project
      thanks

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Yes, sure a micro tuning script is a rather easy task. Just use an array of micro tuning detune values and apply this to incoming messages:

        // This contains the microtuning values for each note in the scale
        const var detuneValues = Content.addSliderPack("DetuneValues", 0, 0);
        Content.setHeight(200);
        detuneValues.set("height", 200);
        detuneValues.set("min", -100);
        detuneValues.set("max", 100);
        detuneValues.set("stepSize", 1);
        detuneValues.set("sliderAmount", 12);
        detuneValues.set("width", 12 * 50);
        
        // The Root Note for the microtuning table
        const var rootSelector = Content.addComboBox("RootSelector", 650, 30);
        const var rootNotes = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"];
        rootSelector.set("items", rootNotes.join("\n"));
        
        function onNoteOn()
        {
            local r = rootSelector.getValue() - 1;
            local index = parseInt(Message.getNoteNumber()-r) % 12;
            Message.setFineDetune(detuneValues.getSliderValueAt(index));
            
        }
        function onNoteOff()
        {
        	
        }
        function onController()
        {
        	
        }
        function onTimer()
        {
        	
        }
        function onControl(number, value)
        {
        	
        }
        
        1 Reply Last reply Reply Quote 2
        • orangeO
          orange
          last edited by

          Can we use this for a fx plugin? It will microtune incoming signal (down or up)

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            No because it operates on synthesiser voices only.

            orangeO N 2 Replies Last reply Reply Quote 1
            • orangeO
              orange @Christoph Hart
              last edited by orange

              @christoph-hart So isn't there any way to do it in HISE?

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              1 Reply Last reply Reply Quote 0
              • N
                narrsam @Christoph Hart
                last edited by

                @Christoph-Hart Does that mean that it wont work for sampler modules?

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

                  @narrsam It will work for sampler modules as well.

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

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    Yes, Synth. is just the API class for all voice processing (so from HISE's point of view, the Sampler is also a Synth :)

                    1 Reply Last reply Reply Quote 0
                    • Dominik MayerD
                      Dominik Mayer
                      last edited by

                      A little makeover..
                      because of: microtuning fun!

                      microtuner.png

                      best,d

                      HiseSnippet 1886.3oc4XstaabbEdVIstRahRSBLZyuJFPkBPBPtgKE0MDDDRQJJnFIYBQEmX3JjLZ4Pwwd4LL6NTQrAAvOZ4QnOB8W824Mn8blkK4tRLxzxoEEMxvqlamy46bcNiZGp74QQpPh0ZmOdHmX8t1cFK08azmIjjiZRrVwlEQ1e7PVTDuKwxZ4CwcrVaEh4me9y2mEvj97YKQHOUI74GKFHzyVscsuPDDzh0ketXPpSWs1Q9JYCUfZDfhksKSFx7eI6J9oL7XKYSrdzAcEZUXGMSyi.Dsup63N8UeuL97OUDItLfiS7Hc.FEubKUPWDw3pjF8EAcamnsQDhkc6Y59xw59isOQzULc8Y1f22rAcFEosGVKcevyKM7JOW3UddvyJE7VIFdefcG+PwP8rcPr8N1GI07vdLvEjFVwmkrzFOxtgBNgT6Nf8RdqPXxTJxWsb4hT3SgOccm0c.GQjldMKj1kqGI4OkELhGQ+LZBGXc61IPzkG1F7Q4y0L0oxUjVoL9+XV8IeBsCOf6qo59b5YJkldpRyo8TglUFH7CU.0B4UTMCrOokdHb7XpgSm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5Bu55ZQFPTefZjbFqeUyZjT39QKtw2f57IndEKBw.Jaq2EALVGkX8mra3zXCmlNM2v4.mVNs1v4PmC2votS8Mb1mrnR91NLiX9myQzqjVzl6.cvaubRc0ii4hgLhdsXQu9DQeL6RdfQtqZaF6QRYraVyHzOFDZD6ZnlW6PNTFC6gjCEEXl7dH7ieiF61bZqbjr9Cx2VKwIaa8GIj2H.UIEf9ofY.5t.32Ar.rbIB215Uohtrs9Hxc0hz.Y0WCP1LEP9GeKBjDT8xZw.XU6yMMzjAa8fjprgqEqcGXb2N5g2Un5NJfoy9XC7EVS1.pdmoqdrycYjPONchwa8KPlac5EDtefcag1u+7w6RyAuPQn+Si2Iumac6C50CRvR+X1Ve8utOd60Ak2KFJuicGns.ySqM.4OXlS+JHFgdHWxCQip287N6+9h9N6gK76rehuFD+4gLYzPUTFF2gOPbNjxDkdwuLBd8H+6NC8xoWugB6UZNa8yeN1KzbooCSOJzDtbqx2X3wxKrO4M389q7+Lu2+sIa6su3vxKFbeM+IIVKAicDCFFvOPdMO.ZnvfwODZFnGaTfNY0rw0mnjpg8URgeZm9Ybcn3pq3gow9bUn5ZM11wzUdbsyfqQYoCf+3ZGCAdrPvNwef1BuE2Vbe9qOxNFtTLYj9+GE0W92lE0OSMRC26eBCBTwdyfWB1Apk5yAjHk7.7YSVKg0CimWFmGWLU10L4eA+LYSObt0jM8R17+JxX.yOT8M9wuq.ikW0rBn2Ryew00rOAmS8RdFgsM7NIx.nh3236il6RdDx7ooxCflMe.zT8APyVO.Z19APyNO.Z18doAuLp9HsZPbpHrP6CLOmyx5.I1BpIpm7uAPp+WgK
                      
                      1 Reply Last reply Reply Quote 2
                      • First post
                        Last post

                      42

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.9k

                      Posts