korginc / logue-sdk

This repository contains all the files and tools needed to build custom oscillators and effects for the prologue synthesizer.
BSD 3-Clause "New" or "Revised" License
835 stars 306 forks source link

Question: what is the range of the value parameter for effects? #41

Closed schollz closed 4 years ago

schollz commented 4 years ago

I have a simple question: in the following code what is the range of the value of valf? Is it [-1,1] or is it [0,1]?

void DELFX_PARAM(uint8_t index, int32_t value)
{
  const float valf = q31_to_f32(value);
// range of valf = ??

...

Thanks for any help!

hammondeggs commented 4 years ago

valf is the knob position as a float from 0 to 1.

schollz commented 4 years ago

Thanks!