• Simultaneous Background tasks and function parameters

    2
    1 Votes
    2 Posts
    90 Views
    ustkU

    Having a hard time debugging a current project, I realised we cannot always trust the console.
    Look at the order of execution between the console versus what the log variable says

    HiseSnippet 1144.3ocwVstaaaCElxIpXxaqXEXO.D4WxnYN1ZscCHqXI9VgwZbLhcJJPwPAiDsEQjHEnnapwP.1i2db1av1gTx1R1ttYFnX5GF9bi766bH44LTJ7oooBIxxY77DJx5arGMmqBaGRXbT+NHqGaeAIUQk3LUslmPRSoAHKqCdkVgkygHy2e+qsHQDtOckJD5MBlO80rXlZk1gm8arnndj.5XVbAue1Y88E71hHwL.OGX2.kP7ukLkNfncqhMx5QcCXJgbjhnnoHqCaIBlOJTbGOy+2vRY2DQ0BMQifEJScOQTfFwZsn1grnfgK3cJBVkgqxBGjkE9d6KXArk5WkM9NiA7pHJlOrpTFdGTBdM+TvaKPxp.jNLCROwdjujknVYQimu1tOGJNSHPZuHTx7EUA8H61BvCtpdL4VZOIHrLB2WznwwX3mZmVE7JUDQq6GQIRWPQUnVjpvefHwsd03l3Wh6xmx3fGRJPuVPoYpTLiGLljdqq1EHnRw384iwqTLct9pyG2+xAPbMaX9JAiHwTvx69cP4ImfGM97qFiac83wWNnJiGAaCdxLtuhI3XAu0LkRvapIuTD45KhSDbHMbLrTQyn0p9GUcXSvt4RNfnCrAq3uiyhTRhjwUtGAUUoB27HiMsqIyRCWSsNMT2mDEcIu.YCA1GXRQ8xAn146qdOvjEUmoTU6EXz8nbzeTs5oZ8FNzFV1afE0ccxoKV5LRuqGzVm9FsQ5n3VmUpzzeM90DanBMvPkUDrr9pNSDRrK6kMNk8KKJXmxd5SqYxJ.2wDnJcAQEVOQbmq4ORBOPD6V6XbIwZ3SJqvr9a.qNPRYCLsP48.22Bc8JRWusQWuOAc89+ktdaitdknqtVCrB2tUZUyAN3LROFmkFt7HxhTgKKMyBM3X7cjz152mihnAKO+uxg7KAaj9KtDYG18V+NvNbRm92wMBu0tQXNKah4KIo7Jf204xF1Vfpc9U3kmABE8RtqALP8ButoIS1ps7KyQT4VMqaUJ2Uft7Yw2PkEeeS6Hz+nbSoG8vZJ4m8tTAGE79bl5xDZt7t6phxeXS2LKGgfqJSqrGm2JK6YLDCVDG672zPF3WbDBz086PTjEKDrlv9jPkJllNVcne.FwHqGoicGZ5sJQhw27WSA0Ofs8iK2x+7cmMeovYzytiEnBQV1VRKDJjxlFpzR+EXUQ+nxzY1zKp6a619Z86CHV5EhXXqIRXkrpP4DHCqGb30PyEtt+LZyF7vnEhfYQDU44MzCYka.p2kZxqajySYp4EGB6+vPHM14PHOTH9D6gLke31wXksfQnR9k.i4it8s1cmLg5qVAvCs6818cNsOy1ekXlhwmBupKYvIH6AyhGASu5SgcmyoQo5SJUz2Fxjank0YfQTdfQ3efubiM0xV4FatvHJl3KEu2O6Njd3vuxnAvD2LWrCLfNHiWd0w1tQ8FnX3316880z+GfKnaOFu8HlebOh4Y6QLOeOh4E6QL+zdDyOuyXz2zOelRDmcc.TLrq4ILKqtlmBLmBQ+KHXWxM.
  • Reset sliders and knobs

    3
    0 Votes
    3 Posts
    127 Views
    R

    @d-healey said in Reset sliders and knobs:

    You can use the .setValue() function to set the value of a control. And you can use .changed() to trigger its callback after you've set its value. There is also the .get() function which can be used to retrieve a control's property, such as its defaultValue.

    Put this all together and you get something like:

    local defaultValue = myControl.get("defaultValue"); myControl.setValue(defaultValue); myControl.changed();

    You will probably want to put this inside an inline function. And you'll want to use a loop to go over all of your controls in one go so you don't need to write it out one by one.

    That's fantastic David and was exactly what I was looking for - thankyou.
    I will look at implementing this into my project this weekend

    Thanks again

  • ARP Latch Mode?

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

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Standalone Export

    2
    0 Votes
    2 Posts
    229 Views
    pluginboiP

    @pluginboi figured it out right after I posted lol

    if anyone is looking to do this in the future. Just compile plugin as vst but then open the auto generated projucer and select standalone. And compile that. Standalone will then process audio input.

    Sorta hacky but works for what I was trying to do.

  • Loading Bar

    4
    0 Votes
    4 Posts
    125 Views
    d.healeyD

    Maybe you've found a bug, as far as I know Engine.getPreloadProgress() should always return a value between 0 and 1.

  • Midi in for FX or Audio in for Instrument ?

    14
    0 Votes
    14 Posts
    690 Views
    hisefiloH

    @ulrik Thanks mate!!! this works. I confirm MIDI is being received with this snippet!!!! thanks a lot.

    [image: screenshot of Reaper UI showing your snippet compiled showing Note Off: 60 ]
    :p
    I still trying to get audio and MIDI on the same channel on real time but no luck. Will report I get this working.

  • Keyboard to display only active keys?

    22
    0 Votes
    22 Posts
    1k Views
    D

    @Christoph-Hart @d-healey This is what we went with in the end! thanks for all your help guys i really appreciate it :)

  • Regex for file extensions

    4
    0 Votes
    4 Posts
    324 Views
    ustkU

    @d-healey Oh thanks it is very recent what you asked... I did search but haven't found this thread...

  • Bounce Audio Sample

    5
    0 Votes
    5 Posts
    171 Views
    oskarshO

    @Christoph-Hart Awesome thanks alot, will try!

  • The Italian Job.....a utility

    3
    5 Votes
    3 Posts
    157 Views
    LindonL

    @Christoph-Hart great two idiots one thought,same day then...well done. I will use this more comprehensive approach from here on.....

    ..could you also build the other stuff I've been thinking about, e.g. a new comprehensive arpeggiator , a metadata based expansion system, a sequencer, a coffee maker...what? No?

  • Hise project crushes on start after scriptnode compile

    5
    0 Votes
    5 Posts
    395 Views
    andrei sA

    @d-healey Thank you as always!
    The reason was that I renamed the scriptnode fx module before compiling, but the name didn't change in the xml file.

  • Need "All Tracks" option in the MIDI player

    6
    0 Votes
    6 Posts
    262 Views
    gorangroovesG

    @ulrik Thank you! We'll have a look at that.

  • soft bypass parameter range ?

    1
    0 Votes
    1 Posts
    113 Views
    No one has replied
  • loadFromXmlFile()

    7
    0 Votes
    7 Posts
    280 Views
    Christoph HartC

    Lol just use one of those:

    Link Preview Image Free Online XML to JSON Converter - FreeFormatter.com

    This free online tool lets you convert an XML file into a JSON file with your choice of indentation

    favicon

    (www.freeformatter.com)

  • Building HISE on an Early 2015 MacBookPro

    7
    0 Votes
    7 Posts
    506 Views
    FrankbeatF

    @Glyn Oh yeah, that's what I would have suggested first – watch David's video on that. That will guide you pretty well through this process.
    And what's important too (maybe David even says that in the video): Make sure you get the appropriate XCode Version for your machine/system. I'm running Mojave 10.14.6 with XCode 10.3. But it might be a different version for yours. You can read details for each version on the version history archive: https://xcodereleases.com/

  • Audio Loop Player - filebrowser in compiled plugin / Linux

    3
    0 Votes
    3 Posts
    309 Views
    toxonicT

    @d-healey Thank you for your superfast reply. :-)
    I don't know what I have done wrong, I just recompiled it again, but this time I didn't use the autogenerated batch file, but just resaved the juce file manually after making sure, the flag was put inside the preprocessor definitions and now it works fine! :man_facepalming_medium-light_skin_tone:
    Thank you anyway! ;-)

  • Token parser only shows max 7 tokens

    1
    0 Votes
    1 Posts
    204 Views
    No one has replied
  • Sampler tempo sync

    4
    3 Votes
    4 Posts
    457 Views
    modularsamplesM

    Also worth mentioning (if only 'cos it doesn't seem to have been talked about round here) is the file players signal_in mode. When active, the sample is triggered by and derives its pitch from an incoming audio signal. For this kind of thing a clocked ramp works best.

    HiseSnippet 1478.3oc4X0raabCDlqsnRjqcaRPPQNtG5AGTWqeZ9qnGhjskZEhksfWG2dn.Fz6RIQncI2xkqsUK5SPOza84onOA8QIG581g6Od20VV1RHMoEUFvPbFNjebl4a3P0WJroAABIxnxgS7oHiUwVS3pQaOhv3nt6fL9PbORfhJMiEs0DeRP.0AYXr7WoEXToDJ5yad4VDWB2llIBgNRvro6x7XpLo8a9JlqaGhC8PlWtY+jlcsE7sEthP.OKiqg7I1iICo6QzSaILxnbaGlRHsTDEM.YTZKgyDqQhy3wy+HV.6DWpdPcjErPwh6HbczHVKEs8HlqS+zyc.BYf6m4EVN1K7PbOlC6B4Ydi6EovLyh79CikJBukK.u5WG7lBjLxAoRwP59XKaIyWkoQimO.2kCAmADvsmGJwyEY7a3sEvD3pM8HiocjvfKLX8mUq1Flv+d7WNHjaqXBtofumPQ2mu9iW4GWoxJ+zJlW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Y.QumAU2idlYziPkleCSMxrqh5ETUvLGJIbGhS0LzTcWgvOn5IRJY7lmQNEkEQzmxrXA13U+78PE40kxEJwYFh0ktyaJtALNKDhw0gww+BP8Ae6IPuU2btxL2f5WyFTFZ0VcCKborEtLtQwU9tffZ0RVrOBefPn5HoeeHbywjrU8S+teYqe82Gecr6axe7wZ809h3OO+4O6IunwSeQijeDF81cfNZW3P7mPM1WdoRa4qxmOLUPSTSu5QSzkwiHqcCNRq0NqZAbm4VBwXORzM0K1OSw6h9J7H1Rww1wOEUe3tajDH0kG865UA2SO1rN5z7QBO3sfGaamv4PS2lFKfMe9BXySV.ad5BXyyV.ad9BXyKloM5mgmj1paaCDzucbwNi1bBzwZbt7e2EMrCJ
  • Comp Reduction Question

    6
    0 Votes
    6 Posts
    419 Views
    resonantR

    @Soundavid I'll try this, thanks!

28

Online

1.6k

Users

11.2k

Topics

97.8k

Posts