AudioWaveForm LAF
-
@Christoph-Hart thanks.
-
Is there any documentation for this? Or any examples about how to use it please?
-
-
@d-healey I'll check, Thank you mate!
-
@d-healey Ok
Ok here is a handy snippet for those who want to use it as a quick starting with AudioWaveForm LAF

HiseSnippet 1391.3oc4W8taaTDDeu3bUXSAQKEo7wUQDIWv33yIkFDBQbRrasHo0JNDPJJpZycqsWx5cOs25Dag56Bek2FdT3MHL6d19tKboXLz9A3TTr2YmYueye1ey3NJoOMJRpPNEOYRHE4be2tSD5A6OfvDn1Gfb9P2iHQZpBGKZuIgjnHZ.xwovyLBbJtJx976e6dDNQ3SSDgPmJY9zCYCY5Doc186XbdKR.8D1vTZu8ts8kh8kb4H.OEbqgBI9WR5SeAwn1JtHm60LfokptZhlFgbVcOYvjtCjWKh0+TVD6BN0rvC0ENnXwsj7.ChMeGs+.FOnyL+NBgbb6jDEJDGEdj6Qr.1b4IQiOxtANwhzwCmUxBuBYfm2cAubfjSJHsZLjdfaWeEKTmriAOuuaaAjb5QfvdZnDqKZkesf69RPCgt5PxkzVJXwbKJucsZUv0qU6wecoRPnORiuhnvbRO72faJ5yDzp9JJ3LOiKufviOzCkxKaHBZQo7xFCA0qpn8YlhjViD9ZlTTd8.E45SFLZ3EBBieLQzmtdEbuYa2uBVdwO8X7OWpXIL7zuZOnjnAmW1fEb7i8SCfFCvATuZnLhYLG+Y1kD.ZmU+b.BwGQDUGW7Tt13VspWm.UXSOs9UM34PvgJOtBF9qVkjiXqyqf8pUs1bcydPwOK7AU8ISUMmCqWuacXvlsfLR40OkpBHBBDi7pmBIlWVCNqufFbBcLnGTZoz3N50qb1X7mCv1Bh5w4Q30uNm1Sudr8kdsI8rPInND8fEL+LtVZ+yjdHSSOlXPJG6YJR.CJ7ZAVV9LaJ4q1Yqc7pfImYfJ4LO3+F46Dr8S2IvHotU9VmedlHfAcksE.vWRh2URh0w36NzaVEkMdLyEwRwKjZ5KEkebIiW95R3auUud4tm49jRx4TUtaa3zTuICKKffNUUAhc7Qz4JBWzyxdbuEi8vO95cJEkh1Bl9kgzoqSn+7xgqAMkevv5LEgv6Va4b9jobNMFEvj+.4JZOoZHhEX3AyHyCYclzL+ADMA4rs6lGxtPQTS1zZvlMBC4TLvgDFE+8Mq4geNKD+bY3lM7pdM4JjxPWXqzAxYGygYkzTDXWO5gHz229.y4OEy.7AWJjpzLSjy4.5UPamXdyhtGPitTKCs5NLTJLNqy8+a6giS2oZR5EgyBmsCLsNr1YcQbGNYBU4ghHCAWssHfNNNqcMKPOv3MC.+a.k0ef0W+E37zvE8YMAKduat4F6agooCSjt1ZqYkFAYc390zNjNEtnehNarwFwl9m6k.cwjAi3Dc1Val94S2.pXyzOwzyP.ruSR2u+186V8tqXqka63bqGWP39.2NLs+f7w6J4fWnX4sMdmN8vG31rWOpuNArq515GeiiJ7uNT93YPwVMZJFowSLja84cOU2usnS0EtvS0ACX5CoMZ5RIat7DELuGSzO8qx.ylBBDKBRK9XoTaHoSOUYW6kLKuAb7YzldEUEk8DRt1rTbTCMAoXxogjwy3k3fMYHt3V3Om2xovBm1Sywm8hYJ8yYzwUeaMM66za2+yIiJrXv8uX36hyvXWlo3po3JJGtJYw3CgNK8Hi35YRydO5HoPFNPJX9YKE0JV+9TUZrmqC0PqgqCIRdztGS4TRTpZ9OcWyjnD0suM8V8Ghja9ZM2X3hMW9w+2nIRg+e1D4X4HMPBeDAJTMDauXzvt.2sOEPhPP4QFxrULCNFut1LtttTQfcALyxMS2zyr1Y5ldy17cx6XHwWIeke7HslZ42yJA7agk1un6Ql034yt55B+HPfXOf8JeeS39K7Pn7so9RXyVKgMauD17jkvlubIr4oKgM67FswzLpwHsbX7UQPPml1w7cblOBfSAzePGgCDL -
@Fortune Thanks Mate
Any use of This?
laf.registerFunction("drawThumbnailRuler", function(g, obj) { });and
"getThumbnailRenderOptions" -
@Natan I haven't tried to use these two yet.
Actually
drawThumbnailRangeanddrawThumbnailPathare enough for me, at least for now :) -
OK so necro-ing this topic because I cant get the LAF to do what I want...
Here's my LAF influenced output:

Sure I can change the path colours(fill and outline) but I cant see any way to remove this background, or change the colour of the offset start point....
Do we have anything?
-
@Lindon Got a snippet? I've been having great success getting Claude code to improve HISE's look and feel functions for me so if I can't do it I'll see if Claude can help.
-
you will need to load the Sampler with something...
HiseSnippet 1551.3oc2XszaaaDDdokXpkZRPRPJPuT.BidPtv0PzujCBJhjeHWgZmHXYmzdJXE4JoslbWhkK8iVji8WRuTfdom5gdJ+K5egdL+CbmkODIkkcTTcRqqLfklYmY2uY14EYaA2h36yEHsxGblGAoca8NmwjC1b.lxPs1Bo8.cb.keB9XROtvUR7knMNyC66SrQZZE1QImVohnvOu4IafcvLKRJKD54bpEYWpKUlxsc8ug53zDaSNf5lQ5Up2xhy1j6vC.LUPuJxCacDtO4oXkXyni9Zr+.j1WnulcO7Z10VspIY40sqsjYsUezJ0VqZ0d1qaVqastKiswqUqJR6VaaSkbQGIFPORq3Fb6y5LfeBK5.dN0m10gnHLQcfSNhcStisxDUbQaNf5X2NwY4iPZ5sSccEhbcOTeOpMcH+TW38BWvHUirNPsYxCuB4fmYV3UMC7FCjzx.ohQP595crDTOY5JJ77w5sXRhnGFtmxBkHYQy7KynuIGjfIWzEeDoo.HFpQEvEufA7u4eb4xkgKKeowwXgwtMZ1HvlxeQbjhowWYjrK8IxM4tdbFPTYt7hMmZeR2lFunIrSYz0RP.GytbKrytb9QMX1MIDmJJshjcQAoO0GPWy.lkjxYUlyVfO4fAAtcYXpyFP.TeAOfYO2BF8Rjo+BF7te+7F+X4xk5uXOHXrgiSkpmFZVkJ+J3qRS5IzFKGL98tD7mA7YzSPwK7eJSFCVKH+hXvRebr39JOlJInRzW9K10Ari4SVWc9pishRQO3GKLbKVvbwUm+h6S0Sa1rZ0G8nUVY3hJLcIaRrLFgNhDCyfydJWRdFqx7kU11qJaL5R85M10TWlBtiCQL1kU0.DWkhUXfqlHV.7WNAjgBBw44Sdzu7jmr41VQwVYDjyZwnxm4QXWVFOJNfTknEiJPTYXZ1mDmlkK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EWdZUbkoUwUmVEWaZUr1zp35ucEUOoSi.I2MpjMBsW6siB.01dX.XAzeyI2bJXWith a simple gain to [protect your ears/speakers...
-
@Lindon
drawThumbnailBackgrounddoesn't seem to do anything.The only laf function that it seems to respond to is
drawThumbnailPath.Do you have a mockup image of what you want the final thing to look like?
-
@David-Healey if you are going to add the LAF for it that would be great! But if @Lindon wants a more immediate alternative you can pass the path to a panel and style it that way

-
@HISEnberg panel doesn't include the controls to adjust the start and end
-
@HISEnberg Lindon really needs to see the current play cursor position as well...
-
@David-Healey said in AudioWaveForm LAF:
@Lindon
drawThumbnailBackgrounddoesn't seem to do anything.The only laf function that it seems to respond to is
drawThumbnailPath.Do you have a mockup image of what you want the final thing to look like?
Sadly I dont - all the customer is asking for is a transparent background...
-
@David-Healey Hmmm you may be right I would have to check the Sampler's API about that, but I've scripted all of this using the Audio Looper before (actually a custom C++ sampler but same API). I can share the script if you are interested (it's still not finished). If it's just a matter of adding a transparent background though, modding the HISE source code would be a lot easier.
This is all in a panel, but it's a bit buggy still:

-
@HISEnberg it can all be done using a panel but that seems like overkill when all Lindon wants is to remove the background.
@Lindon I'm out for a few hours but I'll take a look when I'm home, I think it should be an easy one for Claude
-
@Lindon said in AudioWaveForm LAF:
Sadly I dont - all the customer is asking for is a transparent background...
This guy is a liar, the customer also wants to change the "yellow" colour of the offset marker....
-
@Lindon We could use
drawTableRulerfor that perhaps? Although it would also need to handle release and loop markers. I'll have a think on it. -
@Lindon I just took another look at your snippet, you haven't assigned the laf object to the component. But it's even better than that, to remove the back all you need to do is disable the "opaque" property.