@trillbilly The easiest way I could think of to create such an effect is to create a ping/pong sample.
Use your Daw to create a looping pingpong sample and than use this with looping enabled in Hise.
Best posts made by VorosMusic
-
RE: Sampler "Ping Pong" Loop
-
RE: LAF PNG Keyboard with OctaveNumbers
@ustk
Good Call!Turning off custom graphics (unintuitively) fixed my main issue.
Now your mentioned problem comes into play not getting my image names correctly, but I should be able to fix that.Tank you!
-
RE: Lose panel focus when clicking outside
@ustk
Maybe inverting the idea?
Tracking a mouse-click and if it's not in a certain area (panel) it's outside?
Would probably reduce the amount of components.And yeah, I agree, might be a nice feature to have.
-
RE: trigger a Global LFO Modulator without a noteon
@ulrik
Man, that really is a bad and messy solution...
I hope someone can find an easy way to do this, but here would be the version I talked about using a button to trigger the loop toggle for the length of the wave.HiseSnippet 1642.3oc6Y0saaaCEVxIJq1cqncqWTTrAnkqbwRcsSyxOsXXNwwtKnIMFQNoCX.siVh1lKRjZRTI0nHOR6cX2r62ixdCxNjTxlN0y00sonqa9h.e9ke7vCOmCcZFwbwwwrHCy7s5GhML+TKm9TduZ8PDpwNaaXdMq8Pwbbjsh0V8CQwwXOCSy4djfgY94Mje9queKjOh5hGxxv3HFwEuKIfvGxsY0GS78af7vsHAZZuR0cbYzZLeVBfm4rJaDhbOF0E+DjPsbVFlKT2ivYQNbDGGaXN+VLu9N8XmRU5eDIlz1GKHpX3.NRwtAy2SfXw2Mp0i360LaeGa.Ns4vnvbpnvMs1i3QFveXz35RA1CsPOdXlaRvqhN7JOV3UYbvyTCdyqf2MrbbiHg7gRDX6pV6PgCpNH3HPGVJcMxkOmUMFnAkWJ.cLtQDPLvhhqVt7R1vetyCKT.NFh4161Xe6uyVlNTpKluGyKwGAauhKBRVTn28tmCmEFRncs48v16xXg1jXaB0lQEmsQEHTeBEa2Ig5xILI+HR2t3HARhX9EcYAgLJfokrOA4mfuSgWVHOoSwTh7.UdX4JEi4Y6ohBLlOuBXwbTDWtVEqHXeVgydXgrsIf5ZY9u3hoq7h2Q3rz0uFx2uMjk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y6lJrhf1LUXkLg5a2qo1tW0xA5tJeukbytfj98auV0.1sf4fiCYwi3XGb.oE7FiXclhIVgjc43wiTyCFUcrhfZ3vlZr13f3IQxTvMCXIzQJvNiy.L5bqZ5+Q6.Au8ypO2zEZeMS.jOCiNjfPebc5IXe3AxRL94Vou4Ji6nCTtGixB6wnjQ5Te.lm9pXMrO1MzlbNRuC7Mqd.1Gizxle1uUcWHKDEIdx1kerXRmW2xRAWawMS6ONdi0acWiYbpyzbtuLclXQD8HTDAQG9aGJA+mn.+Dg7Oe3g+g93nPgtVHI7D5dBNhqrSxTMGVNKwuuDEK+MvLL+5I8BpGHFG9sNh7+8QO+8xZDfbiXO2U8KFJx5thjCruox+0.4s1SPaWI6GJzxpboxFAPOhm65JB22EhOi2lkmAat+LXyJyfMe6LXypyfMqMC1r9DsQzddyD3YWphS.il0U2RMG7pNy4L9a.iKiEPA
-
RE: Capture mouse while controlling the knob
@ForeverLive
In my experience, if @Christoph-Hart or @d-healey don't give a simple and straight answer its probably not a beginner friendly process.So like they said I'd also recommend other priorities first.
-
RE: Arp stops for no reason
@d-healey
I have about 5 - 7 other samplers, thats why I was a bit concerned. -
RE: Custom Audio/Midi Settings
@d-healey
I see, where I was wrong...
I needed to set them to false and not delete them...LOL -
RE: arp continuing to play
@BWSounds I have the feeling the inbuilt Arp is not always fully reliable in Hise, when turning on and off.
Could you send a pic of your Arp-Settings maybe I can find something, working with it on a project right now too. -
RE: Wait for 1 seconds then set the value
@orange
I haven't worked with timers yet, so I'm not sure if that would work, but I found "callWithDelay" in the API browser, maybe this will do the job...
Haven't had time to try it out yet.
Latest posts made by VorosMusic
-
RE: Deleting Embedded Samplesmaps
@ustk
That's true...
Even though its not the same Sampler you might be correct. As far as I know there is an AllNotesOff event, when changing Samplers Bypass.
But I already tried a different order, it did not make a difference.I think I also tried delaying the PlayNote once, but did not work as well and lately I tried a different sample and it played, so it seems to be a quite specific issue.
I'll try to rebounce the sample I'm using, maybe that fixes things.
-
RE: Deleting Embedded Samplesmaps
Are there any known issues with certain samples?
Maybe too long, embedded markers? -
RE: Deleting Embedded Samplesmaps
@d-healey
Too bad... I hoped I was onto something...HiseSnippet 2084.3oc6b0saabbEdWQMJhLNFwFFEIEs.KDZQoQTjHkTragZSnojnspkrnIUTZPPfy3kyRNPK2Y6rCkBafP5CQeP5ifeT5U857Fzdlc1kbVpUTTTxNlNqtHVyOmy7Mm+lY9DYpyY1jf.F2vL+g88IFl2B0rumnyVcvTOic21v71n8wABB2R0U0993f.RKCSybOV1gY94MB+4m9hpXWrmMYXWFFGwn1j8ncohg8VuxSott0vsHGR6pM6MprqMyaKlKqGfmbnRF9X6iwsIOCKm1bHCyE1oEUv3MEXAIvvb9prV8a1gcpmZ9GQCnuzkHaT1nInHU20XtsjHV96Fa0g51pd79Nvvv78pOzJjSYEtGZeZK5f9GZM9vvArFJgt8vbtjvKWB3U9hfWJPxTCRyqfzcPMs4TewvQj348Q65ANGGLX10ghZtFyUcdzVLXFdhU5hOlTiCMFHQwGTpzxVv+49aVnPnaekVDGBeKrq6KASePQAuGQN3pq17TpvtSAvAEHrZ5RaQ3AV+EqXk2lH1h00m4AMJtjZ75dtKAByIssHm.8uaqMij+DL25oj9AG3ApPsvREHMCgsJtjZTo3iHgiyXEwwQJS9verrJnTyJADQrwIdKEM6zFJZI2wwgXKjaxuYv5o5q3R6wNco6urU97gK04F9Iz1cfwSevvU9YJMLlYTq13lhL06BG7.uwOriSpiml8+xlhzd+sfIi54R8HVN87rETlmEySEvHiO3L2h1wAGKCtRWvLW3GJjm5TLpQdnU9nfjA9WeWb+mwDxvzksJKiRAy8YExSbCHJITyyClC.jp82QofhQJRFH.SOJXU5oKtzIpTvkhgALEGFuHEVzRaZQs9yV+I3e9jOIBRQw.eC8aSDnT9SGH8YENC19WPZPnIXo6KkMxPDmZUbDCz82TyzI2zG3ULzFU3rBViNjiSpiEoJWBO0gkEa4iSvhd859RBW2CImHTAJYYsElrxZ1Jah1DYd65QEG3ShZOrtb4TJB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7+fehFrb7qrjCVNdvIu9k5QJVvNjKdK2+cKT3y2rju19cYemcrpf8VzuGRrpYNhm7Ehg0tcg2d6pWsMnmiiDRvqXmbpPxih9SqjwERFWHYbgjwExTvEx5YbgjwExuf3B4VngenIxHCIiLjLxPl0HCIOJ5ykzOmrg75OYMiAjLFPxX.IiAjegy.xuYrLfr.Z+anOq4yvzeXXjQ+gIJY1R9eVo6nIQHyxBz55qvmPbX7tZhmQDxaSDgrQFQHYDgLK8wnLUWdtIlHDDZ7LfrRJLf7J9.FP9NGm+6MMCHuY+SLmwFRFaHyNrgL9j4EPxuIYWwr45+qwkMuXV1bV1bV17aVtMW.cYDaVI6i4UFImYjblQxYFImy3jbFD5T6h8kWcR0vvrPCljGOj4cfYuG6ojvucoK.MdBMpwlgibjTwJT+DZTieTt2UjGFCZ3NhQ+eEieO5Gp23f+5Nac3KpcvdauSiyj+gvWsoOAer76xc4UNEehw187co1fyP5x1iw72Y3tQ1TEBBJe0ezLdK.GmEi5OWG0+ZcT+4SGp+CmC0GQYtTuUU+yxVa7vyi62HA.cw1b1KrUeoqkgAKF1CD.3Eh77n8kssF7EEGgJsRIitzVzWXaKID3Sgf2zkYsoPl0mBY1XJj4ylBYdvTHyCmBY9iiUFIcoOpmf0UcvBzQ8cT4rlCixyY7+AnvPuJB
This is a snipped of more or less, whats going on in my project, but I can't quite recreate the issue of the button not playing a note.
It seems to only happen with that one specific sample I'm using -
Deleting Embedded Samplesmaps
This is related to an old problem I had of a sampler not playing, when a note was triggered by a button.
Now I saw this warning: "! Saving embedded samplemaps is bad practice. Save the samplemap to a file instead."
Could this be the issue, and if so how can I delete the embedded samplemap? -
RE: trigger a Global LFO Modulator without a noteon
@ulrik
Man, that really is a bad and messy solution...
I hope someone can find an easy way to do this, but here would be the version I talked about using a button to trigger the loop toggle for the length of the wave.HiseSnippet 1642.3oc6Y0saaaCEVxIJq1cqncqWTTrAnkqbwRcsSyxOsXXNwwtKnIMFQNoCX.siVh1lKRjZRTI0nHO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without a noteon
@ulrik
I just took a look and found the LFO behaviour kinda weird.
Seemingly all waves loop on their own except the custom one. (depending on the button)My only quick idea I had was a timer with the same length as the LFO turning on and off the loop toggle...
-
RE: LAF PNG Keyboard with OctaveNumbers
@ustk
Good Call!Turning off custom graphics (unintuitively) fixed my main issue.
Now your mentioned problem comes into play not getting my image names correctly, but I should be able to fix that.Tank you!
-
RE: LAF PNG Keyboard with OctaveNumbers
@ustk
My console does not print from within my LAF function//Load Images const KeyLaF = Content.createLocalLookAndFeel(); for(i = 0; i < 12; i++) { var prefix = "{PROJECT_FOLDER}keyboard/"; var d = "down_" + i; var u = "up_" + i; KeyLaF.loadImage(prefix + d + ".png", d); KeyLaF.loadImage(prefix + u + ".png", u); } //White Keys KeyLaF.registerFunction("drawWhiteNote", function(g, obj) { g.setColour(Colour.black); var x = obj.down ? "down_" : "up_"; x += obj.noteNumber % 12; g.drawImage(x, obj.area, 0,0); g.setColour(Colours.red); g.fillRect(obj.area); }); Keyboard.setLocalLookAndFeel(KeyLaF);
(I know the keys don't look that great yet, they are just for testing purposes!)
This is a simplified example. In the code I wrote to fill the keys red after painting the images, but the remain untouched.
Except I'm missing something obvious?! -
RE: LAF PNG Keyboard with OctaveNumbers
@d-healey
Yes and I also applied the LAF.
The images them selves are working fine, but I cant add any additions like text, or a hover state.//Load Images const KeyLaF = Content.createLocalLookAndFeel(); for(i = 0; i < 12; i++) { var prefix = "{PROJECT_FOLDER}keyboard/"; var d = "down_" + i; var u = "up_" + i; KeyLaF.loadImage(prefix + d + ".png", d); KeyLaF.loadImage(prefix + u + ".png", u); } Keyboard.setLocalLookAndFeel(KeyLaF);
-
RE: LAF PNG Keyboard with OctaveNumbers
KeyLaF.registerFunction("drawWhiteNote", function(g, obj) { var x = obj.down ? "down_" : "up_"; x += obj.noteNumber % 12; g.drawImage(x, obj.area, 0,0); if(obj.hover) { g.setColour(0x33000000); g.fillRect(obj.area); } });
This is part of my white keys function.