• Is there a way to set button text from script?

    14
    0 Votes
    14 Posts
    372 Views
    VirtualVirginV

    @d-healey said in Is there a way to set button text from script?:

    @VirtualVirgin I'm not 100% sure what you're doing, but it sounds like you're adding components dynamically at run time (after on init), if that is the case I think you'll run into issues.

    If you want to change which components appear on top of one another you can use setZLevel().

    The function for:

    ScriptButton.setZLevel(String zLevel)

    Does not appear to be working.

    Here is a test snippet:

    HiseSnippet 903.3ocsV01aaaCDlxwpXV6ErBr8ch7ImhhVY4jlZLTzT6D2YrlDi4rhs9kBZpyQDQhTPjJoFECX+j2efg1iRJwJId4EuU+ACc7tGdO2oGdTiyTbPqUYDGuilmBDmuwcxboIZPDSHIi1k37it8yMFkj9N5afSgX5Qf1P5OOko0PHwwYsWaC0oUSRwu+9k8YwLIGVrDg7VkfCuQjHLKVc7N+hHNdHKDNRjTK5M2YDWIGnhU4HsVy0mjx3mvNFNfYCqgK4mY5Hhyib47M6AOeVv19A8fsB2bZPGeVfeudaCrs74S6ArfYS49DmGrWnvnxlXXFPiaZeU37IQpyjkI3sBsXZLXM5PlfYtbYxfHQb33y6QZBwo43Ecr0J6X+f69hPwEquny88ENnKPTuo4z3lnTm6AkbpQolkT5gtS3YhTyBOV970tijFHaFCe2TmJkwRZ7ONtCTXDRySRXm.CyPiKPz9Y99Olh+swO448zm1kNsPUn8v2UZC8TVFsTmzg9B54aywfYfJIUIQi1qW4ecbGtJnfaATvx.08V.0c8RtpACJdiKDuFEMCeHSCTUVHjQaqUztTglhJbSDPmpPnITlLj1470LpzR3a3UUCOA2y2Ubbn85uJ9L1b8gxiTo1DVk65QzG0uUb4kyxkbi.2Xk7.kANT1dCuO50x6O8nW00rYK0msjyTwwP1RcaOLkcS.aKySlBYOF6jw4vEAhhmKqHevcSQxKeCTKPkbjTXNLEprGphCsJM6yWW+RpdEhJ40pXH9joPG+cU53xdJQfaRqpwQcHEzu9PFx8.dv+M3cWB7eaztLCydfrphvpLExLBayzYW3TbDX4wyVt6B5SPUUQIWoZwF9cnn+vhT9G6LegwA6blHzfSEcc9.ZFAhiiLVqgkU18HIA0Rxew9Bkjt0qDwcOIWeVGNkUElGyLWdzq8RoJGn5+Ry6ryzjZgYd8Kst573l+6pe+Zp+aQaeGo6CcGKL7nky2FKgunJ6KMeqtc6ac2a1LfaVP1ltC+8a7pr+enxupxMB4w6yLYBTq3dPdxD7KB3.xDoDh0VMQCqtqz12Za6LS.YXgwmveUN6Xscpb14bmjDFOS8dd44d6coeUwJHmjEeqQK28s1zkLrIAuZ+8b9k2pqALXUA1cUAt4pBbqUE3yVUfaup.e9sCz9kWuJGuIu73Dgr+38JFO63rmjgpwBkK4yf.aA.J
  • How do I get the area of a panel?

    3
    0 Votes
    3 Posts
    119 Views
    VirtualVirginV

    @d-healey Thank you! You are always so helpful!

  • Weird output from sliderpack value

    1
    0 Votes
    1 Posts
    54 Views
    No one has replied
  • changing MIDI channel from onTimer / Filling MessageHolder from eventId

    3
    0 Votes
    3 Posts
    100 Views
    SimonS

    @Simon As usual I found that right after asking :D The lack of a channel parameter in playNote definitely threw me off.

  • MIDI transpose on a Scriptnode Synthesizer

    3
    0 Votes
    3 Posts
    158 Views
    Christoph HartC

    yup, bug, should be fixed now.

  • How do I check on all of the values of objects in an array?

    4
    0 Votes
    4 Posts
    135 Views
    Oli UllmannO

    @VirtualVirgin
    Great, that it works for you! :-)
    Sure, send me a snippet and I'll take a look at it tomorrow. :-)

    All the best
    Oli

  • Clickable URL display that opens the displayed URL -> Snippet

    9
    2 Votes
    9 Posts
    628 Views
    Oli UllmannO

    @aaronventure
    I have added it to the waiting room. :-)

  • How to get correct list of filter modes from Engine.getFilterModeList()

    9
    0 Votes
    9 Posts
    671 Views
    S

    @Oli-Ullmann
    Hi, thnak you !
    I will start studying and create something with Scriptnode (yes I too noticed that the Filter module create some glitches when change some parameters, and it happens also with the VST compiled used in different DAWS).
    I didn't try the standalone if it has the same problems.

  • Matrix Peak Meter LAF MaxPeaks always [0,0]

    2
    0 Votes
    2 Posts
    153 Views
    David HealeyD

    Looks like a little typo, fixed in this PR - https://github.com/christophhart/HISE/pull/616

  • Trigger a chord on a single key press

    3
    0 Votes
    3 Posts
    145 Views
    T

    @Oli-Ullmann great, thank you!

  • Get wav length in milliseconds OR sample rate

    4
    0 Votes
    4 Posts
    224 Views
    D

    Appreciated guys, can't believe I missed these! Also got a bit confused with getting getSampleLength and getSampleRate.
    Case of the mondays I guess.

    const var SamplePlayer1 = Synth.getAudioSampleProcessor("SamplePlayer1"); const var audioFile1 = SamplePlayer1.getAudioFile(0); const var samples = SamplePlayer1.getSampleLength(); const var sampleRate = audioFile1.getSampleRate(); const var lengthMs = (samples / sampleRate) * 1000;

    Thanks again.

  • Trapezoid XY Pad

    7
    0 Votes
    7 Posts
    647 Views
    Evan SplashE

    @Lindon Thanks for the advice! I'll start with that.

  • 0 Votes
    8 Posts
    662 Views
    ustkU

    @orange Here's an example:

    HiseSnippet 1549.3ocuV02SaaDF2FvsKYcSsR6emz8WUtqHZRgBkQaWgPxZzJgHLEUooIzg8Y7Ibtyx2Yfro9+6i09.rOL6av1yycNINjzWVzVopfumW+cOudrq0LQDK5TkfmkwzNNtK2OWFxTJYtia8iGlwbbuiWvPgNoUBkKb5tui6W6c.UoY4DKo8FlQUJVjiq6x+HRvs1JNle9qeXOZJUDxlPxw4DIOj8Z9.tdB09u7m3oocnQri4CpH8FuranTzRlJK.7rrWCmLZ3EzyY8nnXK447JpJww867Z7jMYrsVONJht95Qat4la+zs2X6lz3FaPOq4lauwi2XqG+zshcbuU6HtVlGnoZlxwck8jQCCRjWIrN3DtheVJCOzzI.7rkbGYZDdEQpNsR3oQiCTJHrsRkv1x1v123c.OhOl9jv2cMLHSznZ.zcoog2xSAulUgWiJvaNPxsBjVwBo64EDlyyzS3f34K85JfrYLExSUghUVG2+vqkDDPnWa.8BVmb3vXE72rQiUIvudvNwEhPMWJHRQOolcnv+A0+s50p+t5jaxJNdt7P2jKSSY4ykMVZj+gTzWTL3LV9pjKooErwBBW+oiodu+XZ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+0VGVo8oY7pIC06wC7Xhuh7BBrAMFHM1kyb8AEAk1od8aJx3qvHILHwDhKeEgIIo3mKnokXcRwkFFehklijEq0wQpufTVLXn5eCt2mDAeUdEfpVk1bqfWB0Jg7bCy0fEB8vy1gt9Hvf.TsXYNwGEl+7F6P3OynC7wCeHd8Q6YEgBMg2mn9diw9Y9uXBNF10TfKlaHFCtF+fg.7+ip0lSffpHw3ppYhHH1ZM80uCJnuJiJdlIKtJHP0Pv7byAc2uKgcIzNOU2EDNhRYuBZDai77G+08IrYZQdiockql7pSsj.MSEYFWvtFt03cAQRo8AtsKIiIKeaxoJI.31ZPtHhc8L9LXTS83E4yMB0uLBA9a7Je+HYALgjbYEi9tcp637Oh1I.+.

    You "just" have to implement your filter algorithms and manage per channel integrators (ch arg)

  • Replacing Sample in Sampler

    2
    0 Votes
    2 Posts
    109 Views
    Oli UllmannO

    @VeryHuman
    Maybe you should have a look at the custom sample import demo project from Christoph:

    https://github.com/christophhart/hise_tutorial

  • ComponentPropertyListener not working.

    Solved
    3
    1 Votes
    3 Posts
    103 Views
    David HealeyD

    @ulrik Ah you're right, I was misunderstanding the snippet.

  • Icon Fonts - Syntax error in unicode escape sequence

    14
    0 Votes
    14 Posts
    352 Views
    ustkU

    @d-healey Yeah just tested and I didn't help going further...

  • Malicious use of snippets

    2
    7 Votes
    2 Posts
    143 Views
    A

    @d-healey delet dis nephew

    On a serious note: it's a good point. Probably needs a snipper preprocessor which will execute the scripts, check if any startAsProcess calls were made or FileSystem deletion was used and warn the user about it or load it in the same window like the snippet browser with the ability to display the offensive lines.

    Just checking the script for text wouldn't be enough as you can easily encode a blowfish string and hide it into an eval call.

  • Record audio of unknown length

    14
    0 Votes
    14 Posts
    504 Views
    T

    @ustk genious, thank you!

  • Defaults / Presets?

    Unsolved
    4
    0 Votes
    4 Posts
    202 Views
    ustkU

    @clevername27 it happens with sliders too, and without LAF as well

  • Help me understand Server.callWithPOST

    26
    0 Votes
    26 Posts
    3k Views
    David HealeyD

    @guangcoder said in Help me understand Server.callWithPOST:

    Server.setBaseURL("http://hise.audio");

    This needs to be your server URL.

23

Online

2.1k

Users

13.2k

Topics

114.3k

Posts