HISE Logo Forum
    • Categories
    • Register
    • Login

    Bug: RootNote?

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 324 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.
    • MikeBM
      MikeB
      last edited by MikeB

      I have a sample (Bass C3)!
      When I load it with:

      Synth.getAudioSampleProcessor("Audio Loop Player_S1").setFile("{PROJECT_FOLDER}"+Instrument_S1[InstrumentID_S1] +"/"+sorted[InstrumentID_S1][VariationID_S1]);

      into the AudioLoopPlayer, the RootNote is automatically set to 24 and the sound is much too high.

      Out of 50 samples that I load (all C3), there are always some that are loaded with completely wrong RootNote settings...!

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @MikeB
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • MikeBM
          MikeB
          last edited by

          Maybe the error has been found.

          When the user loads a sample via the knob, it takes a few milliseconds depending on the sample size. But if the user has already selected more, the audio player gets confused - it cannot set the correct root note and gets stuck at 24 or 32, for example.

          There should be a delay between selecting the sample and playing it so that the audio loop player can follow.

          Is there a possibility of a simple delay between two calls?

          "One hour of trial and error can save 10 minutes of reading the manual."
          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @MikeB
            last edited by

            @MikeB maybe look at the sample loaded callback?

            HISE Development for hire.
            www.channelrobot.com

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

            31

            Online

            1.7k

            Users

            11.8k

            Topics

            102.8k

            Posts