Guide to contributing to Csound

Hey all!

recently i learned some C coding and i want to start contributing to Csound. Especially with fixing and optimizing some opcodes.

Since i have some problems with figuring out to do this, i was thinking about that it would be nice to have a low level guide to do this. Not only for me, but also for future noobs.
For example my problem is:

  • i searched for the opcode files on my system, but i just found the binary csound file
  • on the github project page, on the master branch, i didn’t find the opcode (ctrlpreset) file i want to work on

What do you think of this?

Most opcodes are built into Csound. ctrlpreset is one of Csound’s internal opcodes. I’m not sure how you searching the github repo, but I just typed ctrlpreset into the search bar, and github listed all these files for me:

If you want to dig around a little you will need to first build Csound. There are build instructions in csound/BUILD.md at develop · csound/csound · GitHub
Note that it’s probably best to build from the develop branch as this is where csound7 lives.