• quick audioWaveform/Sampler question

    Unsolved
    16
    0 Votes
    16 Posts
    1k Views
    rglidesR

    @d-healey Sure, although it doesn't really tackle the issue, I'll keep messing around for now. It is interesting that you guys didn't seem to have the problem I had so I might open the snippet on another computer and see, I hope it's just an anomaly on my end. Thanks for looking David!

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • ScriptSlider.getMinValue() and ScriptSlider.getMaxValue() // Not Working....

    Unsolved
    5
    0 Votes
    5 Posts
    302 Views
    David HealeyD

    @Chazrox Yeah looks like getMinValue and getMaxValue are the ones you want, but they only seem to work on init.

    Also the slider range seems to reset each time I click compile. Not sure what's going on there.

  • Callback to MidiDropOverlay Panel?

    Unsolved
    1
    0 Votes
    1 Posts
    86 Views
    No one has replied
  • MIDIPlayer "Clear All"

    9
    0 Votes
    9 Posts
    492 Views
    ChazroxC

    @Christoph-Hart nothing. I ended up finding that as well. 🙏

  • Trouble with Array.contains()

    3
    0 Votes
    3 Posts
    298 Views
    VirtualVirginV

    @d-healey Right on both counts of course!!

  • MIDI FX Chord Plugin -- Using Message.sendToMidiOut() For Generated Notes

    2
    0 Votes
    2 Posts
    193 Views
    VirtualVirginV

    @dusseldorf
    sendToMidiOut() will not capture generated notes at that level.
    You have to place sendToMidiOut() in a script in a container level beyond the one your MIDI notes are being generated in.

    Screenshot 2025-08-07 at 11.39.19 AM.png

    And don't forget to put it on the other MIDI callbacks as well!

  • Knob that controls step modulator in increments of 1, 2 ,4 ,8 ,16, 32?

    3
    0 Votes
    3 Posts
    209 Views
    ustkU

    @mjc123 as Dave said, or if the mathematical relation is always 2^n−1, then

    local step = Math.pow(2, value-1);
  • Can't drag knobs in presentation mode?

    3
    0 Votes
    3 Posts
    202 Views
    M

    @d-healey thank you!

  • MIDIPlayer || .clearAllSequences on .MID file drop?

    1
    0 Votes
    1 Posts
    106 Views
    No one has replied
  • MIDIPlayer || Need Note Events .

    Solved
    7
    0 Votes
    7 Posts
    529 Views
    ChazroxC

    @dannytaurus

    @dannytaurus said in MIDIPlayer || Need Note Events .:

    It's like you have to know the answer, to look up the answer

    I seriously feel like that sometimes. hahahahahah

  • Sample stops playing when key is released

    4
    0 Votes
    4 Posts
    183 Views
    rglidesR

    @rglides and false if you want Normal mode

  • Completely flummoxed over panel value...

    4
    0 Votes
    4 Posts
    251 Views
    ustkU

    @VirtualVirgin hard to tell without knowing what scribeData is

  • Extract information from .midi files? || Midi file dropper tile?

    Unsolved
    8
    0 Votes
    8 Posts
    620 Views
    ChazroxC

    I think im going about this backwards in a way....

    How do I get midi note information from .mid files that are dropped into a midi player? The midi player is obviously able to parse the note event information. How would I extract the information from files loading into the midi player? In this method I could just use a built in midiDrop overlay panel and script the extracting process but the data source would now be the MIDIPlayers built in data structure.

  • Hide table perimeter lines?

    5
    0 Votes
    5 Posts
    301 Views
    ustkU

    @mjc123 or just do this:

    laf.registerFunction("drawTablePath", function(g, obj) { var thickness = 5.0; var area = Rectangle(obj.area).expanded(thickness/2.0); // make the drawing area slightly larger g.setColour(obj.bgColour); g.drawPath(obj.path, area, thickness); });
  • Any ideas on why .charAt() would suddenly stop working?

    7
    0 Votes
    7 Posts
    371 Views
    VirtualVirginV

    @d-healey Actually, I think I just found the error:

    local MPN = direction == "up" ? noteObject.y[0] : noteobject.y[noteObject.y.length -1];

    vs.

    local MPN = direction == "up" ? noteObject.y[0] : noteObject.y[noteObject.y.length -1];

    I forgot the camelCase on noteObject for the false branch :P

  • Buttons

    7
    0 Votes
    7 Posts
    446 Views
    rglidesR

    @SBKZ setControlCallback

  • This topic is deleted!

    Unsolved
    9
    0 Votes
    9 Posts
    11 Views
  • Console.print "drawThumbnailRange" start and end

    Solved
    2
    0 Votes
    2 Posts
    133 Views
    rglidesR

    Solved. Thanks to an old post from @Lindon , thanks!

    inline function onbtn_GET_SAMPLE_LENGTHControl(component, value) { if (value) { local selection = SP_1.createSelection(".*"); local sampleStart = selection[0].get(SP_1.SampleStart); local sampleEnd = selection[0].get(SP_1.SampleEnd); Console.print("Sample Start: " + sampleStart + ", Sample End: " + sampleEnd); } }; Content.getComponent("btn_GET_SAMPLE_LENGTH").setControlCallback(onbtn_GET_SAMPLE_LENGTHControl);
  • Global Variables || Global Icon Paths in namespaces?

    8
    0 Votes
    8 Posts
    460 Views
    David HealeyD

    @Christoph-Hart said in Global Variables || Global Icon Paths in namespaces?:

    Can you make an example of what customization makes internal scripts "more approachable"?

    Here's a script for handling guitar picking

    fbb92c17-f5df-4c3f-b1df-74a5a150e782-image.png

    Here's the front end view that the users see

    4f8476f7-31b3-4bdf-84fe-5d60719ee565-image.png

    Making the back-end look a bit more like the front end would make it easier for developers to understand how the two things relate, without having to look into the script so much.

11

Online

2.1k

Users

13.2k

Topics

114.0k

Posts