Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: using a power in teensy gui.

  1. #1
    Junior Member
    Join Date
    May 2020
    Posts
    11

    using a power in teensy gui.

    I am trying to implement portamento to a synthesizer, the formula for doing so is (interpolating value) ^ ((semitone difference)/12). I am trying to use this with the waveformMod node and using an envelope to generate the interpolating value (between 0 and 1). However, i can't find a way to use a power within the gui. Is there a way that i could a) read the value from the envelope, use a power on it in my code, then use it to control the amplitude of a dc or b)use a power within the ui and then plug straight into waveformMod.

  2. #2
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    172
    pow(base, exponent)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •