• 0 Votes
    5 Posts
    1k Views
    soundsyncS

    @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
    541 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
    264 Views
    C

    @d-healey Thank you, Dave.

  • Channel Routing with a Few Lines of Code

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

    1
    0 Votes
    1 Posts
    359 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
    143 Views
    No one has replied
  • onNoteOn: Engage multiple MIDI events

    5
    0 Votes
    5 Posts
    715 Views
    soundsyncS

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

    HiseSnippet 1232.3oc6YstaaaCElxNLX1YMXsnXX+TnX+vAHHvNqWFPPPct3TXz5DuH2r8u.FoisIrDolDsa7F1qwdcVA1KvdT5av1gRxQxIZINdcqoc1+PP7bg7biemifaGHsgvPY.wnTmw9.w3yoViEp960mwEjl6SLVk1hEpf.yXR6N1mEFBNDCihuPSvnzRjneu646xbYBaHkDgbhjaCuh6wUoTaW+kbW2CXNPGtWFoeb8l1RwdRW4PzdJRqR7Y1CX8fCYZwJPIFK2vgqjAVJlBBQY1U5L1pu7MhX4OgGxOyEzKpQrvMJlLYu9bWm1S70PBtQsS87hwd9Cos3N7KnmFA9hHFloZjMFXT35LoZ2BSxHiIsTrIcepkc.2WkxQaOqPaJvDRWFFpyZJwxRLdKcOIJfPsgGa.bP.t3BEp7zpUW2Der1VcGJrUbovTJNTpfiDUVq7OWtT4eor4kY0sat7zGSfz0EBxksN6FbcJVQLz6LHXcyQL2gvEBht+zwzkmsXpcrWmQPonofqNxGRVefz0QGqzue0L.IIrgu85l6yTLcRIgFJmODn3ZywXeXDVUGmhJQ2GBGnj9Xc8UxeXkizYnKSMc4j9dSBCLdLUNTmnDgb03r2qtE0XUu1ZrY0DuOsMWY2OearPN1HFo92vFStYdOZitcAaUpAtD8feXduFN6G+pwG+JTKt.hfEiN7uLZs42yFAlu.DPfN3U6ZPF+iYEYzelQFOxVgGem.lHzWFN0FaAd7NRgNJjR70gHP.7iGqylYoumjEjKq287CPmLWcrXpgAQkE63IGJTSUFTb57vRy1U2ouQjQ9bvIW5C.zc02SP22iJP7TKPgvwUyC7tvuaPwTcnxbf3rNA7d8vNuaaNAPm437Rg7rJOJg0iV2DgyQv7xohuQHnNlI5AUPV017Y3Cje4K1UMhddaolNte0dR5NpIk6182z6f20rRKzawd1azCTZVGFAwWYMys2NiKo4dhFzuxZqUtToI5DNkNSLfLxtU4RfaHjQEdOgL.ZLBckJp.rKxV2AafQee0.65ZZYTHwpPQUQ0fqlTCZ4xcf.BGKzVlpiGjH6M8d6g0IyftknIYuKo9a+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!

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Interface: Skipping changed() callback during onInit

    Solved
    13
    0 Votes
    13 Posts
    714 Views
    C

    @aaronventure Thank you - did not know that!

  • Regex < > Not Working

    29
    0 Votes
    29 Posts
    2k Views
    Dan KorneffD

    @d-healey omg.... [0-9A-F] is limiting the character to A-F. Obviously I want A-Z.

  • MacOS Compile Error

    2
    0 Votes
    2 Posts
    391 Views
    David HealeyD

    @Casmat search the forum, that one's come up several times

  • Does the Order of Declaring Identifiers (Variables, Functions, etc.) Matter?

    Solved
    7
    0 Votes
    7 Posts
    402 Views
    C

    @d-healey Thank you for taking the time to clarify all this - cheers.

  • Preset Browser Popup

    6
    0 Votes
    6 Posts
    446 Views
    M

    @d-healey damn, I only looked at the preset browser and the panel

  • Selecting sound layer via Combobox

    8
    0 Votes
    8 Posts
    896 Views
    David HealeyD

    By the way, you could also use groups to separate your different sounds and have the menu set the active group.

  • Message.delayEvent() for humanization/chord strumming

    3
    0 Votes
    3 Posts
    365 Views
    Christoph HartC

    Not sure what you're doing wrong, but the Synth.setFixNoteOnAfterNoteOff() is precisely for this use case and should work like in this example that delays note ons by a second and prevents hanging notes if you press the key shorter than a second.

    HiseSnippet 910.3oc2V0saaaCElx1pX1cqncnnnWJLrKbAJJraS6FvtnIwwtvX0IFQo+bWAC0QwDghTihxsFE6cbOJ8MX6PJ6JoFiTGitUr5KLz4OxOdNemC4TshAYYJMwq8IKRAh226GtPZlMXFkKIiOf3cC+IzLCnCJTs+hTZVFDQ77Z9LqBu1sHtee3o6SETICJUQHuTwYvy4IbSo1o696bgXDMBNgmTw6c1cLSIGnDpbDOM86QRoryomAGRst0vm3csgQbiRGZnFHC8YeUzhvYp2JK7+k7L9oBvJzmDhKTgZxfYbQzzUm0LBwyeZ4IuYwI+19S3Q7OpuLCbSmgfxHplC7ZbYPp+U.RdUfTqBHcK+PllmZJsXwy08GKwBRLES0UgRgujF+jm+.E5gz7fD54vHMJ7wH59jd8te.9289sNtJ8ChfXPOfJDmhY6rtwTQFfF6rzbFXFwe2gJCbjbuXbUbeFG20nys9EmKYFtRFnjEN08dcdem1SP7hkNb0EzECmifo6N6z2sss67mcB9zvvEzE2mXydPzJg.zq0rk.our.6JySNEz2OXNUfvckiXFtdY6ZaVYiUjWq3nRNVxMGkBKkGoDQ1xg86KVjIKKL3WuX7ATC0V2WpC8KEzFtENdG.ywFmBVPa+CfryMpTr04BTDjbphxETScFqs0boALeTilXoBxLtYQ0V2q.Mt2kRi2THdK+obCa15wXi0fQLS8uAFW17+C9CiiAloDfs7G85ssSey29aTr8W2OjKAWCmayuiSN3Uz4Pvy.InsIu9Wxv2+ZSG9ltwCeOhYvs+DMUlkpxpsvgPB+DkzlEJU9hLbTC7GGaqlU0OPQ0q0zGd5H7Pt1XBolbsiVrWhJWZpQCZVuNzZyZcq2QTw+0LJt0WgaG9xzV8Uryu1EXsWgwPdRp.FJmCBb7lCi+HNOKllKLqzVmXOQIUoyTRNqZU+Xvn4mcFnqh80df1yXvKxJ0b6cOFD.sJC9m284Hyipw7Drk4hq9k4qsdcW+B3FX6FC9+6D6leaOw9XUtgKOaBEIguCe83g4Ig3fRFf6tTBBbw88ZXG1UH2yJWLoTF4D9a72Ri8sxdKM1ekw+S1iDJSqdCq3sQVd524zfmao6M1swG6ixA8It2KUsVlfS4dCiUeotPfObaC7Qaaf6rsA93sMvmrsA9Kaaf+5mOP6kP6kaTIEslDxjoCcOvzyanjhrbWGA4e.vLdxN.
  • What Does ProcessInput Do on the Convolution Reverb?

    Solved
    3
    0 Votes
    3 Posts
    236 Views
    C

    @d-healey Thanks, man!

  • Function Pointers for Fun and Profit?

    Solved
    5
    0 Votes
    5 Posts
    311 Views
    C

    @Lindon Very cool - thanks, man!

  • Limits on Recursion?

    Solved
    3
    0 Votes
    3 Posts
    214 Views
    C

    @oskarsh Thank you - that makes sense. This simplifies my code immensely.

    I was thinking that a lot of recursion - like a recursive descent parser - would be too much. I know there are some error messages that HISE throws to protect against recursion (which is a good thing), but apparently doing it one layer deep is cool.

  • Size of XYPad Ellipses

    4
    1 Votes
    4 Posts
    552 Views
    David HealeyD

    @meto396 You'll need to ask the original script's author about that, I'm not familiar with what it does or how it works.

16

Online

2.4k

Users

13.8k

Topics

120.4k

Posts