• Play held notes on Modwheel/CC like Omnichord

    10
    0 Votes
    10 Posts
    181 Views
    ChazroxC

    @StephanS Sounds like you got a great idea! You gonna ask him to make the whole thing for you?

  • This topic is deleted!

    Unsolved
    6
    0 Votes
    6 Posts
    55 Views
  • This topic is deleted!

    Solved
    16
    0 Votes
    16 Posts
    110 Views
  • LAF Function? || How do I LAF for Button "disabled" state??

    Solved
    7
    0 Votes
    7 Posts
    48 Views
    ChazroxC

    @d-healey doh..forgot all about that one tbh.

  • set VoiceLimit of sine Wave Generator

    23
    0 Votes
    23 Posts
    226 Views
    dannytaurusD

    @d-healey Yeah, it's quite different to what I'm used to in Ruby and Rails.

  • how to get the areas of a floating tile keyboard into an array

    18
    0 Votes
    18 Posts
    126 Views
    P

    okay so if anybody ever runs into this problem, i am sure there is a better way but here is how i did it:

    the keyOffsets array was created by setting the key with to a size where one octave spans 100 pixels and then using the midi list approach from above to get percentage values for each left edge.

    since the keyWidth of the fltKeyboard is stored in a separate string that contains all the other properties that can be set from the property editor, i had to do some string juggeling to separate the first number that comes up (which is the key width, luckily) that parse that as a float. multiply that by 7 and there is one octave width in pixels, regardless of that key size is set. then i used a loop to add the consecutive percentage values up and here we go.

    probably convoluted, but it works :)

    const keyOffsets = [0.08, 0.06, 0.11, 0.04, 0.14, 0.07, 0.07, 0.09, 0.05, 0.12, 0.03, 0.14]; var v = 0; var kbd = keyboard.get("Data"); kbd = kbd.substring(kbd.indexOf(":")+2, kbd.indexOf(",")); var octaveWidth = parseFloat(kbd) * 7; for (i=24; i<120; i++) { keysLeft.setValue(i, v); v += octaveWidth * keyOffsets[i%12]; }
  • need some help with artificial note on events

    7
    0 Votes
    7 Posts
    87 Views
    P

    @d-healey
    Thanks, your advice is much appreciated.
    So far everything works just fine and I was surprised to find that all the calculations that my script does for every note on take less than half a millisecond at a buffer size of 128, which is great. My first attempt in pure data was unusable in terms of latency..
    I’ve started using namespaces and external script files to keep everything nice and tidy, thanks to your video on the topic.
    There is a lot more stuff for me to learn but it’s very exciting to know that I have all the tools I need to make it real.
    Cheers!

  • a button to save or store Base64String from a table as a json file

    5
    0 Votes
    5 Posts
    46 Views
    rglidesR

    @Chazrox Getting there!

  • Arpeggiator SliderPack || Slider Amount

    Solved
    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • Show something when shift is down

    2
  • Save/Load JSON

    2
    0 Votes
    2 Posts
    48 Views
    rglidesR

    @rglides Solved!

    const var SAVE = Content.getComponent("SAVE"); const var LOAD = Content.getComponent("LOAD"); inline function onSAVEControl(component, value) { if (value) { local reverbData = { "OSC1_Reverb_Width": knb_OSC1_Reverb_Width.getValue() }; Engine.dumpAsJSON(reverbData, "reverb_settings.json"); } }; Content.getComponent("SAVE").setControlCallback(onSAVEControl); inline function onLOADControl(component, value) { if (value) { local loadReverb = Engine.loadFromJSON("reverb_settings.json"); if (loadedData != undefined) { if (loadReverb.OSC1_Reverb_Width != undefined) { knb_OSC1_Reverb_Width.setValue(loadReverb.OSC1_Reverb_Width); knb_OSC1_Reverb_Width.changed(); } } } }; Content.getComponent("LOAD").setControlCallback(onLOADControl);
  • Can't reference inline function parameters in nested function body

    15
    0 Votes
    15 Posts
    168 Views
    JulesVJ

    @d-healey Clever! Thank you!

  • Is there a guide for the SVG to path converter?

    7
  • Floating Tile Keyboard - Possible to Rotate?

    Unsolved
    9
    0 Votes
    9 Posts
    93 Views
    d.healeyD

    @HISEnberg Sure

    Ah you found it first :)

  • How I tell an instance of a ScriptSynth to load a particular DSP network?

    25
    0 Votes
    25 Posts
    556 Views
    Dan KorneffD

    @Christoph-Hart yup. But I really just wanna compile my C++ node with 60 parameters and toss it in a hardcoded FX πŸ˜€

  • Sliders not responding to "Consumed" MIDI CCs

    Solved
    21
    0 Votes
    21 Posts
    383 Views
    CyberGenC

    @d-healey @d-healey said in Sliders not responding to "Consumed" MIDI CCs:

    setCustomAutomation

    Now that I've had a bit more time, there are a number of hurdles with using this method.

    Issues Encountered

    MIDI Learn disappears
    The "MIDI Learn" option no longer appears in the right-click context menu of knobs β€” unless an automationId has been manually assigned in the Properties panel.

    automationId overrides control callbacks
    Assigning an automationId disables the knob's regular controlCallback, which is where most of my knob logic lives (e.g., updating processors, linked components, states, etc.).

    Workaround via automation callback
    You can attach a callback to a specific automation and call the original controlCallback logic from there β€” but this adds boilerplate and breaks modularity.

    Avoiding feedback loops crashes HISE
    Trying to assign a knob as the target of its own automation (to bypass issue #2) results in an infinite loop that crashes HISE.

    Controller numbers don’t carry over
    If you switch the automationId to a new target, the MIDI CC assignment doesn't carry over. It must be learned again manually β€” making it difficult to share CC control across multiple processors or targets.

    πŸ€•

  • Global Variable stuck?

    Solved
    7
    0 Votes
    7 Posts
    70 Views
    ChazroxC

    @d-healey Good to know! I have a bunch of 'consts' in my 'onNoteOn's. Im going to change them now and hope nothing breaks. Thank You! πŸ™

  • How can I efficiently remove a key from an object?

    7
    0 Votes
    7 Posts
    75 Views
    Christoph HartC

    @d-healey yeah something like JSON.delete(obj, key) is the easiest way, the delete syntax would require a real brain-twister with the current parser.

  • Midi-Out Messages?

    Solved
    12
    0 Votes
    12 Posts
    455 Views
    ChazroxC

    If anyone ever needs to know...

    This was ultimately solved with the help of the following!

    @VirtualVirgin said in Midi-Out Messages?:

    You would need to place the your piano roll script in a container on the next level down from your chord generator. Any MIDI that you generate will not be "seen" on that onNoteOn or onNoteOff callback, so you need a new container level to receive it as MIDI input.

    @ulrik said in Midi-Out Messages?:

    @Chazrox it is as @VirtualVirgin suggested, you need to read the out coming note ons and offs from a script one level below the script that generate the chord

    Thank You! πŸ™

  • PNG Slider LAF || See Example

    2
    2 Votes
    2 Posts
    63 Views
    ChazroxC

    @pcs800 πŸ‘

18

Online

1.8k

Users

12.0k

Topics

104.8k

Posts