• Memory persistence

    7
    0 Votes
    7 Posts
    813 Views
    T

    @Christoph-Hart is it possible to routinely clear the plug-in memory usage without clearing the preset data? I see the method

    Engine.getMemoryUsage()

    Is there a way to use this to set a max threshold for memory usage?

  • How to control instrument volume with MPE?

    Solved
    12
    0 Votes
    12 Posts
    1k Views
    d.healeyD

    @bendurso Use the global modulators system. You add one MPE modulator in the global mods container and then assign this to the gain of each sampler.

  • Making a Rectangular Selection Tool

    3
    0 Votes
    3 Posts
    333 Views
    ustkU

    @ericchesek I call b.changed() in the mouseCB making it fire at each drag movement which is bad. The button callback should be called when mouse is released, or using a check to see if the button state changed so the CB doesn't trigger constantly...

    pnl.setMouseCallback(function(event) { if (event.clicked) this.data.startPos = {x:event.x, y:event.y}; if (event.drag) { this.data.isSelecting = true; this.data.currPos = {x:event.x, y:event.y}; this.data.p.clear(); this.data.p.startNewSubPath(this.data.startPos.x, this.data.startPos.y); this.data.p.lineTo(this.data.currPos.x, this.data.startPos.y); this.data.p.lineTo(this.data.currPos.x, this.data.currPos.y); this.data.p.lineTo(this.data.startPos.x, this.data.currPos.y); this.data.p.closeSubPath(); } if (this.data.isSelecting) updateButtons(event.mouseUp); if (event.mouseUp) this.data.isSelecting = false; this.repaint(); }); inline function updateButtons(isRelease) { for (b in btns) { // just an imaginary line in the middle of the button representing its position local buttonLineStart = [b.getGlobalPositionX(), b.getGlobalPositionY() + b.getHeight()/2]; local buttonLineEnd = [b.getGlobalPositionX() + b.getWidth(), b.getGlobalPositionY() + b.getHeight()/2]; local isIntersecting = this.data.p.getIntersection(buttonLineStart, buttonLineEnd, true); b.setValue(isIntersecting != false); if (isRelease) b.changed(); } }
  • Linking Ambisonics Code

    7
    0 Votes
    7 Posts
    364 Views
    C

    @DabDab

    This stuff is great—I've used it in MAX—

    https://www.zhdk.ch/en/research/icst/software-downloads-5379

    Here's a more general-purpose page from the same organization:

    https://ambisonics.ch

    I've emailed the project maintainer to ask about a Faust implementation.

    Cheers,

    Bill

  • Engine.saveUserPreset(value) in any dir?

    6
    0 Votes
    6 Posts
    339 Views
    A

    @d-healey Thank you!

  • Making a fake stereo effect

    5
    0 Votes
    5 Posts
    870 Views
    d.healeyD

    @Soundavid Thanks, I'll give it a try

  • How to use the pitch mod node?

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    d.healeyD

    @Christoph-Hart Thanks!

  • Can't read from JSON

    1
    0 Votes
    1 Posts
    114 Views
    No one has replied
  • Macro assignments SaveInPresets

    17
    0 Votes
    17 Posts
    849 Views
    Adam_GA

    @Christoph-Hart confirming macros fixed, thank you again

  • Object in JSON to Object in HISE

    6
    0 Votes
    6 Posts
    280 Views
    CasmatC

    @d-healey got it fixed! I fell victim to HISEing fatigue 😲

  • Array.concat()

    6
    0 Votes
    6 Posts
    281 Views
    CasmatC

    @d-healey @ulrik amazing haha!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • getExpansionForInstallPackage()

    15
    0 Votes
    15 Posts
    488 Views
    CasmatC

    @d-healey haha! Found it! silly me😛 sorry for the hassle!

  • Run Script In Expansion

    42
    0 Votes
    42 Posts
    2k Views
    CasmatC

    @d-healey thanks so much!

  • popup items outside compiled plugin

    1
    1 Votes
    1 Posts
    111 Views
    No one has replied
  • Loading For SampleMaps

    5
    0 Votes
    5 Posts
    270 Views
    CasmatC

    @d-healey Ahh, i see! I tried finding it in the docs, but I can only find two functions on getting messages and progress on the preload. Where can I find more info on how to implement this or any example which utilizes this form of callback?

    Edit: Nice, just saw your edit! Will take a look at it!

  • Regex String Not Working

    4
    0 Votes
    4 Posts
    243 Views
    CasmatC

    @ulrik @Christoph-Hart Thanks! Both work amazing! The trim() function was exactly what I was looking for! I had thought it cut out all whitespace characters, not just the start and end! Thanks for helping!

  • Callback when preset saved??

    22
    0 Votes
    22 Posts
    3k Views
    d.healeyD

    Ah I see the problem. Do we want to sendNotification here?

  • samplemap / combobox script for 2 comboboxes

    21
    0 Votes
    21 Posts
    2k Views
    ulrikU

    @ulrik this is your combobox components

    const var CmbSampleMap12 = [Content.getComponent("ComboBox1"), Content.getComponent("ComboBox2")];
  • Finding Names in Objects

    11
    0 Votes
    11 Posts
    583 Views
    CasmatC

    @d-healey Ok, just retried it all from scratch and now it works. I guess my eyes were playing tricks on me the whole time haha. I had thought for some reason that when you push each of the objects inside an object into an array, the objects would be inside the array, but apparently, when the push function is used, the object's name is converted to a sting. Sorry for the major confusion!

    HiseSnippet 1001.3ocsV01aaaCDlzwZnVaYXsn66B5S1.YF18sMzfg4FGmAi033MmELfstNFoyVrlhTfhJoFCAX+c1+t8OX6njeQtwoHwqUeR2KO7d3Qd2wgZU.jlpzDZsSmk.D5m4LZlzD0Mhwkj9GRn65bFnS6FAASAM4fYIrzTHjPo678VWn0pRx+9mu6.lfICfUpHjyT7.3k7XtYk1gc9AtPbDKDNkGWx6mzoefR1UITYHc1woEIgELkMAFvrtUwgP+jdgbiROxvLPJgV8.U3rQQpKkE9eFOket.rBsIivEpP8QJQnkwVsjtQbQ3vEa6TBtJCWkD1oHI7Pmi4g7k5WkL9hbCdqPTNePqrN81YM50tL8ZUhdafRzRTpZAktuyn.MOwrxhkOepSeoAziYXZuLUJ7kT4uq5zUgdHMMiYSgiznvRD0eVqV648zVsZr+tttZXhmfMCzHV.jmb9af.i22549mt07egP3+bO2Z3+07Ofqj7.uiU5jH+miZrZq4ykoFcVLFKzU+A7IQFuStT3iFuZOKtALC+BXANuaOvghL7xW3cOhmBolBTdsuQb8dKKNQ.aD0i1JTO9VgxMGn+PVn08+WY1679bdr6Fozqh9Ve9bmSXK151y0kg+Cwo7sNy6d09ttX6FD4ELs2EIly3vkIJs8J+hRlIfoqJNQIQg59k7wuw940KnpWZKYNkMouAhSQr+5qvEdrRWeJLyiKudIUCaA06BrYRVZjEBtvVlcM6XAuAOexzLQ8FENrfLMSAjcbqa96cMJ07MJtrt+uI8aXwMNSFXvaYdJ4.kANQVOmOtW458tlFOdi1rIGsRH.8FMa6oqee.qKyhOGzHSYhLXoiXit06d5bycOK2bOn3rpjiJYeI2bRBHuoV9j4Gv1NsyYE5pIuO6Cl2mEBWjeI7P6TvRYbRN0KMmqC4m6eHyvVrf3ZiwKAzFtcqPODt.mCVzHulygP5TiJI2242tHz6cGB+aWF5N+QmYKE9qerSVJNsMEWNZk7KDD5W5f8tcyKzcwVMt4UYjK4glHLGS+bJgDA1ZJqzuSsymu1rGbpmJLSvLqOJzN+etA7Dds4O1YLxTtYV42G7Aa93skh22YH2DDsYNVYCbDO+9Xvw4upXWmdiGic.VQvpNG8KebdBA4mTYFtbxwLili2WbFjEOBeXU.fQWJAgsBiVwVKTH2xJay.i.YXtv+heyM11JSmar8BijXVfV85fhJH66VtWtFjSx7mrUy4XqrW6EELNNsZ1hDiOg50AA1s+WgkmaFyi1BLOdKv7js.yS2BLOaKv70aAlu48hw950WjYTwEkCnhg8xabQo8jL7lU9sPx+ALoELMI

    Thanks for your help!

18

Online

2.0k

Users

12.9k

Topics

111.7k

Posts