Another typo: In juce_Oscillator.h
/**
Applies a gain to audio samples as single samples or AudioBlocks.
*/
template <typename SampleType>
class Oscillator
{...
Having pointed this out, I must say that I really like the new additions; especially AudiBlock and the ProcessorChain ideas.
IvanC
42
Thanks to everybody for the comments and the typos reports !
With the new fast-math approximations, are the domains inclusive or exclusive? Will they throw me NaN
or inf
for tan (0.5 * float_Pi
)?
But also, thank you immensely for mentioning the valid domains in the comments… I’ve been burned in the past with some fast-trig implementations.
IvanC
44
The domain are inclusive, it should be added in the documentation And you’ll get more or less random values outside I would say…
I’ll do some nice curves original vs approximated as well at some point.
1 Like