I am interested in modifying the built-in opcodes for woodwinds, brass, bowed and plucked strings, e.g. “wgclar”, “wgbrass”, etc.
(by “modify” I mean create custom versions that “save as…” new file names)
What I’m looking for:
- The Csound source files for the “wg…” opcodes
- Any tutorials that walk through that code and explain what is going on, why certain choices were made.
- Any examples of other people who have modified these opcodes, preferably with complete .csd files
What I have done so far:
I have found a few examples of modifications/alternatives for “wgclar”, but the explanations were almost absent beyond a few comments in the code. No examples for any of the other “wg…” opcodes.
I tried a n00b approach and copy/pasted one of those example instruments into “FirstSynth.csd”. This didn’t work. It generated this error: " Invalid ftable no. 3.000000", and I have no idea how to fix it. I can share this .csd file if anyone wants to debug it, but maybe this is the wrong approach and I am better off starting with a clean/empty file.
Yes, I have read The CSound Book sections on physical modeling.
Yes, I know these opcodes were based on Cook’s 1995 C++ code, but I don’t really want to go through the process of translating them into CSound code from scratch.
I played with the “Parp.csd” example file and it is very interesting. But it only modifies the parameters that go into “wgbrass” without modifying the “wgbrass” opcode itself.