• SliderPack values are not initialized after compile

    6
    0 Votes
    6 Posts
    2k Views
    E

    SliderPack is the gui, ArpManager is the midi handler. I don't want to combine the two.

    Edit: Can I build my sliderpack value array on init?

    Edit: The reason for the separation is so that you can arbitrarily decide what step has what values. If I have a sliderpack directly connected to that then it becomes inflexible, unportable, unscalable.

  • "Show in Finder" on windows

    2
    0 Votes
    2 Posts
    797 Views
    Christoph HartC

    I think I am handling this correctly in the main file menu but this tiny popup slipped through the cracks somehow. Not much cross platform, will be fixed.

  • Cannot get SliderPack value using getSliderValueAt

    8
    0 Votes
    8 Posts
    2k Views
    David HealeyD

    I think that you can get the value using the index, just not in the onInit callback

  • This topic is deleted!

    3
    0 Votes
    3 Posts
    2 Views
    No one has replied
  • Difficult to see debug text

    2
    0 Votes
    2 Posts
    681 Views
    Christoph HartC

    Yeah, that's right. I'll change that.

  • Interface sizing

    10
    0 Votes
    10 Posts
    3k Views
    Christoph HartC

    Well the beauty of code based UIs are that you can do stuff like this with loops (and I would really refrain from autogenerating Javascript code that creates 512 buttons manually).

    Take a look at this quick example:

    Content.makeFrontInterface(400, 300); const var buttons = []; var x = 0; var y = 0; const var Panel = Content.addPanel("Panel", 10, 10);// [JSON Panel] Content.setPropertiesFromJSON("Panel", { "width": 510, "height": 255 }); // [/JSON Panel] for(i = 0; i < 64; i++) { x = parseInt(i % 8); y = parseInt(i / 8) * 32; buttons.insert(-1, Content.addButton("button"+i, x * 64, y )); buttons[i].set("width", 60); buttons[i].set("text", x+1); buttons[i].set("parentComponent", "Panel"); }

    The panel acts as parent component, so the positions of the buttons are set relatively to the Panel. You can select the panel and move it around and the buttons should follow (make sure you select the panel by rightclicking and choose "Select Component to Edit -> Panel"

    If you planning to build sequencers or any kind of matrix (which your power of two number suggests), this is really the recommended way.

  • Map Editor mini keyboard hit detection is offset

    3
    0 Votes
    3 Posts
    1k Views
    Christoph HartC

    This is fixed.

  • Can't change RR group for pasted samples?

    3
    0 Votes
    3 Posts
    1k Views
    Christoph HartC

    This is fixed.

  • Fatal crash re-loading presets and projects with Reaper.

    4
    2 Votes
    4 Posts
    2k Views
    Christoph HartC

    This is fixed now.

  • Limiting mouse scroll to map editor when appropriate

    1
    0 Votes
    1 Posts
    793 Views
    No one has replied
  • HISE preferences doesn't remember audio driver settings

    8
    0 Votes
    8 Posts
    2k Views
    Christoph HartC

    Good to know! Let me know if you run into another issue...

  • Table Envelope Velocity Attack Modulation Bug

    6
    0 Votes
    6 Posts
    2k Views
    David HealeyD

    Thank you :)

  • Poly filter in Container doesn't do anything

    5
    0 Votes
    5 Posts
    1k Views
    David HealeyD

    That might work!

  • Volume meter and multi-mic samples

    3
    0 Votes
    3 Posts
    1k Views
    David HealeyD

    Yes it's not a major issue for me, just briefly confused me

  • Small graphical glitch with connected script

    1
    0 Votes
    1 Posts
    546 Views
    No one has replied
  • Voice count includes purged mic positions

    4
    0 Votes
    4 Posts
    1k Views
    Christoph HartC

    Alright, this is fixed.

  • Mic load/purge status not saved

    2
    0 Votes
    2 Posts
    755 Views
    Christoph HartC

    Nice catches. The sampler gets bypassed when the samples are loaded and unbypassed after the loading thread is finished, but it totally ignores if the sampler was bypassed at all. I'll fix this.

    I'll also check the purge state, it should definitely restore it.

  • Assign to delay bug

    5
    0 Votes
    5 Posts
    2k Views
    C

    Thats awesome. Makes perfect sense now that the knowledge is there. : ) as with most things.

    Thanks again

  • Filter Bug

    2
    0 Votes
    2 Posts
    897 Views
    Christoph HartC

    Yeah, the other filters aren't biquads and don't have IIR coefficients that can be plotted, but I'll add some dummy coefficients to hide this :)

    But the Frequency modulation is supposed to work. I'll investigate.

  • Wavetable Synthesizer. [HQ] Toggle = "red button"?

    4
    0 Votes
    4 Posts
    2k Views
    Christoph HartC

    This is the most simple low pass filter implementation imaginable:

    reg lastValueL = 0.0; reg lastValueR = 0.0; reg thisCutoff = 0.0; reg invCutoff = 0.0; const var Cutoff = Content.addKnob("Cutoff", 0, 0); // [JSON Cutoff] Content.setPropertiesFromJSON("Cutoff", { "min": 0.01, "max": 0.99, "middlePosition": 0.1 }); // [/JSON Cutoff] function prepareToPlay(sampleRate, blockSize) { } function processBlock(channels) { thisCutoff = Cutoff.getValue(); invCutoff = 1.0 - thisCutoff; for(sample in channels[0]) { sample = thisCutoff * sample + invCutoff * lastValueL; lastValueL = sample; } for(sample in channels[1]) { sample = thisCutoff * sample + invCutoff * lastValueR; lastValueR = sample; } } function onControl(number, value) { }

    However, iterating over every sample and process it is where a weakly typed language like Javascript comes to a performance bottleneck - this example needs about 2% while the CPU usage of native code of the same functionality should be totally neglectible. So for now it's OK to play around with it (and prototype new algorithms), but I wouldn't consider using it in an actual instrument.

    I am planning to offer a collection of basic DSP building blocks that can be assembled via scripting (just like REAKTOR or MAX). The basic API is already there, but creating all those little modules will take a while...

8

Online

2.4k

Users

13.7k

Topics

119.3k

Posts