Hello,
SynthDefs like gong sound beautiful in FoxDot. I wanted to try them in SuperCollider, but going Synth("gong")
produced just a low noise hum or growl. I tried to look at the source code in osc/scsyndef/gong.scd
and it seems that In.kr(bus) is used to get frequency. In short, could not make sense of the parameter settings, and could not find any arguments in sclang like Synth("gong", [freq: xxx, rate: yyy])
that would make gong sound like it does in FoxDot. Could someone explain how gong or other synthdefs work in / (are generated by) FoxDot? I looked also at
/demo/12_synthdefs.py and it seems to me that FoxDot creates its own synthdefs with python code.
Gong is defined in FoxDot in file lib/SCLang/_SynthDefs.py
But what is the structure of the SynthDef generated by that code, in terms of sclang? And are there any hints for getting the argument settings that would make gong and other synthdefs work from sclang?
Thanks,
Iannis Zannos