Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4822] using csound opcodes outside of csound?

Date2004-06-15 17:12
Fromgml@xs4all.nl
Subject[CSOUND-DEV:4822] using csound opcodes outside of csound?
hi all,


Now that most opcodes are in loadable libraries, would it be possible to
use specific opcodes in an other program?
And if yes, any pointers on the best way to do this.
Would it be a good idea to have some kind of API function for this?

Something like csoundGetOpcode(char* opcodename .....) returning a pointer
to a structure which has the specifics of that opcode including a function
pointer to use.

I am thinking of developing a kind of sketchpad for audio, based on the
spreadsheet-paradigm, and I don't want to develop yet another synthesis
language with my own dsp code to maintain and develop.
Since I already know csound, I want to use its opcodes and I think csound
ahs the richest collection of dsp code available.

I think it would nice to just enter
"oscil A3,B6,C3" in a cell M4 and have "out M4" somewhere else.
The main loop would traverse the sheet left to right and top to bottom
every kcycle.
I would like to  use a prefab spreadsheet-widget, and use csound's dsp
code, so that i can be done in reasonable amount of time.


Gerard