• Finding Names in Objects

    11
    0 Votes
    11 Posts
    490 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!

  • SVG Image tracing

    10
    0 Votes
    10 Posts
    904 Views
    ustkU

    @TNTHM Nope, it's uses the SVG parser from Juce and applies a Base64 conversion.
    Then the object is reconverted to a path before drawing
    The number at the beginning is inherent to any Base64 conversion, it appears in snippets too.

  • AudioLoop Player/Granulator File Handling

    20
    0 Votes
    20 Posts
    2k Views
    Adam_GA

    @ustk actually @d-healey just helped me see my error :D i was calling the scriptfx as an effect as well as audiosampleprocessor. thank you good sirs for all the help

  • Save Preset in Path

    8
    0 Votes
    8 Posts
    715 Views
    CasmatC

    @Jay Using this:

    Engine.saveUserPreset(folderUser.toString(File.FullPath) + "/" + saveTextField);

    folderUser is one of my subfolders in the UserPresets folder, then the to string converts that path to the full path and the saveTextField is the string the user entered as the name they want to save. Hope this helps!

  • FindFiles to Array with Strings

    2
    0 Votes
    2 Posts
    128 Views
    d.healeyD

    @Casmat You need to use item.NoExtension

  • Help with scripting

    16
    0 Votes
    16 Posts
    1k Views
    LindonL

    @d-healey said in Help with scripting:

    @Lindon I didn't see that function in the API browser for viewports. Does it work?

    0h viewport, sorry I was thinking of ComboBox....

    https://docs.hise.audio/scripting/scripting-api/scriptcombobox/index.html#getitemtext

  • How can I access LFO Modulator1 on Simple Gain1 module

    4
    0 Votes
    4 Posts
    336 Views
  • Granulator Wet/Dry

    13
    0 Votes
    13 Posts
    649 Views
    Christoph HartC

    @Adam_G sure, click on the target icon in the top row to change to assign mode then drag the mix knob to the dry wet knob (you might have to disable assignment mode in the lower one first).

  • Identifying Characters in a String?

    4
    0 Votes
    4 Posts
    229 Views
    CasmatC

    @d-healey haha! got it to work, i love using regex! "\\x5C|\\x2F|\\x3A|\\x2A|\\x3F|\\x22|\\x3C|\\x3E|\\x7C"

  • Timer Questions

    5
    0 Votes
    5 Posts
    365 Views
    CasmatC

    @d-healey Thanks David! Decided to scrap the timer callback due to what you said on updating the entries repeatedly! Did not think of it that way. Now there's three different inline functions for each of the viewports update code, works amazing and the viewport updates whenever clicked on, it it would run the functions whenever a change is made in the browser! I did think about modifying some aspects to fit the browser, but the future integrations/features with the preset browser with other elements and for the most customizability, the default one just seems like it'd be a restriction later on

  • Disable Viewport While Searching Files

    3
    0 Votes
    3 Posts
    207 Views
    CasmatC

    @d-healey 😲 sorry for the silly question!!

  • Filesystem.getFolder() Question!

    3
    0 Votes
    3 Posts
    209 Views
    CasmatC

    @d-healey Thanks! works when used thanks.getChildFile(foldername); where thanks is the variable that uses the Filesystem.getFolder() function!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Unselect Viewport Entry?

    5
    0 Votes
    5 Posts
    238 Views
    CasmatC

    @d-healey Works, thanks!

  • Little help please: Make viewport scroll with keypress

    35
    0 Votes
    35 Posts
    4k Views
    d.healeyD

    @TNTHM This is probably down to the host to give focus to the plugin window

  • Making a Viewport List Folders in UserPresets

    8
    0 Votes
    8 Posts
    371 Views
    CasmatC

    @d-healey What a simple, but effective solution 😁

  • Get Names of Expansion?

    6
    0 Votes
    6 Posts
    256 Views
    CasmatC

    @d-healey Thanks everyone!

  • Custom font not showing

    5
    -1 Votes
    5 Posts
    366 Views
    P

    @Lindon That's it, thanks. For reference this is what I added:

    const var laf = Engine.createGlobalScriptLookAndFeel(); laf.setGlobalFont("AvenirNextFont", 15.0);
  • LAF slider moves when clicked, but not the way I want

    4
    0 Votes
    4 Posts
    138 Views
    d.healeyD

    @ustk said in LAF slider moves when clicked, but not the way I want:

    @d-healey AFAIK you can't. Because the mouse 0-1 is mapped onto the full height while the rectangle travel is full height minus rectangle height, meaning there will always be a "sliding" effect. This is because you can't have the mouse position to play with. So if you really need it this way, you'll have to go with a custom panel

    Thanks for the clear explanation. It explains why I couldn't figure it out :)

    var y = (a[3] - h) * (1 - obj.valueNormalized);

    Oh that's much nicer

  • SliderPack NumberTag LAF

    3
    0 Votes
    3 Posts
    187 Views
    Adam_GA

    @DabDab 🤝 🤝 thank you good sir

26

Online

2.0k

Users

12.8k

Topics

111.0k

Posts