HISE Logo Forum
    • Categories
    • Register
    • Login

    addPitchFade bug

    Scheduled Pinned Locked Moved Bug Reports
    1 Posts 1 Posters 188 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      I noticed a strange problem with Synth.addPitchFade();.

      This first example works, it changes the pitch by +3 semitones, notice that fine pitch is set to 0.

      local id = Synth.playNote(Message.getNoteNumber(), Message.getVelocity());
      Synth.addPitchFade(id, 0, 3, 0);
      

      This second example doesn't work. No pitch change will be heard, even if Message.getFineDetune() returns 0.

      local id = Synth.playNote(Message.getNoteNumber(), Message.getVelocity());
      Synth.addPitchFade(id, 0, 3, Message.getFineDetune());
      

      Current workaround:

      local c = Message.getCoarseDetune();
      local f = Message.getFineDetune();
      	
      local id = Synth.playNote(Message.getNoteNumber(), Message.getVelocity());
      Synth.addPitchFade(id, 0, c, f);
      

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

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

      55

      Online

      1.7k

      Users

      11.7k

      Topics

      101.9k

      Posts