HISE Logo Forum
    • Categories
    • Register
    • Login

    Anyone successfully added or edited a module yet?

    Scheduled Pinned Locked Moved Scripting
    2 Posts 1 Posters 391 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by A Former User

      I just cannot wrap my head around it. I'm trying to add a new slider to the Sine Wave generator and I'm just getting a bajillion compile errors, despite copying the original formatting exactly.

      6da6d9eb-44a2-412b-b191-fc00164b8e28-image.png

      I guess I've missed a file somewhere when setting up the custom slider? I've added it in the SineSynth.cpp, SineSynth.h, SineSynthBody.cpp, SineSynthBody.h.

      My brain hurts 😞

      im dumb.zip

      Edit: There's a semicolon instead of a colon in one of the files, but I've since fixed it and still same errors occur (mostly saying customFrequency is an undeclared identifier).

      Edit #2: Found ModulatorSynth.cpp and assume this has something to do with adding/modifying modules? Bleh

      1 Reply Last reply Reply Quote 1
      • ?
        A Former User
        last edited by

        Ok trying an alternative method by just duplicating the source and editing the original files.

        SemiTones slider now ranges from 20-20000 and I can reference it properly in a script, but now there's no output.

        If I manually set the float cyclesPerSecond it works (obviously), but if I replace that value with the semiTones it just outputs nothing...

        im less dumb.zip

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        17

        Online

        1.8k

        Users

        12.1k

        Topics

        105.4k

        Posts