• Sustain Pedal Question

    15
    0 Votes
    15 Posts
    2k Views
    David HealeyD

    @ATWAW said in Sustain Pedal Question:

    What function would I use to turn on a sustain pedal via a button on the interface,

    If you're only using the sustain pedal for standard sustain pedal sustaining, then you just need to send a CC64 message.

    In the button's callback you could use.

    Synth.sendController(64, component.getValue() == 0 ? 1 : 80);

  • setAttribute() from array string problem.

    6
    0 Votes
    6 Posts
    416 Views
    CyberGenC

    @d-healey I see. I'll try to adapt your way to my project. Thank you.

  • How do i remove numbers and underscore

    16
    0 Votes
    16 Posts
    1k Views
    CyberGenC

    @d-healey worked like a charm... Thank you!

  • How Do You Assign a Modulator?

    Solved
    7
    0 Votes
    7 Posts
    287 Views
    C

    @d-healey Yes - THANK YOU!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • DrawWavetablePath - without additional waterfall lines.

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Blocking All notes, and Letting only 2 notes go in?

    4
    0 Votes
    4 Posts
    382 Views
    NatanN

    @Lindon 🙏 Cheers to you mate

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Linking 2 Sets Of Buttons Inside a Loop?

    3
    0 Votes
    3 Posts
    336 Views
    NatanN

    @d-healey Thank you so much Fine Sir 🙏

  • 0 Votes
    4 Posts
    229 Views
    A

    @Christoph-Hart Right, the issue is with creating the directories in the Application Support folder. Permissions thing?

    Because Packages can't install to users' folder. Hopefully the MPC won't have that issue. Or the one where it can't create directories in global appdata

  • Finding the Processor Type of a (Module Tree) Processor?

    Unsolved
    7
    0 Votes
    7 Posts
    321 Views
    LindonL

    @d-healey said in Finding the Processor Type of a (Module Tree) Processor?:

    @clevername27 could you distinguish them by variable name?

    or use two array one of fx one of all audio processors and use indexOf....

  • 0 Votes
    4 Posts
    539 Views
    A

    @d-healey Ahhhhh such a simple solution, thank you!

  • 0 Votes
    5 Posts
    952 Views
    trillbillyT

    @Lindon said in User Specified Sample Folder per Sampler?:

    FileSystem.browseForDirectory(var startFolder, var callback)

    Yes, thank you. I have added this to the SampleLoadSave.js of the CustomSampleImport project. On Right Click, it opens the directory browser twice. I can select a folder but it does not load the samples in the folder or randomize the folder.

    SampleDropper.setMouseCallback(function(event) { // Clear the sample on double click if(event.doubleClick) { Sampler1.clearSampleMap(); return; } this.data.hover = event.hover; // Show a directory browser on right click if(event.rightClick) { FileSystem.browseForDirectory(FileSystem.Samples, loadSample); return; this.repaint(); } });

    Here is how I am randomizing some components in case I need something here. I know there is a way to reduce the script, I just don't know it.

    const sampleMapsRAN = Sampler.getSampleMapList(); inline function onShuffleSamplebtn1Control(component, value) { if (value) { local index = Math.randInt(0, sampleMapsRAN.length); local sampleMap = sampleMapsRAN[index]; Sampler1.loadSampleMap(sampleMap); SampleViewer1.setValue(index); SampleName1.setValue(list[index]); } }; Content.getComponent("ShuffleSamplebtn1").setControlCallback(onShuffleSamplebtn1Control);

    Thanks again.

  • Broadcaster & CurveEQ Dropdown

    7
    0 Votes
    7 Posts
    439 Views
    ?

    @iamlamprey Okay there's already a method for it:

    const bc = Engine.createBroadcaster({"component" : "myCoolFloatingTile", "event" : "All Callbacks"}); bc.attachToEqEvents("bc", ["BandAdded", "BandRemoved", "BandSelected"], {"id" : bc}); bc.addListener("", "update something", function(component, value) { Console.print("you just changed an EQ property!"); });
  • Passing a Reference to an Effect?

    Solved
    5
    0 Votes
    5 Posts
    203 Views
    C

    @d-healey Thank you, Dave.

  • Channel Routing with a Few Lines of Code

    1
    0 Votes
    1 Posts
    404 Views
    No one has replied
  • Best Practices to Parse OSC information based on the address

    1
    0 Votes
    1 Posts
    304 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Can we get DAW information using the API?

    1
    0 Votes
    1 Posts
    128 Views
    No one has replied
  • onNoteOn: Engage multiple MIDI events

    5
    0 Votes
    5 Posts
    598 Views
    trillbillyT

    @d-healey said in onNoteOn: Engage multiple MIDI events:

    HiseSnipp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knIYuKo9a+t5yUCSsA64iHUZHjUtIS9bLLZ7q3wMV+h9bCUi0wvko55WhG2wwEZKwFS5FVo.Y+FN8puE+mfrfadrySs+SqGNraW94QyX1k65EpPanoGVeQLd.EwNMcftrgtJyvAHxhKWL.b5HijmLSNQZr67Il+cM+3t+3KSgyVZhMZw87cgFhQfKVxEYiO.qwh7yITmt6bKoP52WJ31YaccLnRRQYr8bcncTJ7CSRo7v5GCt.Kaa3ut9qv1mr.LNAyYr31+4B4lu9JZr4ZpQyL+3cryheZO14wxgJtnWKFVDpgHvdfV3zd1.d5BA1zSiVTPi2Gut5DzCKP3Ds3OweILqoWajvr1Dly6nsatXz17Fsk9Obz1iFAAi3vaR+nzpeJOtasEi6tXb26Fi619C+3tKOOi6dii+sXVzOBlEcyEyhtXVz+2OK5+EmgGyNPdpcLTutN8yhnf9sH5eTpDskdsYsK2ffnQ93mZaO8VcEE2bdU7alWEe77p3SlWEe57p3ylWE+1aVQ8Xt6LTI8huZRHsZ2HpirgQCACqxitQP9KPdFlyA

    Ahhh, ok I see now. Thank you and best!

25

Online

2.2k

Users

13.4k

Topics

116.2k

Posts