< Back to IRCAM Forum

New class not working

Hello,

I wanted to make a new class as a “variation” of add-2.
I edited the orchestra and in CSound it worked.
I created the class in OMChroma and I got error from synthesize.
I attach the .orc and the text file with error, and the CSound file.

Any ideas?

Marco Bidin

add2-mbb-1_error.rtf (3.13 KB)

It looks as though the audio table (GEN10, table n. 1) is not defined. In the lisp-written classes this table is automatically added in the orchestra by OMChroma, but if you define a class yourself, you should give it as a csound table, in the “tables” keyword of synthesize. If you want to use the same size as the default classes, just copy the corresponding instruction in the score file (of add-1, for instance), then paste in a list between quotes, that is, (“f1 …”) to be passed to synthesize.
This should solve the problem.

Marco

Yes, thank you!
Marco Bidin