HISE Logo Forum
    • Categories
    • Register
    • Login

    AudioFile Range - Odd Behaviour?

    Scheduled Pinned Locked Moved Unsolved General Questions
    12 Posts 2 Posters 316 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.
    • griffinboyG
      griffinboy @d.healey
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • griffinboyG
        griffinboy @d.healey
        last edited by

        @d-healey

        Thanks for trying, but I wasn't using Sample Length as part of the equation, just sample rate, which shouldn't be changing.

        So I'm not sure about this one.

        The snippet you provided crashes my system, I've been getting crashes with various configurations of .get used on the audioFile.

        Troublesome.

        d.healeyD 1 Reply Last reply Reply Quote 0
        • griffinboyG griffinboy marked this topic as a question on
        • d.healeyD
          d.healey @griffinboy
          last edited by

          @griffinboy sample rate won't give you the length of the file in samples so I don't see how it's useful here

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          griffinboyG 1 Reply Last reply Reply Quote 0
          • griffinboyG
            griffinboy @d.healey
            last edited by griffinboy

            @d-healey

            Ah but sampleRate will give me one second in terms of the audio file!

            I was using that to give the audio a range of one second.
            And then using the knob to scale that second.
            This was to test range-changing in real time.

            And with this I discovered the issue.
            Weirdly it reminds me of the way that you could only scrollwheel a knob backwards but not forwards, some kind of glitch I used to have in Hise.

            griffinboyG 1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @griffinboy
              last edited by

              @griffinboy

              Don't tell me I'm going to have to write a convolver too 😓
              As I am doing with the sampler

              griffinboyG 1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @griffinboy
                last edited by

                @griffinboy

                Womp womp

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @griffinboy
                  last edited by

                  @griffinboy What's wrong with the method I suggested?

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  griffinboyG 1 Reply Last reply Reply Quote 0
                  • griffinboyG
                    griffinboy @d.healey
                    last edited by

                    @d-healey

                    Theoretically it makes sense, but I'm not having trouble with the theory, Hise is just not behaving
                    : (

                    I've had similar issues with the sampler as well.
                    Setting external audio data parameters has been a real hassle. I've not been able to get anything to work properly.

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @griffinboy
                      last edited by

                      @griffinboy I'll try and take a look at it later today if I have a bit of time.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      griffinboyG 1 Reply Last reply Reply Quote 0
                      • griffinboyG
                        griffinboy @d.healey
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • bendursoB bendurso referenced this topic on
                        • First post
                          Last post

                        21

                        Online

                        1.7k

                        Users

                        11.9k

                        Topics

                        103.2k

                        Posts