Hello everyone!
I’d like to see what is running inside some of the most basic UGens like SinOsc or WhiteNoise and some more complicated extention like PV_Morph, but how can I do it?
In the UGens help I can only find partial information, for example SinOsc’s help refer to:
Source: Osc.sc
but if I try to open the file Osc.sc I can only see:
And that they implement methods from the upperclass PureUGen that points me to Source: UGen.sc but I can’t see anything that let me understand how SinOsc produce sound (the same apply to the other UGens).
The goal of this research is to find out what lies underneath the PV_Morph UGen and try to understand it
Thank you
1 code result in supercollider/supercollider or view all results on GitHub
server/plugins/NoiseUGens.cpp
SC help includes Writing Unit Generators | SuperCollider 3.12.2 Help – but this is more a high-level overview. If you can get ahold of The Supercollider Book, IIRC there’s a chapter about writing UGens that goes into more detail.