• API call setAllowDuplicateSamples to prevent sharing of samples

    4
    2 Votes
    4 Posts
    950 Views
    David HealeyD

    I want to use the same samples in two different sample maps, do I need to do anything fancy or can I just duplicate the sample map and rename it?

  • Illegal operation in audio thread

    7
    0 Votes
    7 Posts
    984 Views
    Christoph HartC

    Nope, it might also just be a graphical glitch (the polyphonic filter uses some dummy coefficients when no voice is played which might cause these jumps).

  • Change a sample map in the same Sampler with MIDI Controller

    15
    0 Votes
    15 Posts
    3k Views
  • Mixer solo/mute script.

    8
    0 Votes
    8 Posts
    1k Views
    David HealeyD

    @dustbro Add it as a separate script, you can right click the midi processor and connect it as an external script or just copy and paste it in, whatever suits you. Then just link up the controls on your main interface script to the module's controls. BTW the module is licensed as GPL so if you use it your project source code will need to be available under the same license.

  • Sampler PitchModulation parameters

    5
    0 Votes
    5 Posts
    936 Views
    Dan KorneffD

    @christoph-hart yup. you are correct

  • Script to link/unlink knobs, update with callback help

    3
    0 Votes
    3 Posts
    1k Views
    Dan KorneffD

    @Christoph-Hart Super clean solution!

  • 2D array... What am I doing wrong?

    6
    0 Votes
    6 Posts
    1k Views
    David HealeyD

    @dustbro Here's a full paging system that will work with any number of pages and it's only 31 lines including comments.

    HiseSnippet 1219.3ocsWs0aaaCElxIJsVadnEX+.HJ1C1Hco1YsYCHKnN14xL5RhvbZ2.JJBnknrIhLoAEUpMJBv9mr+J6mTGvdYOscnDkkThyEGfom7gmaemK7vickBOZTjPhrpd5rITj0WZ2eFWMp6HBii5sGx5w1tRZDUg5LaBIJh5irrV4PMWqpqhR997q6PBIbOZ9QHz6DLO5OyFyT4m519MrvvCH9zSYiKH8Ka2ySv6JBEw.RVwtIZBw6bxP5wDsXUrQVqsuOSIj8UDEMBjoiveV+QhOxSk+crH1fPplnEpOXnziQcGwB8cyhxHDxZU27XdkzX9qsOh4yleddr+jDF3bMJlCrpTFRqVBRstIHcfHzWafa.dVEf2pov6o188jrIpbNZr8E183JpLf.o8hvJUVTk+ZE6tBPBtZiwjyoGHAh4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l3I+igp1Goowymwqw8XXW9y77zIhuEP9h0XykViuao03kKsFuZo0XqkViueo03GtEMz+wociUhwoWKfCb2O4sQKq84DnqJoCD8e5FL6VC
  • Print array index

    19
    0 Votes
    19 Posts
    3k Views
    Christoph HartC

    Good to know ;)

  • Celtic Harp

    7
    2 Votes
    7 Posts
    1k Views
    Dan KorneffD

    oops! That worked :)

  • getValueNormalized()

    2
    0 Votes
    2 Posts
    508 Views
    Christoph HartC

    It works for Knobs:

    const var Knob1 = Content.getComponent("Knob1"); Knob1.setRange(-12, 1, 0.1); Knob1.set("saveInPreset", false); Knob1.setValue(-2.0); Console.print("Range: " + Knob1.getValue()); // -2 Console.print("Normalized: " + Knob1.getValueNormalized()); // 0.33

    Haven't checked the other controls :)

  • setPropertiesFromJSON()

    2
    0 Votes
    2 Posts
    613 Views
    Christoph HartC

    I think it's a mistake in the API doc - it's created automatically by using the inheritance hierarchy of the C++ classes and this one might slipped in to the wrong place. Content.setPropertiesFromJSON() is definitely the go-to option.

    However, the missing link might be a method like Control.getName() so you can call it without having to store the String name somewhere.

  • Slider middle position formula

    1
    0 Votes
    1 Posts
    424 Views
    No one has replied
  • Can somebody help clear a couple of things up for me?

    9
    1 Votes
    9 Posts
    2k Views
    David HealeyD

    @cuttybang Sampler settings >> voice settings might do it.

    0_1534113677163_Screenshot from 2018-08-12 23-41-04.png

  • panel.changed() recursion

    5
    0 Votes
    5 Posts
    1k Views
    David HealeyD

    @christoph-hart Going to build now :)

  • playNoteWithStartOffset

    21
    0 Votes
    21 Posts
    4k Views
    Christoph HartC

    Well, you waited long enough :)

  • Copy entire UI

    7
    0 Votes
    7 Posts
    1k Views
    staiffS

    yes you can also doing that

    copying in an external text file permit you to not opening the 1rst project each time you want to copy something; But only in the case you re-use a lot the same interface script. If just re-using it 1 time your solution is better

  • Floating tile edge of plugin

    3
    0 Votes
    3 Posts
    956 Views
    JayJ

    @christoph-hart said in Floating tile edge of plugin:

    HiseSnippet 797.3ocsUs0aSCCE1tsFw5XHFZ7dTepSZLktaf.gnqcqnJnaUzoIda3431XsD6HGmUJSS7yh+V7O.rykkVV1zBRjmx4x2474yE6gRAgFFJj.3xmLKfBfOAMZFW410Ey3f9G.fOEM.GpnRqDUclEfCCoN.Hr5GLJfKUCD+8q22A6g4DZtJ.3TAiP+Dymox0901ej440C6POg4Om26ztOQv6J7DQZ9TEYCBvjKvSnGgMtUAAtjQmFBf1ns2ZS4EsN+66u4e8MniqV23E0CHQRIkqNUCG.Qveq+fnCcXJgbjBqn5XVsivY1HWwTdRpOkExN2iZDZAFo4ThZPWWlmyvrxVH..qMLuHVMoHtFZ.ygci97h4yhMXkiX9xIrxhTp1BTp0cQodBOGS.tC5Amid0Rn2pnQDIKPkawvskQ84597XrtCNOsR7ET4XHpqP6AWsoO9BZOoV3FDM2y1dCqcssW+sqTek559Xnx5RrzJAcOOAVw3SNg4QaY8Nqr.Mgp5J7CDbsPyFE3aij3UfkMCMXiCyAXEt4UMLGtFuwpwPIUaqiTLMjJabsIBii3DESvsD7iDJ5w7lqW+p5KU+5aYY73hLYRjT34QkEY0LFKuGXM4Q9mSkanKHdQzL+zsiE62O5g0uIIG54bTv6yYpiCnox4SDsJXh.jV0LyFoDT6pJdx34oSFTGytRfPp.LGynQlXKP7YX9U7r3oyQ.UpXzvjHm1V0mqGbr+lY6DoC4LyOqo+YJyQ4FK.A.WJahqxH8SPw4XMzsmThyxKJvPZ9.Y4CjmurS2r1Y4LUS6ezFb6EJ8ZsvIxCqVbW2b+XpA87vBKUlEGdHSMa96OKwE.1EdAPgs6GHcWEMjoHtEy2JEvWcG3+MeSuNcEzgiGSIpbxVC06K+q2cVBp7YQjYXY.VIYlYkih7GoebhP0LgyodglwlJlUfDY6rwnQTtic1SMoFaYjgoFakYD3iIRwYjjEQypyii0n4DO9Yukzu+pkstYyyvae8qHmQHlBwK0LuXDaUZDaWZD6TZD6VZD6UZDupzHd88fv7j89QJgexZA.7GHt97oC

    after running this snippet my preview got really small

  • Enter data address in item (combobox)

    8
    0 Votes
    8 Posts
    3k Views
    JayJ

    @dark-boubou It doesn't load anything

  • set ComboBox index

    3
    0 Votes
    3 Posts
    901 Views
    Christoph HartC

    Yes, that is correct. Be aware that the value starts with 1 (so in order to set it to the first item, call setValue(1);). Zero is reserved for no entry.

    If you use the combobox for a control that's supposed to be stored in a preset (aka saveInPreset = true), you don't need to explicitely call this, just make sure you save the patch with the right value.

  • How can I add effects to a childsynths in script?

    1
    0 Votes
    1 Posts
    837 Views
    No one has replied

24

Online

2.1k

Users

13.1k

Topics

113.7k

Posts