HISE Logo Forum
    • Categories
    • Register
    • Login

    SNEX reference sample rate?

    Scheduled Pinned Locked Moved Scripting
    5 Posts 4 Posters 317 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

      new to SNEX, how can i get a reference to Sample Rate in the processing callback?

      both Engine.getSampleRate() and e.getSampleRate() don't work

      ustkU 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        It‘s supplied as parameter of the prepare call, but SNEX is currently being rewritten from the ground up so I wouldn‘t use it for anything else than poking around at the moment.

        LightandSoundL 1 Reply Last reply Reply Quote 1
        • ustkU
          ustk @A Former User
          last edited by

          @nytemairqt Here's an example:
          https://docs.hise.audio/scriptnode/manual/snex.html#examples

          Can't help pressing F5 in the forum...

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

            ok thanks dudes, excited to see snex 2.0 ;)

            1 Reply Last reply Reply Quote 0
            • LightandSoundL
              LightandSound @Christoph Hart
              last edited by

              @Christoph-Hart Whelp, good thing I stumbled on this, just put an end to that side project xD

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

              27

              Online

              1.8k

              Users

              12.1k

              Topics

              105.6k

              Posts