• Connecting two different value type knobs & inverting one...

    5
    0 Votes
    5 Posts
    482 Views
    G

    @DanH hey I am a big newbie how do I implement this code in my project can I get a snippet to better understand how it works please

  • Read & Write JSON file || Basics

    Solved
    31
    0 Votes
    31 Posts
    808 Views
    ChazroxC

    @d-healey Booom! Thank You very much sir! I feel like I unlocked a whole new world. haha. Thank You @Lindon ! πŸ™

    Features:
    Save
    Delete
    Rename
    Randomize
    Previous Preset
    Next Preset

    (Saved to .json)

    Table Preset Browser Working.gif

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

    8
    0 Votes
    8 Posts
    187 Views
    ChazroxC

    @rglides Thanks bro!

    I was doing something similar to this with eq filters. What im trying to do at its core now is be able to create a .json, save it, read it, load it....and I figured this is probably an easy way to learn this so more important than having presets, I want to be able to do stuff via .json files because im feeling restricted haha Check the other thread I made. I got something going! I'll send you a final snip if you wanna check it out. πŸ€›

  • LAF KEYBOARD // Show notes playing...

    Unsolved
    8
    0 Votes
    8 Posts
    137 Views
    d.healeyD

    @Chazrox Show me with my minimal snippet

  • NoteEventID's || Overlapping notes fix...

    Solved
    6
    0 Votes
    6 Posts
    101 Views
    ChazroxC

    @Lindon got it! Thank you sir! πŸ™

  • Waveform how to get playback position?

    Unsolved
    15
    0 Votes
    15 Posts
    1k Views
    ulrikU

    @d-healey said in Waveform how to get playback position?:

    @ulrik Yes, if I had an audio file, but I have a waveform control linked to a sampler.

    Did you find a solution for this?

  • Linking Slider Packs || How do I connect them to an arp?

    Solved
    9
    0 Votes
    9 Posts
    133 Views
    ChazroxC

    @d-healey Thank You for staying up! πŸ™ Greatly appreciated!

  • How do I colour 'SliderPack' sliders by index??

    Solved
    3
    0 Votes
    3 Posts
    62 Views
    ChazroxC

    @d-healey You done it! I've tried about 20 things. lol Thank You! πŸ™

  • Play held notes on Modwheel/CC like Omnichord

    11
    0 Votes
    11 Posts
    325 Views
    LindonL

    @StephanS said in Play held notes on Modwheel/CC like Omnichord:

    @Lindon

    Hi lindon,

    Sorry for this late reply, i had a lot of work the last days.
    I can only say wow you are really great. Also what you have done with the idea :)
    What do you think, would it be possible to generate new notes values based on the note values that are recognized? Predefine the new note values using an array and then push them into the list when, for example, note 60 is recognized and then play them?
    What do you think?

    oh hang on like key switching for chords? Yeah that would be pretty simple I think - I'm sure you can work that out.

  • 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
    140 Views
    ChazroxC

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

  • set VoiceLimit of sine Wave Generator

    23
    0 Votes
    23 Posts
    678 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
    282 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
    128 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!

  • Arpeggiator SliderPack || Slider Amount

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

    2
  • Save/Load JSON

    2
    1 Votes
    2 Posts
    87 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
    308 Views
    JulesVJ

    @d-healey Clever! Thank you!

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

    7

30

Online

1.9k

Users

12.3k

Topics

107.2k

Posts