HISE Logo Forum
    • Categories
    • Register
    • Login

    Getting sample rate of the daw

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 169 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.
    • FortuneF
      Fortune
      last edited by

      Can we get the sampling rateof the daw and use it in if / else statement? For example:

      if the sampling rate is below 44100 ----> do something

      if the sampling rate is between 44100 and 96000 ----> do something

      if the sampling rate is above 96000 ----> do something

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @Fortune
        last edited by

        @Fortune
        https://docs.hise.audio/scripting/scripting-api/engine/index.html#getsamplerate
        https://forum.hise.audio/topic/2652/scriptnode-oversample-node-starting-at-4x-crashes-in-pc/36

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

        FortuneF 1 Reply Last reply Reply Quote 1
        • FortuneF
          Fortune @ustk
          last edited by

          @ustk Thank you very much 🙏

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

          30

          Online

          1.8k

          Users

          12.0k

          Topics

          104.4k

          Posts