• RAW

    5
    0 Votes
    5 Posts
    699 Views
    Christoph HartC

    Yes. Not sure when it will be uploaded though, but the last presentations all landed on Youtube after a while.

  • key colour

    10
    0 Votes
    10 Posts
    1k Views
    d.healeyD

    @levitanus You have this at the top of your script

    Content.makeFrontInterface(600, 500); Content.makeFrontInterface(633, 300);

    Pick one :p

    I don't have scripts/CB.json so I can't do much else to debug.

    This works for me though

    Content.makeFrontInterface(600, 500); const var key_low = 0x6000ffff; Engine.setKeyColour(60, key_low);
  • Setting Script: Time Variant Modulator value

    5
    0 Votes
    5 Posts
    803 Views
    Christoph HartC

    Copy the text to the clipboard, then File -> Import HISE Snippet.

  • scripting Sampler Settings

    8
    0 Votes
    8 Posts
    1k Views
    Christoph HartC

    No, but they are pretty straight-forward to use - the value parameter of the callback is the text you've entered. What do you need to know?

  • Help with my Solo in Place script

    6
    0 Votes
    6 Posts
    742 Views
    Christoph HartC

    I also second David's approach, but even if you're sticking to your method, there's room for improvement.

    The laws of logic say

    (!A && !B) == !(A || B)

    so this expression is shorter (because you don't need the zero comparator)

    !(solobuttons[0].getValue() || solobuttons[1].getValue() || solobuttons[2].getValue() || solobuttons[3].getValue())

    Programming is fun :)

  • Hise Tutorial

    5
    0 Votes
    5 Posts
    754 Views
    NatanN

    @d-healey
    Thank You Sir
    We Need Some Fast Forward Videos Here For Newbies , I Searched Whole Web , Not Much Available At The Moment To Study :(

  • oscillator sync script ?

    6
    0 Votes
    6 Posts
    1k Views
    Christoph HartC

    Yes all MIDI logic is best handled by dedicated MidiProcessors, thereā€˜s no benefit baking it into a sound generator.

  • API call setAllowDuplicateSamples to prevent sharing of samples

    4
    2 Votes
    4 Posts
    920 Views
    d.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
    969 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
    2k Views
  • Mixer solo/mute script.

    8
    0 Votes
    8 Posts
    1k Views
    d.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
    914 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
    d.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+ZE6tBPBtZiwjyoGHAh4ZTeqlMeN9UMa1X6ZN0bfjejBeAQhO9sGcl6tGtee7N3M2F+hWb5HJlGOd.UhEA3IPMIBOSDiGQtfpUEjPfifz.EXxogQXB2GOHVo.aVzxFt6fe+G1t34FQyXns3gTEVMpjA0NN2pABItNCTo41XF9GyQMPt95Mp47oZNX3K0.um8APzrjwPppqX7DAGHp+LWsDOaclNOn0v3haSkAJtKflEpzFQZQ4JoHrKILb.zEW2He2NMz4ycihXC4XOCWbPL2SwDbrRXriykoYA27P95hWygwCYbZt9ycScuT.7bH8FFSyyF4IVF2mNUWO0DFWv3EnfjtTRlgqmVFFZToQpgBE.dLFYmLM1Hg9jfL2mkbx78Ow7oXHLR6gRO8NqiZgLnuT8biH3dlIQWOfDFQarchTWV1o5qi34wPbDiOrbLqCg.oXLlRjgLprbeilcYeojwZWc47ztferPQOgWugymbp5boyU4DDrHVF6ERkKhqd5n7VTqd5MxrJrQNXfQ4IRqc+lH4k1lWPPAuGmoNYB0PmOyp0BlYgL2SzCWM.DDUkL65IlYWv8mAhNhoHludzUFYKTRDT7cCzUMwWYLQmjZVhApZmRrLp2ODZ.kIp+H62vECdf91w1bSq4U0+yuF81d6QTD8XbSNAxSSnRESWNr1idA7lX5P8p16QiNWIljjzLCWfRVpeqkMxW2Hl3V3YX8uahll6vuo8rhDej4qFgrrs9GfbDkMbjRS82.kUkq6i6rzLs3C24d5O+01iIS0VVSMgHAiVv5yAJpvg12iRYA2sUA28660994iGcGotVOrT2EYWZfW7st4PZAsWEbWuh4u92X.0pT.s18oGLoP7GPonP7bXaEcpwpvXuVHIwmINTJhmjcG9ZosayKsJ4EaKF3iRdXyq4gHX8fdbyliPpCc80ZfkqD9wgDU4MtzqVZX.y7JsZid8EdDSMq3ctkXMrlKbMrENR6dB2mZ6xTdiVLdqr.7puJ9+LdMK0Vyd+f.pmJGrqZevu8P2fcIfxuHhUv6rGQTRltu433w8g858n.R352U0sPUzCaSoalMJoOk6mP7uvmgYKMskgYqLlnwDOo3LylF50lebxI.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
    501 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
    594 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
    417 Views
    No one has replied
  • Can somebody help clear a couple of things up for me?

    9
    1 Votes
    9 Posts
    1k Views
    d.healeyD

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

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

16

Online

2.0k

Users

12.9k

Topics

111.8k

Posts