Scales Combobox
-
Do you just want major and minor scales?
-
@d-healey Oh Thanks David, Yeah For Now Major And Minor Scales
-
@d-healey Major And Minor For All 12 Keys
C Major
C# Major
C Minor
C# Minor
D Major
D# Major
D Minor
D# Minor
Something Like This
-
@Natanr Oh that layout makes it pretty easy. I'll post an example in a mo.
-
@d-healey Life Saver <3
-
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.
HiseSnippet 1635.3ocwW80SabDDeOBGo9ZPMQpuzWpVAsR1Bhwll.IkRqA+GJJgfElPqDBEs9t091ly6d5t0.VUHE0OXU489R+nzuAzY28NemMNoITUUKD16LyNyu42t6ry1NR3RiiEQHqBGOJjhrtmcmQboeceBii1ugRPrKIfJ8Y79ncGERhiodHKq6rmxBqByize9qeXWR.g6RyDgPmHXtzmyFvjYRaW6YrffVDO5wrA4r9Q012UvqKBDCAzbG6JnPh6qI8oufnLaNaj0BM8XRQTGIQRiAa1U3Mpiu3Btw9SXwrtAT0fpnNfiLhQ08YAdsSyzXDxZ91Y48cL48mae.yiMVdV9eesBb1LxyAVyMIjleBHU8cAoVh.OkCdGvyJG7l2.uGX2wMhEJyznv1mZuOWRi5Q.ZOOrL1hlqycsqK.K3xxCHul1JBFLdFE2nRkUwOtRkRasnyhNQz9XRPf3Bp2KDPxrkQDSY94jfXsQvJTrDeNIBq2TrepR713SWzACeNc8UwveU0+O42msJds0Nf7KhnLaFaPxONSYBiKhbNSEn0V6HgPh4.RvthAcEcEWlO7tC5pMXabZB1mJqKFDJ3vfhKkneIStw3ALNE2aH2UxDbrfmnWM4HQPQ2zYtJ38fgzRK57qK5THOe.gBBwN4jTTa5CgDXLIoBWgggdvtgmQGY1LGWTI8JC+YBa4XZZnqCwnKrQu3zXxf70VqihnMb.VSByLYzV8OjMrbqVSt7cZRlb1VvpP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Nqcyzkian.NvGIyhz5iUzj6kC.a.Mwf7or99Yu54MGU6BEmOVva+sZna1kO7VCg2P.YS9.D0KsRT.UnlnSeUKb7XlbT9S2eDuJoxLeUxLq+7AB2GX2lIc8mMdmaF3EJB8eMdSdi2h1M60C1UjA14sa8y21Gz8Q.kiDCU0ENfHiXpBNvArNvgTWZx1l3zhPIiqnFqXlNTtmdf5DdhxppwVIJqlpDJk4FIdkq4lA0qH+DsD.Sb8CnK.E1fw3po2FXaWobEz.3zyqbcUTwCqhPydNqeKly2bKlyitEy4w2h4rwsXNadKlySduyQU3ZmgPQSywDPP6l5Z0VVM4DXWldGI5uAZUVuB
-
@d-healey Thank You David, Brilliant <3
-
Just One Last Question @d-healey
How Can I Bypass The Scalling, To Play As Normal? -
@Natanr Do you want it as a button or in the menus?
-
@Natanr I would make arrays with the tones for each scale and use the arrays in NoteOnCB to determine which notes to be ignored or not.
Oh, sorry I didn't see you had a lot of answers already :) -
@ulrik That's what I did :)
-
@d-healey sorry I didn't see you had already answered
-
@d-healey I Guess In The Menu Makes More Sense, On The Top Of C And I Can Grey Out The cmbScale Combo Box To Make It More Eye Catchy :)
-
I took the lazy option and added all notes as just another type of scale.
HiseSnippet 1645.3ocwW01SabDD9Lgqs9ZPMQpeoeaEnpZKLFa2DHoTZrwuPQIjfvDZkPnn02s1daNuq0cqArpPJp+wZ9d+R+oj+AzY18NemMuDJUQ8jUH6LyNyy7r6N6r6EHcYggx.qLYOX7PlUl6a2drP0udeJWXsSCTPnK0mo5yE8r1Z7PZXHyyJSl6sMZQlryao+9vy1h5SEtrDQVVGJ4trWvGvUIR2q5y499sndrC3CRY8iptiqTTW5KGAn4d1krFRceKsG6kTzr4rsx7YM83JYPaEUwBsxL+VRuws6KOUXr+PdHuiOCGT1pM3Hi3VReODwnTq5849d6Em0gVfW1KgCtmgC9Z6c4d7IxS3hGnUPRlQZ9Hyb2D7JmFdkt8vKSJ3MuAdOztsa.enJQChsuzdGghEzkBKAogkwVq49yO2ttDr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EnaOm5N0WxogSikbZ5zxo0RNa6r8RN0bpsjyVHSdqPQp7OAFuuWZXrULLlKAFKXqaHxQ2yyTA69pnVYMAqkujpfN3OfCQ.C3WYmVT4TQE9Rh5eGVMhyMDriMTMoijF3Y0oWby5Y+LOOuKrhfUhzKt3huYZoUhDqMVwNSkX7e8diT8R8b9Yr0UYVDB2uv8T8W7GHkeTwREzBAtenOc7qbUzShNWC56B0+YFCdg7TXhfrnI7ybyPn7sQP8QgJ4fsCnC6ycCmdxMXcovkE0FNjQCvmz.pwS5Fsa4CW5Cdaef7jXDJt1S0eO4IkV+okVurwrCj854y1U5wl143CHfGTHDLeDOFguNjcHz6iLHEfRhHnskOU0VM1eVmsWy3kiKo.JSDnRhTkIJZJ7RAf0fVer5y385m7Fs2se0SQNOYi3eT05xuCAdMjzaDfroehD9tvHEPcsodKB11mHjqFm938mj2Mcag6Cs2iqb6e03ctq.uXIwOw3M5UnKX2raWXWQBXm2t0u9o+ImV6KGg0E1kpB3XAG3.Va3PpKKZaSXbQnnwkvwHyzlI7zCvS3QJKiiyDorbrRqAT2.4abMWMfuy8KzR.LIzO2OKTXCFSJGecfscohkrF.mddiqKREq.X+pmSk6vb996vbdzcXNO9NLm0tCyY86vbdxMNGrvUsQPQSywDPvdM00pyjooPeSHtiz5e..cEHIB
-
@d-healey David. Just A Small Problem. By Compiling The Code, It Jumps To B Major.
Edit: I Mean, I Disabled The Code, Then Pressed Rebuild Button, And It Goes To B Major.
Demo'ed This With Compile Button Aswell , And Same Result Happpens -
It's because saveInPreset was disabled for the rootNote. I'll update the snippet.
-
@d-healey I Enabled SaveInPreset, Same Result :(
-
@Natanr Did you change the rootNote combobox value after enabling saveInPreset?
-
Oh I see a problem. It's because I was lazy :) I'll fix it.
-
@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