Forum

    • Register
    • Login
    • Search
    • Categories

    SNEX reference sample rate?

    Scripting Forum
    4
    5
    99
    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.
    • iamlamprey
      iamlamprey 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

      Music - Instruments

      ustk 1 Reply Last reply Reply Quote 0
      • Christoph Hart
        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.

        LightandSound 1 Reply Last reply Reply Quote 2
        • ustk
          ustk @iamlamprey last edited by

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

          Tired to press F5 in the forum...
          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

          1 Reply Last reply Reply Quote 1
          • iamlamprey
            iamlamprey last edited by

            ok thanks dudes, excited to see snex 2.0 😉

            Music - Instruments

            1 Reply Last reply Reply Quote 0
            • LightandSound
              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

              18
              Online

              794
              Users

              5.5k
              Topics

              51.6k
              Posts