• Filter Bug

    2
    0 Votes
    2 Posts
    630 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
    996 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...

  • ignoreEvent not working?

    3
    0 Votes
    3 Posts
    769 Views
    d.healeyD

    Thanks for the quick fix, this really helped me with a little issue. I had a retrigger script for my sustains that was being triggered even though the MIDI muter was enabled, this fix solved it.

  • AU Validation Crash

    5
    0 Votes
    5 Posts
    2k Views
    C

    I regret to say I just left the house for the weekend, so you'll have to wait until Monday before I can confirm how many outputs are listed in the JUCE plugin host. Logic itself is fine now, though!

  • Exiting the Preset Browser

    4
    0 Votes
    4 Posts
    1k Views
    C

    In regards to this problem, I had it and found a temporary workaround: how large is your instrument GUI? Setting my own to something large enough (in my case, 720x480) revealed the option to close the preset window on the upper right.

  • Preset folder not found bug

    11
    0 Votes
    11 Posts
    2k Views
    d.healeyD

    Ah okay, that makes sense

  • Text Colour Hex

    3
    0 Votes
    3 Posts
    910 Views
    d.healeyD

    I'm copying the font colours from my design in inkscape, which are provided as hex. I've tried using a hex to decimal conversion but that hasn't produced the same result that the JSON gives. My solution is to use the hex sliders in the colour picker and then copy what the JSON provides into my script - no big deal :)

  • Adjusting sample start position in one sample affects another

    5
    0 Votes
    5 Posts
    964 Views
    d.healeyD

    That makes sense, I can see how it will be a little tricky to solve

  • Changing sample's RR group

    4
    0 Votes
    4 Posts
    1k Views
    Christoph HartC

    Ah ok now I get it. It might be the case that if you say cancel it resets the group amount to 1, which would be pretty annoying. i'll take a look.

  • Getting out of the routing view

    2
    0 Votes
    2 Posts
    638 Views
    Christoph HartC

    Yes this is already fixed but I think I forgot to push this commit.

  • Velocity modulator invert button

    1
    0 Votes
    1 Posts
    513 Views
    No one has replied
  • Sample mapper CTRL+A Single Group

    4
    0 Votes
    4 Posts
    844 Views
    d.healeyD

    In the sample editor could you we have a read out in ms for the start mod? Or perhaps overlay a ms scale onto the waveform.

  • Iterator variable clashes

    3
    0 Votes
    3 Posts
    752 Views
    d.healeyD

    Yep that will work :)

  • Synth.sendController() crash

    2
    0 Votes
    2 Posts
    660 Views
    Christoph HartC

    Ah yes, I forgot a safe check... It's fixed now (Synth.addVolumeFade() was also crashing).

  • Build 647: ComboBox's Don't Work

    3
    0 Votes
    3 Posts
    778 Views
    Christoph HartC

    That's embarrassing. JUCE did change the internal handling for comboboxes in the last version. Should be fixed now.

  • Note Off by ID doesn't work on same note

    14
    0 Votes
    14 Posts
    3k Views
    Christoph HartC

    I'll need to read the MPE specs to get a full image of how it works, but internally I am using an own message format which allows a little bit more information than just the pure MIDI messages (eg. 256 MIDI channels etc). I think adding MPE support shouldn't be too hard. It's a kind of niche thing right now (apart from Bigwig I don't know any host that supports this yet), but in the future it will become interesting.

    But if I understand you correctly, even with the Linnstrument it's only one active note per MIDI channel? If that's the case, my assumption is still correct, I'll just need to add the storage for different channels (which I need to do anyway for any sort of multitimbral sampler).

  • Radio group controlled from another script

    5
    0 Votes
    5 Posts
    1k Views
    Christoph HartC

    Yeah, let me know how it works on Linux.

    I uploaded the new build version 647 anyway, so you don't have to build it for Windows.

  • Old project won't open in latest build

    17
    0 Votes
    17 Posts
    3k Views
    d.healeyD

    Aha! I just moved my external files and it loaded up no problem. It was crashing as soon as I opened the preset, no clicking on anything. So my next task is to narrow down which file is causing the crash and then which bit of code.

  • Voice count doubled

    2
    0 Votes
    2 Posts
    568 Views
    Christoph HartC

    Yes I introduced this glitch when I rewrote the voice count system but I think I already fixed it again (but I may have not uploaded the most recent changes).

  • Fade in timer callback crash

    10
    0 Votes
    10 Posts
    1k Views
    d.healeyD

    This issue seems to be fixed now :)

13

Online

1.7k

Users

11.8k

Topics

102.6k

Posts