float lfoAmplitudeMapped = map(lfoAmount, 0, 1023, 0, 1);
The map function only uses integers and returns an integer so the only possible values that this can return are zero or one.
Similarly, in this one
float lfoSpeedMapped = map(lfoSpeed, 0, 1023, .4, 40);
the map function will see the...