Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CHOP_csound_score Class Reference

#include <CHOP_csound_score.h>

Inheritance diagram for CHOP_csound_score:

CHOP_Node List of all members.

Public Member Functions

OP_ERROR cookMyChop (OP_Context &context)
virtual unsigned disableParms ()

Static Public Member Functions

OP_Node * myConstructor (OP_Network *, const char *, OP_Operator *)

Static Public Attributes

OP_TemplatePair myTemplatePair
OP_VariablePair myVariablePair
PRM_Template myTemplateList []
CH_LocalVariable myVariableList []

Protected Member Functions

 CHOP_csound_score (OP_Network *net, const char *name, OP_Operator *op)
virtual ~CHOP_csound_score ()
virtual int usesUnits ()
virtual int usesScope () const
virtual const char * inputLabel (unsigned idx) const
virtual float getVariableValue (int index, int thread)

Private Member Functions

void SCORE_FNAME (UT_String &label, float t)
int INST (float t)
void SET_INST (float t, int v)
int INST_NAME (float t)
int USE_INST_IN (float t)
int DUR_OVERRIDE (float t)
float DURATION (float t)
int USE_EVENT_GATE (float t)
int INC_TOG (float t)
void INC_FNAME (UT_String &label, float t)
int TIME_MODE (float t)
float TIME_OFFSET (float t)
int CONSOLE_OUT (float t)
void COMMENT (UT_String &label, float t)
int FTBL_1_ON (float t)
void GEN_NUM_1 (UT_String &label, float t)
void SND_FNAME_1 (UT_String &label, float t)
int FTBL_1 (float t)
float FTBL_1_INIT (float t)
void FTBL_1_LEN (UT_String &label, float t)
int FTBL_1_GRD_PT (float t)
float FTBL_1_GEN_PARM1 (float t)
void SET_FTBL_1_GEN_PARM1 (float t, float f)
float FTBL_1_GEN_PARM2 (float t)
void SET_FTBL_1_GEN_PARM2 (float t, float f)
float FTBL_1_GEN_PARM3 (float t)
void SET_FTBL_1_GEN_PARM3 (float t, float f)
float FTBL_1_GEN_PARM4 (float t)
void SET_FTBL_1_GEN_PARM4 (float t, float f)
float FTBL_1_GEN_PARM5 (float t)
void SET_FTBL_1_GEN_PARM5 (float t, float f)
float FTBL_1_GEN_PARM6 (float t)
void SET_FTBL_1_GEN_PARM6 (float t, float f)
float FTBL_1_GEN_PARM7 (float t)
void SET_FTBL_1_GEN_PARM7 (float t, float f)
float FTBL_1_GEN_PARM8 (float t)
void SET_FTBL_1_GEN_PARM8 (float t, float f)
int FTBL_2_ON (float t)
void GEN_NUM_2 (UT_String &label, float t)
void SND_FNAME_2 (UT_String &label, float t)
int FTBL_2 (float t)
float FTBL_2_INIT (float t)
void FTBL_2_LEN (UT_String &label, float t)
int FTBL_2_GRD_PT (float t)
float FTBL_2_GEN_PARM1 (float t)
float FTBL_2_GEN_PARM2 (float t)
float FTBL_2_GEN_PARM3 (float t)
float FTBL_2_GEN_PARM4 (float t)
float FTBL_2_GEN_PARM5 (float t)
float FTBL_2_GEN_PARM6 (float t)
float FTBL_2_GEN_PARM7 (float t)
float FTBL_2_GEN_PARM8 (float t)
int FTBL_3_ON (float t)
void GEN_NUM_3 (UT_String &label, float t)
void SND_FNAME_3 (UT_String &label, float t)
int FTBL_3 (float t)
float FTBL_3_INIT (float t)
void FTBL_3_LEN (UT_String &label, float t)
int FTBL_3_GRD_PT (float t)
void FTBL_3_GEN_PARM (UT_String &label, float t)
int FTBL_4_ON (float t)
void GEN_NUM_4 (UT_String &label, float t)
void SND_FNAME_4 (UT_String &label, float t)
int FTBL_4 (float t)
float FTBL_4_INIT (float t)
void FTBL_4_LEN (UT_String &label, float t)
int FTBL_4_GRD_PT (float t)
void FTBL_4_GEN_PARM (UT_String &label, float t)
bool writeHeader (FILE *fp)
void getUIParms (OP_Context &context)
OP_ERROR reportCallBackErrors ()

Static Private Member Functions

int writeTheFile (void *data, int index, float time, const PRM_Template *tplate)

Private Attributes

UT_String score_fname
UT_String inc_fname
UT_String comment
int inst
int inst_name
int use_inst_in
int dur_override
float duration
int use_event_gate
int inc_tog
int console_out
int time_mode
float time_offset
UT_String snd_fname_1
int ftable_1_on
int ftable_1
int gen_num_1
float ftable_1_init
int ftable_1_len
int ftable_1_grd_pt
float ftable_1_gen_param_1
float ftable_1_gen_param_2
float ftable_1_gen_param_3
float ftable_1_gen_param_4
float ftable_1_gen_param_5
float ftable_1_gen_param_6
float ftable_1_gen_param_7
float ftable_1_gen_param_8
UT_String snd_fname_2
int ftable_2_on
int ftable_2
int gen_num_2
float ftable_2_init
int ftable_2_len
int ftable_2_grd_pt
float ftable_2_gen_param_1
float ftable_2_gen_param_2
float ftable_2_gen_param_3
float ftable_2_gen_param_4
float ftable_2_gen_param_5
float ftable_2_gen_param_6
float ftable_2_gen_param_7
float ftable_2_gen_param_8
UT_String snd_fname_3
int ftable_3_on
int ftable_3
int gen_num_3
float ftable_3_init
int ftable_3_len
int ftable_3_grd_pt
float ftable_3_gen_param_1
UT_String ftable_3_gen_param
UT_String snd_fname_4
int ftable_4_on
int ftable_4
int gen_num_4
float ftable_4_init
int ftable_4_len
int ftable_4_grd_pt
float ftable_4_gen_param_1
UT_String ftable_4_gen_param
bool calledFromCallback
OP_ERROR myCallBackError
unsigned int myCallBackFlags
UT_ExpandArray myExpandArray
int my_C
int my_NC
int my_INST_NUM
float my_DUR

Constructor & Destructor Documentation

CHOP_csound_score::CHOP_csound_score OP_Network *  net,
const char *  name,
OP_Operator *  op
[protected]
 

Definition at line 676 of file CHOP_csound_score.C.

References comment, console_out, DEBUG, dur_override, duration, ftable_1, ftable_1_gen_param_1, ftable_1_gen_param_2, ftable_1_gen_param_3, ftable_1_gen_param_4, ftable_1_gen_param_5, ftable_1_gen_param_6, ftable_1_gen_param_7, ftable_1_gen_param_8, ftable_1_grd_pt, ftable_1_init, ftable_1_len, ftable_1_on, ftable_2, ftable_2_gen_param_1, ftable_2_gen_param_2, ftable_2_gen_param_3, ftable_2_gen_param_4, ftable_2_gen_param_5, ftable_2_gen_param_6, ftable_2_gen_param_7, ftable_2_gen_param_8, ftable_2_grd_pt, ftable_2_init, ftable_2_len, ftable_2_on, ftable_3, ftable_3_gen_param, ftable_3_grd_pt, ftable_3_init, ftable_3_len, ftable_3_on, ftable_4, ftable_4_gen_param, ftable_4_grd_pt, ftable_4_init, ftable_4_len, ftable_4_on, gen_num_1, gen_num_2, gen_num_3, gen_num_4, inc_fname, inc_tog, inst, inst_name, my_C, my_DUR, my_INST_NUM, my_NC, names, score_fname, snd_fname_1, snd_fname_2, snd_fname_3, snd_fname_4, use_event_gate, and use_inst_in.

Referenced by myConstructor().

00679                         : CHOP_Node(net, name, op),
00680                 myExpandArray()
00681 {
00682     myParmBase = getParmList()->getParmIndex( names[0].getToken() );
00683 
00684         // init local vars
00685     my_C = 0;
00686     my_NC = 0;
00687     my_INST_NUM = 0;
00688     my_DUR = 0;
00689 
00690         // setup page 
00691         score_fname = "untitled.sco";
00692     inst = 101;
00693     inst_name = 0;
00694     use_inst_in = 0;
00695     dur_override = 0;
00696     duration = 0.033333333;
00697     use_event_gate = 0;
00698     inc_tog = 0;
00699         inc_fname = "csound_header.h";
00700     console_out = 0;
00701         comment = "Comments";
00702 
00703     // f-table #1 parms
00704     snd_fname_1 = "";
00705     ftable_1_on = 0;
00706     ftable_1 = 1;
00707     gen_num_1 = 0;
00708     ftable_1_init = 0;
00709     ftable_1_len = 0;
00710     ftable_1_grd_pt = 0;
00711     ftable_1_gen_param_1 = 0;
00712     ftable_1_gen_param_2 = 0;
00713     ftable_1_gen_param_3 = 0;
00714     ftable_1_gen_param_4 = 0;
00715     ftable_1_gen_param_5 = 0;
00716     ftable_1_gen_param_6 = 0;
00717     ftable_1_gen_param_7 = 0;
00718     ftable_1_gen_param_8 = 0;
00719 
00720     // f-table #2 parms
00721     snd_fname_2 = "";
00722     ftable_2_on = 0;
00723     ftable_2 = 2;
00724     gen_num_2 = 0;
00725     ftable_2_init = 0;
00726     ftable_2_len = 0;
00727     ftable_2_grd_pt = 0;
00728     ftable_2_gen_param_1 = 0;
00729     ftable_2_gen_param_2 = 0;
00730     ftable_2_gen_param_3 = 0;
00731     ftable_2_gen_param_4 = 0;
00732     ftable_2_gen_param_5 = 0;
00733     ftable_2_gen_param_6 = 0;
00734     ftable_2_gen_param_7 = 0;
00735     ftable_2_gen_param_8 = 0;
00736 
00737     // f-table #3 parms
00738     snd_fname_3 = "";
00739     ftable_3_on = 0;
00740     ftable_3 = 3;
00741     gen_num_3 = 0;
00742     ftable_3_init = 0;
00743     ftable_3_len = 0;
00744     ftable_3_grd_pt = 0;
00745     ftable_3_gen_param = "";
00746 
00747 /*
00748     ftable_3_gen_param_1 = 0;
00749     ftable_3_gen_param_2 = 0;
00750     ftable_3_gen_param_3 = 0;
00751     ftable_3_gen_param_4 = 0;
00752     ftable_3_gen_param_5 = 0;
00753     ftable_3_gen_param_6 = 0;
00754     ftable_3_gen_param_7 = 0;
00755     ftable_3_gen_param_8 = 0;
00756 */
00757 
00758     // f-table #4 parms
00759     snd_fname_4 = "";
00760     ftable_4_on = 0;
00761     ftable_4 = 4;
00762     gen_num_4 = 0;
00763     ftable_4_init = 0;
00764     ftable_4_len = 0;
00765     ftable_4_grd_pt = 0;
00766     ftable_4_gen_param = "";
00767 
00768 /*
00769     ftable_4_gen_param_1 = 0;
00770     ftable_4_gen_param_2 = 0;
00771     ftable_4_gen_param_3 = 0;
00772     ftable_4_gen_param_4 = 0;
00773     ftable_4_gen_param_5 = 0;
00774     ftable_4_gen_param_6 = 0;
00775     ftable_4_gen_param_7 = 0;
00776     ftable_4_gen_param_8 = 0;
00777 */
00778 
00779 /*
00780     if(debug_str != "0") {
00781         DEBUG = atoi(debug_str); }
00782     else {
00783         DEBUG = 0; }
00784 */
00785 
00786 
00787 
00788 if(DEBUG > 0) {
00789         printf("\n**** CHOP CSound Score DSO ****\n");
00790         printf("**** CONSTRUCTOR ****\n\n");
00791 
00792         printf("score fname: %s\n", (const char *)score_fname); 
00793         printf("inst: %d\n", inst); 
00794         printf("inst_name: %d\n", inst_name); 
00795         printf("use_inst_in: %d\n", use_inst_in); 
00796         printf("duration override: %d\n", dur_override); 
00797         printf("event duration: %f\n", duration); 
00798         printf("use_event_gate: %d\n", use_event_gate); 
00799         printf("include toggle: %d\n", inc_tog); 
00800         printf("include  fname: %s\n", (const char *)inc_fname); 
00801         printf("console out: %d\n", console_out); 
00802         printf("comment: %s\n", (const char *)comment); 
00803 
00804 }
00805 
00806 }

CHOP_csound_score::~CHOP_csound_score  )  [protected, virtual]
 

Definition at line 808 of file CHOP_csound_score.C.

References DEBUG.

00809 {
00810 if(DEBUG > 0) {
00811         printf("\n**** CHOP CSound Score DSO ****\n");
00812         printf("**** DESTRUCTOR ****\n\n");
00813 }
00814 }


Member Function Documentation

void CHOP_csound_score::COMMENT UT_String &  label,
float  t
[inline, private]
 

Definition at line 189 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_COMMENT.

Referenced by getUIParms().

00190                         { evalString(label, ARG_CSOUND_SCORE_COMMENT, 0, t); }

int CHOP_csound_score::CONSOLE_OUT float  t  )  [inline, private]
 

Definition at line 186 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_CONSOLE_OUT.

Referenced by getUIParms().

00187                 { return evalInt(ARG_CSOUND_SCORE_CONSOLE_OUT, 0, t); }

OP_ERROR CHOP_csound_score::cookMyChop OP_Context &  context  ) 
 

Definition at line 1101 of file CHOP_csound_score.C.

References comment, console_out, DEBUG, dur_override, duration, ftable_1_len, ftable_2_len, ftable_3_len, ftable_4_len, gen_num_1, gen_num_2, gen_num_3, gen_num_4, getUIParms(), inc_fname, inc_tog, inst, inst_name, MAX_CHANNELS, my_C, my_DUR, my_INST_NUM, my_NC, score_fname, time_mode, time_offset, use_event_gate, use_inst_in, and writeHeader().

Referenced by writeTheFile().

01102 {
01103 CL_Track                *track;
01104 const CL_Clip   *parent_clip;
01105 const CL_Track  *parent_track;
01106 const CL_Clip   *event_clip;
01107 const CL_Track  *event_track;
01108 const CL_Clip   *inst_clip;
01109 const CL_Track  *inst_track;
01110 float           *data;
01111 const float     *event_data;
01112 const float     *inst_data;
01113 float                   _data[MAX_CHANNELS];
01114 int                             event_NC = 0;
01115 int                             inst_NC = 0;
01116 int                             parent_NC = 0;
01117 int                             event_gate = 1;
01118 
01119 int                             i = 0, j = 0;
01120 int                             trk_len = 0;
01121 FILE                    *fp;
01122 char                    str[255];
01123 
01124 for(i=0; i < MAX_CHANNELS; i++) { _data[i] = 0; }
01125 
01126 // Get the UI parameters
01127 getUIParms(context);
01128 
01129 // Set the local variables
01130 my_DUR = duration;
01131 my_INST_NUM = inst;
01132 
01133 if(DEBUG > 0) {
01134         printf("\n**** CHOP CSound Score DSO ****\n");
01135         printf("**** COOK MY CHOP ****\n\n");
01136         printf("context.myTime: %f \n", context.myTime);
01137         printf("track length: %d\n", myClip->getTrackLength()); 
01138 
01139         printf("score fname: %s\n", (const char *)score_fname); 
01140         printf("inst: %d\n", inst); 
01141         printf("inst_name: %d\n", inst_name); 
01142         printf("use_inst_in: %d\n", use_inst_in); 
01143         printf("duration override: %d\n", dur_override); 
01144         printf("event duration: %f\n", duration); 
01145         printf("use_event_gate: %d\n", use_event_gate); 
01146         printf("include toggle: %d\n", inc_tog); 
01147         printf("include  fname: %s\n", (const char *)inc_fname); 
01148         printf("console out: %d\n", console_out); 
01149         printf("comment: %s\n", (const char *)comment); 
01150 
01151         printf("f-table #1 len: %d\n", ftable_1_len); 
01152         printf("GEN #1 : %d\n", gen_num_1); 
01153 
01154         printf("f-table #2 len: %d\n", ftable_2_len); 
01155         printf("GEN #2 : %d\n", gen_num_2); 
01156 
01157         printf("f-table #3 len: %d\n", ftable_3_len); 
01158         printf("GEN #3 : %d\n", gen_num_3); 
01159 
01160         printf("f-table #4 len: %d\n", ftable_4_len); 
01161         printf("GEN #4 : %d\n", gen_num_4); 
01162 
01163 }
01164 
01165 // Open file for writing
01166 if((fp=fopen(score_fname,"wa")) == NULL) {
01167         cerr.setf(ios::unitbuf);
01168         cerr << "Cannot open text file for writing\n";
01169         // set unsuccessful result
01170         addWarning(CHOP_ERROR_MESSAGE, "Cannot open text file for writing");
01171         addError(CHOP_ERROR_MESSAGE);
01172         return error();
01173 }
01174 
01175 // get the data channels and track length
01176 parent_clip = copyInput(context, 0, 1, 1);
01177 // get the number of data channels
01178 parent_NC = parent_clip->getNumTracks();
01179 my_NC = myClip->getNumTracks();
01180 trk_len = myClip->getTrackLength();
01181 
01182 if(!dur_override)       
01183         duration = (1/myClip->getSampleRate());
01184 
01185 if(DEBUG > 1) { 
01186         printf("my_NC = %d\n", my_NC); 
01187         printf("trk_len = %d\n", trk_len);
01188 }       
01189 
01190 // If too many input channels, return error
01191 if(my_NC > MAX_CHANNELS) {
01192         addWarning(CHOP_ERROR_MESSAGE, "Too many input channels");
01193         addError(CHOP_ERROR_MESSAGE);
01194     return error();
01195 }
01196 
01197 if(DEBUG > 0) {
01198         UT_String this_chop_path;
01199 
01200         printf("number of connected inputs: %d\n", nConnectedInputs());
01201         getFullPath(this_chop_path);
01202         printf("Full path: %s\n", (const char *)this_chop_path);
01203         printf("parent_NC = %d\n", parent_NC);
01204         printf("my_NC = %d\n", my_NC);
01205 }
01206 
01207 // if the user want's to control the instrument number from input #2 data
01208 if (use_inst_in) {      
01209         // get the instrument input clip and check for valid input
01210         inst_clip = inputClip(1, context);
01211         if (!inst_clip) { 
01212                 addError(OP_ERR_NUMSRC_TOO_FEW);
01213                 return error();
01214         }
01215         inst_NC = inst_clip->getNumTracks();
01216         inst_track = inst_clip->getTrack(0);
01217         inst_data = inst_track->getData();
01218         if(DEBUG > 1) { printf("inst_NC = %d\n", inst_NC); }
01219 }
01220 
01221 
01222 // if the user want's to toggle the data writes with the event input
01223 if (use_event_gate) {   
01224         // get the event input clip and check for valid input
01225         event_clip = inputClip(2, context);
01226         if (!event_clip) { 
01227                 addError(OP_ERR_NUMSRC_TOO_FEW);
01228                 return error();
01229         }
01230         event_NC = event_clip->getNumTracks();
01231         event_track = event_clip->getTrack(0);
01232         event_data = event_track->getData();
01233         if(DEBUG > 1) { printf("event_NC = %d\n", event_NC); }
01234 }
01235 else {
01236         // if no event toggle selected, set event gate true
01237         event_gate = 1;
01238 }
01239 
01240 // write the file header
01241 if(!writeHeader(fp)) {
01242         return error();
01243 }
01244 
01245 // loop through entire track length
01246 for(i=0; i < trk_len; i++) {
01247 
01248         // if user wants to gate the data writes, get the event trigger for the frame
01249         if (use_event_gate) 
01250                 event_gate = (int)event_data[i]; 
01251 
01252         // if event gate is true 
01253         if(event_gate != 0) {
01254 
01255                 if (use_inst_in) 
01256                         inst = (int)inst_data[i]; 
01257 
01258                 // write the instrument number, start time and duration
01259         fprintf(fp, "i %d\t%.8f\t%.8f\t", inst, (myClip->getFrame(time_mode ? (i + time_offset) : i,
01260                                  myClip->getSampleRate()) - 1)/myClip->getSampleRate(), duration);
01261 
01262                 if(console_out) 
01263                 printf("i %d\t%.8f\t%.8f\t", inst, (myClip->getFrame(time_mode ? (i + time_offset) : i,
01264                                         myClip->getSampleRate()) - 1)/myClip->getSampleRate(), duration); 
01265 
01266                 if(DEBUG > 1) {
01267                 printf("i %d\t%.8f\t%.8f\n", inst, (myClip->getFrame(time_mode ? (i + time_offset) : i,
01268                                         myClip->getSampleRate()) - 1)/myClip->getSampleRate(), duration); 
01269                         printf("event_gate = %d\n", event_gate);
01270                         }
01271 
01272                 // loop thru all channels 
01273                 for(my_C = 0; my_C < my_NC; my_C++) {
01274         
01275                         // get my track
01276                         track = myClip->getTrack(my_C);
01277         
01278                         // get pointers to the data for this track
01279                         data = track->getData();
01280 
01281                         _data[my_C] = data[i];
01282 
01283                 fprintf(fp, "%f\t", _data[my_C]); 
01284 
01285                         if(console_out) 
01286                                 printf("%f\t", _data[my_C]);
01287 
01288                         if(DEBUG > 2) 
01289                                 printf("_data = %f\tdata = %f\t my_C = %d\n", _data[my_C], data[i],  my_C);
01290 
01291                 } // end foreach channel
01292 
01293                 // add \n to end of line
01294         fprintf(fp, "\n"); 
01295 
01296                 // if user wants the data echoed to the console
01297                 if(console_out) printf("\n");
01298 
01299     fflush(fp);
01300         } // end if (event_gate) 
01301 
01302         if(DEBUG > 1) { 
01303                 printf("index = %d\t event_gate = %d\n", i, event_gate); 
01304         }
01305                 
01306 } // end foreach index
01307 
01308 
01309 //      reset my_C (?), close file and return
01310 my_C = 0;
01311 fclose(fp);
01312 
01313 return error();
01314 }

unsigned CHOP_csound_score::disableParms  )  [virtual]
 

Definition at line 817 of file CHOP_csound_score.C.

00818 {
00819     unsigned    changes = CHOP_Node::disableParms();
00820 
00821     return changes;
00822 }

int CHOP_csound_score::DUR_OVERRIDE float  t  )  [inline, private]
 

Definition at line 165 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_DUR_OVERRIDE.

Referenced by getUIParms().

00166                 { return evalInt(ARG_CSOUND_SCORE_DUR_OVERRIDE, 0, t); }

float CHOP_csound_score::DURATION float  t  )  [inline, private]
 

Definition at line 168 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_DURATION.

Referenced by getUIParms().

00169                 { return evalFloat(ARG_CSOUND_SCORE_DURATION, 0, t); }

int CHOP_csound_score::FTBL_1 float  t  )  [inline, private]
 

Definition at line 203 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1.

Referenced by getUIParms().

00204                 { return evalInt(ARG_CSOUND_SCORE_FTBL_1, 0, t); }

float CHOP_csound_score::FTBL_1_GEN_PARM1 float  t  )  [inline, private]
 

Definition at line 215 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM1.

Referenced by getUIParms().

00216                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM1,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM2 float  t  )  [inline, private]
 

Definition at line 221 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM2.

Referenced by getUIParms().

00222                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM2,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM3 float  t  )  [inline, private]
 

Definition at line 227 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM3.

Referenced by getUIParms().

00228                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM3,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM4 float  t  )  [inline, private]
 

Definition at line 233 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM4.

Referenced by getUIParms().

00234                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM4,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM5 float  t  )  [inline, private]
 

Definition at line 239 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM5.

Referenced by getUIParms().

00240                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM5,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM6 float  t  )  [inline, private]
 

Definition at line 245 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM6.

Referenced by getUIParms().

00246                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM6,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM7 float  t  )  [inline, private]
 

Definition at line 251 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM7.

Referenced by getUIParms().

00252                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM7,0,t); }

float CHOP_csound_score::FTBL_1_GEN_PARM8 float  t  )  [inline, private]
 

Definition at line 257 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM8.

Referenced by getUIParms().

00258                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM8,0,t); }

int CHOP_csound_score::FTBL_1_GRD_PT float  t  )  [inline, private]
 

Definition at line 212 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GRD_PT.

Referenced by getUIParms().

00213                 { return evalInt(ARG_CSOUND_SCORE_FTBL_1_GRD_PT, 0, t); }

float CHOP_csound_score::FTBL_1_INIT float  t  )  [inline, private]
 

Definition at line 206 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_INIT.

Referenced by getUIParms().

00207                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_1_INIT,0,t); }

void CHOP_csound_score::FTBL_1_LEN UT_String &  label,
float  t
[inline, private]
 

Definition at line 209 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_LEN.

Referenced by getUIParms().

00210                         { evalString(label, ARG_CSOUND_SCORE_FTBL_1_LEN, 0, t); }

int CHOP_csound_score::FTBL_1_ON float  t  )  [inline, private]
 

Definition at line 194 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_ON.

Referenced by getUIParms().

00195                 { return evalInt(ARG_CSOUND_SCORE_FTBL_1_ON, 0, t); }

int CHOP_csound_score::FTBL_2 float  t  )  [inline, private]
 

Definition at line 274 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2.

Referenced by getUIParms().

00275                 { return evalInt(ARG_CSOUND_SCORE_FTBL_2, 0, t); }

float CHOP_csound_score::FTBL_2_GEN_PARM1 float  t  )  [inline, private]
 

Definition at line 286 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM1.

Referenced by getUIParms().

00287                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM1,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM2 float  t  )  [inline, private]
 

Definition at line 289 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM2.

Referenced by getUIParms().

00290                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM2,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM3 float  t  )  [inline, private]
 

Definition at line 292 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM3.

Referenced by getUIParms().

00293                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM3,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM4 float  t  )  [inline, private]
 

Definition at line 295 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM4.

Referenced by getUIParms().

00296                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM4,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM5 float  t  )  [inline, private]
 

Definition at line 298 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM5.

Referenced by getUIParms().

00299                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM5,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM6 float  t  )  [inline, private]
 

Definition at line 301 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM6.

Referenced by getUIParms().

00302                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM6,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM7 float  t  )  [inline, private]
 

Definition at line 304 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM7.

Referenced by getUIParms().

00305                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM7,0,t); }

float CHOP_csound_score::FTBL_2_GEN_PARM8 float  t  )  [inline, private]
 

Definition at line 307 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GEN_PARM8.

Referenced by getUIParms().

00308                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_GEN_PARM8,0,t); }

int CHOP_csound_score::FTBL_2_GRD_PT float  t  )  [inline, private]
 

Definition at line 283 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_GRD_PT.

Referenced by getUIParms().

00284                 { return evalInt(ARG_CSOUND_SCORE_FTBL_2_GRD_PT, 0, t); }

float CHOP_csound_score::FTBL_2_INIT float  t  )  [inline, private]
 

Definition at line 277 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_INIT.

Referenced by getUIParms().

00278                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_2_INIT,0,t); }

void CHOP_csound_score::FTBL_2_LEN UT_String &  label,
float  t
[inline, private]
 

Definition at line 280 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_LEN.

Referenced by getUIParms().

00281                         { evalString(label, ARG_CSOUND_SCORE_FTBL_2_LEN, 0, t); }

int CHOP_csound_score::FTBL_2_ON float  t  )  [inline, private]
 

Definition at line 265 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_2_ON.

Referenced by getUIParms().

00266                 { return evalInt(ARG_CSOUND_SCORE_FTBL_2_ON, 0, t); }

int CHOP_csound_score::FTBL_3 float  t  )  [inline, private]
 

Definition at line 321 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3.

Referenced by getUIParms().

00322                 { return evalInt(ARG_CSOUND_SCORE_FTBL_3, 0, t); }

void CHOP_csound_score::FTBL_3_GEN_PARM UT_String &  label,
float  t
[inline, private]
 

Definition at line 333 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3_GEN_PARM.

Referenced by getUIParms().

00334                         { evalString(label, ARG_CSOUND_SCORE_FTBL_3_GEN_PARM, 0, t); }

int CHOP_csound_score::FTBL_3_GRD_PT float  t  )  [inline, private]
 

Definition at line 330 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3_GRD_PT.

Referenced by getUIParms().

00331                 { return evalInt(ARG_CSOUND_SCORE_FTBL_3_GRD_PT, 0, t); }

float CHOP_csound_score::FTBL_3_INIT float  t  )  [inline, private]
 

Definition at line 324 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3_INIT.

Referenced by getUIParms().

00325                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_3_INIT,0,t); }

void CHOP_csound_score::FTBL_3_LEN UT_String &  label,
float  t
[inline, private]
 

Definition at line 327 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3_LEN.

Referenced by getUIParms().

00328                         { evalString(label, ARG_CSOUND_SCORE_FTBL_3_LEN, 0, t); }

int CHOP_csound_score::FTBL_3_ON float  t  )  [inline, private]
 

Definition at line 312 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_3_ON.

Referenced by getUIParms().

00313                 { return evalInt(ARG_CSOUND_SCORE_FTBL_3_ON, 0, t); }

int CHOP_csound_score::FTBL_4 float  t  )  [inline, private]
 

Definition at line 374 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4.

Referenced by getUIParms().

00375                 { return evalInt(ARG_CSOUND_SCORE_FTBL_4, 0, t); }

void CHOP_csound_score::FTBL_4_GEN_PARM UT_String &  label,
float  t
[inline, private]
 

Definition at line 386 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4_GEN_PARM.

Referenced by getUIParms().

00387                         { evalString(label, ARG_CSOUND_SCORE_FTBL_4_GEN_PARM, 0, t); }

int CHOP_csound_score::FTBL_4_GRD_PT float  t  )  [inline, private]
 

Definition at line 383 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4_GRD_PT.

Referenced by getUIParms().

00384                 { return evalInt(ARG_CSOUND_SCORE_FTBL_4_GRD_PT, 0, t); }

float CHOP_csound_score::FTBL_4_INIT float  t  )  [inline, private]
 

Definition at line 377 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4_INIT.

Referenced by getUIParms().

00378                 { return evalFloat(ARG_CSOUND_SCORE_FTBL_4_INIT,0,t); }

void CHOP_csound_score::FTBL_4_LEN UT_String &  label,
float  t
[inline, private]
 

Definition at line 380 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4_LEN.

Referenced by getUIParms().

00381                         { evalString(label, ARG_CSOUND_SCORE_FTBL_4_LEN, 0, t); }

int CHOP_csound_score::FTBL_4_ON float  t  )  [inline, private]
 

Definition at line 365 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_4_ON.

Referenced by getUIParms().

00366                 { return evalInt(ARG_CSOUND_SCORE_FTBL_4_ON, 0, t); }

void CHOP_csound_score::GEN_NUM_1 UT_String &  label,
float  t
[inline, private]
 

Definition at line 197 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_GEN_NUM_1.

Referenced by getUIParms().

00198                         { evalString(label, ARG_CSOUND_SCORE_GEN_NUM_1, 0, t); }

void CHOP_csound_score::GEN_NUM_2 UT_String &  label,
float  t
[inline, private]
 

Definition at line 268 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_GEN_NUM_2.

Referenced by getUIParms().

00269                         { evalString(label, ARG_CSOUND_SCORE_GEN_NUM_2, 0, t); }

void CHOP_csound_score::GEN_NUM_3 UT_String &  label,
float  t
[inline, private]
 

Definition at line 315 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_GEN_NUM_3.

Referenced by getUIParms().

00316                         { evalString(label, ARG_CSOUND_SCORE_GEN_NUM_3, 0, t); }

void CHOP_csound_score::GEN_NUM_4 UT_String &  label,
float  t
[inline, private]
 

Definition at line 368 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_GEN_NUM_4.

Referenced by getUIParms().

00369                         { evalString(label, ARG_CSOUND_SCORE_GEN_NUM_4, 0, t); }

void CHOP_csound_score::getUIParms OP_Context &  context  )  [private]
 

Definition at line 971 of file CHOP_csound_score.C.

References comment, COMMENT(), CONSOLE_OUT(), console_out, DUR_OVERRIDE(), dur_override, DURATION(), duration, ftable_1, ftable_1_gen_param_1, ftable_1_gen_param_2, ftable_1_gen_param_3, ftable_1_gen_param_4, ftable_1_gen_param_5, ftable_1_gen_param_6, ftable_1_gen_param_7, ftable_1_gen_param_8, ftable_1_grd_pt, ftable_1_init, ftable_1_len, ftable_1_on, ftable_2, ftable_2_gen_param_1, ftable_2_gen_param_2, ftable_2_gen_param_3, ftable_2_gen_param_4, ftable_2_gen_param_5, ftable_2_gen_param_6, ftable_2_gen_param_7, ftable_2_gen_param_8, ftable_2_grd_pt, ftable_2_init, ftable_2_len, ftable_2_on, ftable_3, ftable_3_gen_param, ftable_3_grd_pt, ftable_3_init, ftable_3_len, ftable_3_on, ftable_4, ftable_4_gen_param, ftable_4_grd_pt, ftable_4_init, ftable_4_len, ftable_4_on, FTBL_1(), FTBL_1_GEN_PARM1(), FTBL_1_GEN_PARM2(), FTBL_1_GEN_PARM3(), FTBL_1_GEN_PARM4(), FTBL_1_GEN_PARM5(), FTBL_1_GEN_PARM6(), FTBL_1_GEN_PARM7(), FTBL_1_GEN_PARM8(), FTBL_1_GRD_PT(), FTBL_1_INIT(), FTBL_1_LEN(), FTBL_1_ON(), FTBL_2(), FTBL_2_GEN_PARM1(), FTBL_2_GEN_PARM2(), FTBL_2_GEN_PARM3(), FTBL_2_GEN_PARM4(), FTBL_2_GEN_PARM5(), FTBL_2_GEN_PARM6(), FTBL_2_GEN_PARM7(), FTBL_2_GEN_PARM8(), FTBL_2_GRD_PT(), FTBL_2_INIT(), FTBL_2_LEN(), FTBL_2_ON(), FTBL_3(), FTBL_3_GEN_PARM(), FTBL_3_GRD_PT(), FTBL_3_INIT(), FTBL_3_LEN(), FTBL_3_ON(), FTBL_4(), FTBL_4_GEN_PARM(), FTBL_4_GRD_PT(), FTBL_4_INIT(), FTBL_4_LEN(), FTBL_4_ON(), gen_num_1, GEN_NUM_1(), gen_num_2, GEN_NUM_2(), gen_num_3, GEN_NUM_3(), gen_num_4, GEN_NUM_4(), inc_fname, INC_FNAME(), INC_TOG(), inc_tog, INST(), inst, INST_NAME(), inst_name, score_fname, SCORE_FNAME(), SET_INST(), snd_fname_1, SND_FNAME_1(), snd_fname_2, SND_FNAME_2(), snd_fname_3, SND_FNAME_3(), snd_fname_4, SND_FNAME_4(), TIME_MODE(), time_mode, TIME_OFFSET(), time_offset, USE_EVENT_GATE(), use_event_gate, USE_INST_IN(), and use_inst_in.

Referenced by cookMyChop().

00972 {
00973 UT_String menu_str = "";
00974 
00975 // setup page parms
00976 SCORE_FNAME(score_fname, context.myTime);
00977 inst = INST(context.myTime);
00978 inst_name = INST_NAME(context.myTime);
00979 
00980 if(inst_name != 0) {
00981         inst = inst_name;
00982         SET_INST(context.myTime, inst_name);
00983 }
00984 
00985 // Setup page
00986 use_inst_in = USE_INST_IN(context.myTime);
00987 dur_override = DUR_OVERRIDE(context.myTime);
00988 if(dur_override)        
00989         duration = DURATION(context.myTime);
00990 use_event_gate = USE_EVENT_GATE(context.myTime);
00991 inc_tog = INC_TOG(context.myTime);
00992 INC_FNAME(inc_fname, context.myTime);
00993 time_mode = TIME_MODE(context.myTime);
00994 time_offset = TIME_OFFSET(context.myTime);
00995 console_out = CONSOLE_OUT(context.myTime);
00996 COMMENT(comment, context.myTime);
00997 
00998 
00999 // f-table #1 parms
01000 SND_FNAME_1(snd_fname_1, context.myTime); 
01001 ftable_1_on = FTBL_1_ON(context.myTime); 
01002 ftable_1 = FTBL_1(context.myTime); 
01003 GEN_NUM_1(menu_str, context.myTime);
01004 gen_num_1 = atoi((const char *)menu_str);
01005 ftable_1_init = FTBL_1_INIT(context.myTime); 
01006 FTBL_1_LEN(menu_str, context.myTime);
01007 ftable_1_len = atoi((const char *)menu_str);
01008 ftable_1_grd_pt = FTBL_1_GRD_PT(context.myTime); 
01009 if(ftable_1_grd_pt)  
01010         ftable_1_len += 1; 
01011 ftable_1_gen_param_1 = FTBL_1_GEN_PARM1(context.myTime); 
01012 ftable_1_gen_param_2 = FTBL_1_GEN_PARM2(context.myTime); 
01013 ftable_1_gen_param_3 = FTBL_1_GEN_PARM3(context.myTime); 
01014 ftable_1_gen_param_4 = FTBL_1_GEN_PARM4(context.myTime); 
01015 ftable_1_gen_param_5 = FTBL_1_GEN_PARM5(context.myTime); 
01016 ftable_1_gen_param_6 = FTBL_1_GEN_PARM6(context.myTime); 
01017 ftable_1_gen_param_7 = FTBL_1_GEN_PARM7(context.myTime); 
01018 ftable_1_gen_param_8 = FTBL_1_GEN_PARM8(context.myTime); 
01019 
01020 
01021 // f-table #2 parms
01022 SND_FNAME_2(snd_fname_2, context.myTime); 
01023 ftable_2_on = FTBL_2_ON(context.myTime); 
01024 ftable_2 = FTBL_2(context.myTime); 
01025 GEN_NUM_2(menu_str, context.myTime);
01026 gen_num_2 = atoi((const char *)menu_str);
01027 ftable_2_init = FTBL_2_INIT(context.myTime); 
01028 FTBL_2_LEN(menu_str, context.myTime);
01029 ftable_2_len = atoi((const char *)menu_str);
01030 ftable_2_grd_pt = FTBL_2_GRD_PT(context.myTime); 
01031 if(ftable_2_grd_pt) 
01032         ftable_2_len += 1;
01033 ftable_2_gen_param_1 = FTBL_2_GEN_PARM1(context.myTime);
01034 ftable_2_gen_param_2 = FTBL_2_GEN_PARM2(context.myTime);
01035 ftable_2_gen_param_3 = FTBL_2_GEN_PARM3(context.myTime);
01036 ftable_2_gen_param_4 = FTBL_2_GEN_PARM4(context.myTime);
01037 ftable_2_gen_param_5 = FTBL_2_GEN_PARM5(context.myTime);
01038 ftable_2_gen_param_6 = FTBL_2_GEN_PARM6(context.myTime);
01039 ftable_2_gen_param_7 = FTBL_2_GEN_PARM7(context.myTime);
01040 ftable_2_gen_param_8 = FTBL_2_GEN_PARM8(context.myTime);
01041 
01042 
01043 // f-table #3 parms
01044 SND_FNAME_3(snd_fname_3, context.myTime); 
01045 ftable_3_on = FTBL_3_ON(context.myTime);
01046 ftable_3 = FTBL_3(context.myTime);  
01047 GEN_NUM_3(menu_str, context.myTime);
01048 gen_num_3 = atoi((const char *)menu_str);
01049 ftable_3_init = FTBL_3_INIT(context.myTime); 
01050 FTBL_3_LEN(menu_str, context.myTime);
01051 ftable_3_len = atoi((const char *)menu_str);
01052 ftable_3_grd_pt = FTBL_3_GRD_PT(context.myTime); 
01053 if(ftable_3_grd_pt) 
01054         ftable_3_len += 1;
01055 
01056 FTBL_3_GEN_PARM(ftable_3_gen_param, context.myTime); 
01057 
01058 /*
01059 ftable_3_gen_param_1 = FTBL_3_GEN_PARM1(context.myTime); 
01060 ftable_3_gen_param_2 = FTBL_3_GEN_PARM2(context.myTime); 
01061 ftable_3_gen_param_3 = FTBL_3_GEN_PARM3(context.myTime); 
01062 ftable_3_gen_param_4 = FTBL_3_GEN_PARM4(context.myTime); 
01063 ftable_3_gen_param_5 = FTBL_3_GEN_PARM5(context.myTime); 
01064 ftable_3_gen_param_6 = FTBL_3_GEN_PARM6(context.myTime); 
01065 ftable_3_gen_param_7 = FTBL_3_GEN_PARM7(context.myTime); 
01066 ftable_3_gen_param_8 = FTBL_3_GEN_PARM8(context.myTime); 
01067 */
01068 
01069 
01070 // f-table #4 parms
01071 SND_FNAME_4(snd_fname_4, context.myTime); 
01072 ftable_4_on = FTBL_4_ON(context.myTime); 
01073 ftable_4 = FTBL_4(context.myTime); 
01074 GEN_NUM_4(menu_str, context.myTime);
01075 gen_num_4 = atoi((const char *)menu_str);
01076 ftable_4_init = FTBL_4_INIT(context.myTime); 
01077 FTBL_4_LEN(menu_str, context.myTime);
01078 ftable_4_len = atoi((const char *)menu_str);
01079 ftable_4_grd_pt = FTBL_4_GRD_PT(context.myTime); 
01080 if(ftable_4_grd_pt) 
01081         ftable_4_len += 1;
01082 
01083 FTBL_4_GEN_PARM(ftable_4_gen_param, context.myTime); 
01084 
01085 /*
01086 ftable_4_gen_param_1 = FTBL_4_GEN_PARM1(context.myTime); 
01087 ftable_4_gen_param_2 = FTBL_4_GEN_PARM2(context.myTime); 
01088 ftable_4_gen_param_3 = FTBL_4_GEN_PARM3(context.myTime); 
01089 ftable_4_gen_param_4 = FTBL_4_GEN_PARM4(context.myTime); 
01090 ftable_4_gen_param_5 = FTBL_4_GEN_PARM5(context.myTime); 
01091 ftable_4_gen_param_6 = FTBL_4_GEN_PARM6(context.myTime); 
01092 ftable_4_gen_param_7 = FTBL_4_GEN_PARM7(context.myTime); 
01093 ftable_4_gen_param_8 = FTBL_4_GEN_PARM8(context.myTime); 
01094 */
01095 
01096 
01097 }

float CHOP_csound_score::getVariableValue int  index,
int  thread
[protected, virtual]
 

Definition at line 1317 of file CHOP_csound_score.C.

References my_C, my_DUR, my_INST_NUM, my_NC, VAR_C, VAR_DUR, VAR_INST_NUM, and VAR_NC.

01318 {
01319     switch( index )
01320     {
01321         case VAR_C:
01322             return my_C;
01323 
01324         case VAR_NC:
01325             return my_NC;
01326 
01327         case VAR_DUR:
01328             return my_DUR;
01329 
01330         case VAR_INST_NUM:
01331             return my_INST_NUM;
01332 
01333         default:
01334             return CHOP_Node::getVariableValue(index);
01335     }
01336 }

void CHOP_csound_score::INC_FNAME UT_String &  label,
float  t
[inline, private]
 

Definition at line 177 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_INC_FNAME.

Referenced by getUIParms().

00178                         { evalString(label, ARG_CSOUND_SCORE_INC_FNAME, 0, t); }

int CHOP_csound_score::INC_TOG float  t  )  [inline, private]
 

Definition at line 174 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_INC_TOG.

Referenced by getUIParms().

00175                 { return evalInt(ARG_CSOUND_SCORE_INC_TOG, 0, t); }

const char * CHOP_csound_score::inputLabel unsigned  idx  )  const [protected, virtual]
 

Definition at line 1339 of file CHOP_csound_score.C.

01340 {
01341     return "Instrument Index";
01342 }

int CHOP_csound_score::INST float  t  )  [inline, private]
 

Definition at line 153 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_INST.

Referenced by getUIParms().

00154                 { return evalInt(ARG_CSOUND_SCORE_INST, 0, t); }

int CHOP_csound_score::INST_NAME float  t  )  [inline, private]
 

Definition at line 159 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_INST_NAME.

Referenced by getUIParms().

00160                 { return evalInt(ARG_CSOUND_SCORE_INST_NAME, 0, t); }

OP_Node * CHOP_csound_score::myConstructor OP_Network *  ,
const char *  ,
OP_Operator * 
[static]
 

Definition at line 649 of file CHOP_csound_score.C.

References CHOP_csound_score().

Referenced by newChopOperator().

00652 {
00653     return new CHOP_csound_score(net, name, op);
00654 }

OP_ERROR CHOP_csound_score::reportCallBackErrors  )  [private]
 

void CHOP_csound_score::SCORE_FNAME UT_String &  label,
float  t
[inline, private]
 

Definition at line 150 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FNAME.

Referenced by getUIParms().

00151                         { evalString(label, ARG_CSOUND_SCORE_FNAME, 0, t); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM1 float  t,
float  f
[inline, private]
 

Definition at line 218 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM1.

00219                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM1, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM2 float  t,
float  f
[inline, private]
 

Definition at line 224 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM2.

00225                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM2, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM3 float  t,
float  f
[inline, private]
 

Definition at line 230 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM3.

00231                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM3, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM4 float  t,
float  f
[inline, private]
 

Definition at line 236 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM4.

00237                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM4, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM5 float  t,
float  f
[inline, private]
 

Definition at line 242 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM5.

00243                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM5, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM6 float  t,
float  f
[inline, private]
 

Definition at line 248 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM6.

00249                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM6, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM7 float  t,
float  f
[inline, private]
 

Definition at line 254 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM7.

00255                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM7, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_FTBL_1_GEN_PARM8 float  t,
float  f
[inline, private]
 

Definition at line 260 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_FTBL_1_GEN_PARM8.

00261                 { setFloat(ARG_CSOUND_SCORE_FTBL_1_GEN_PARM8, 0, t, toUnit(f)); }

void CHOP_csound_score::SET_INST float  t,
int  v
[inline, private]
 

Definition at line 156 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_INST.

Referenced by getUIParms().

00157             { setInt(ARG_CSOUND_SCORE_INST, 0, t, v); }

void CHOP_csound_score::SND_FNAME_1 UT_String &  label,
float  t
[inline, private]
 

Definition at line 200 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_SND_FNAME_1.

Referenced by getUIParms().

00201                         { evalString(label, ARG_CSOUND_SCORE_SND_FNAME_1, 0, t); }

void CHOP_csound_score::SND_FNAME_2 UT_String &  label,
float  t
[inline, private]
 

Definition at line 271 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_SND_FNAME_2.

Referenced by getUIParms().

00272                         { evalString(label, ARG_CSOUND_SCORE_SND_FNAME_2, 0, t); }

void CHOP_csound_score::SND_FNAME_3 UT_String &  label,
float  t
[inline, private]
 

Definition at line 318 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_SND_FNAME_3.

Referenced by getUIParms().

00319                         { evalString(label, ARG_CSOUND_SCORE_SND_FNAME_3, 0, t); }

void CHOP_csound_score::SND_FNAME_4 UT_String &  label,
float  t
[inline, private]
 

Definition at line 371 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_SND_FNAME_4.

Referenced by getUIParms().

00372                         { evalString(label, ARG_CSOUND_SCORE_SND_FNAME_4, 0, t); }

int CHOP_csound_score::TIME_MODE float  t  )  [inline, private]
 

Definition at line 180 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_TIME_MODE.

Referenced by getUIParms().

00181             { return evalInt(ARG_CSOUND_SCORE_TIME_MODE, 0, t); }

float CHOP_csound_score::TIME_OFFSET float  t  )  [inline, private]
 

Definition at line 183 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_TIME_OFFSET.

Referenced by getUIParms().

00184             { return evalFloat(ARG_CSOUND_SCORE_TIME_OFFSET, 0, t); }

int CHOP_csound_score::USE_EVENT_GATE float  t  )  [inline, private]
 

Definition at line 171 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_USE_EVENT_GATE.

Referenced by getUIParms().

00172                 { return evalInt(ARG_CSOUND_SCORE_USE_EVENT_GATE, 0, t); }

int CHOP_csound_score::USE_INST_IN float  t  )  [inline, private]
 

Definition at line 162 of file CHOP_csound_score.h.

References ARG_CSOUND_SCORE_USE_INST_IN.

Referenced by getUIParms().

00163                 { return evalInt(ARG_CSOUND_SCORE_USE_INST_IN, 0, t); }

virtual int CHOP_csound_score::usesScope  )  const [inline, protected, virtual]
 

Definition at line 141 of file CHOP_csound_score.h.

00141 { return 1; }

virtual int CHOP_csound_score::usesUnits  )  [inline, protected, virtual]
 

Definition at line 140 of file CHOP_csound_score.h.

00140 { return 1; }

bool CHOP_csound_score::writeHeader FILE *  fp  )  [private]
 

Definition at line 828 of file CHOP_csound_score.C.

References comment, console_out, DEBUG, ftable_1, ftable_1_gen_param_1, ftable_1_gen_param_2, ftable_1_gen_param_3, ftable_1_gen_param_4, ftable_1_gen_param_5, ftable_1_gen_param_6, ftable_1_gen_param_7, ftable_1_gen_param_8, ftable_1_init, ftable_1_len, ftable_2, ftable_2_gen_param_1, ftable_2_gen_param_2, ftable_2_gen_param_3, ftable_2_gen_param_4, ftable_2_gen_param_5, ftable_2_gen_param_6, ftable_2_gen_param_7, ftable_2_gen_param_8, ftable_2_init, ftable_2_len, ftable_3, ftable_3_gen_param, ftable_3_init, ftable_3_len, ftable_4, ftable_4_gen_param, ftable_4_init, ftable_4_len, gen_num_1, gen_num_2, gen_num_3, gen_num_4, inc_fname, snd_fname_1, snd_fname_2, snd_fname_3, and snd_fname_4.

Referenced by cookMyChop().

00829 {
00830 struct          tm *time_ptr;
00831 time_t          create_time;
00832 FILE            *inc_fp;
00833 
00834 // Get the current time
00835 create_time = time(NULL);
00836 time_ptr = localtime(&create_time);
00837 char            str[255];
00838 char            ftable_1_str[255] = "";
00839 char            ftable_2_str[255] = "";
00840 char            ftable_3_str[255] = "";
00841 char            ftable_4_str[255] = "";
00842 
00843 // start to build the f-table strings 
00844 if(ftable_1_on) {
00845         if((gen_num_1 == 1) || (gen_num_1 == 23)) {
00846                 sprintf(ftable_1_str, "f%d\t%f\t%d\t%s\n", 
00847                         ftable_1, ftable_1_init, 
00848                         gen_num_1, (const char *)snd_fname_1);  
00849         }
00850         else {          
00851                 sprintf(ftable_1_str, 
00852                         "f%d\t%f\t%d\t%d\t%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n",
00853                         ftable_1, ftable_1_init, ftable_1_len, gen_num_1, 
00854                         ftable_1_gen_param_1, ftable_1_gen_param_2, 
00855                         ftable_1_gen_param_3, ftable_1_gen_param_4,
00856                         ftable_1_gen_param_5, ftable_1_gen_param_6,
00857                         ftable_1_gen_param_7, ftable_1_gen_param_8);
00858         }
00859 }
00860 
00861 if(ftable_2_on) {
00862         if((gen_num_2 == 1) || (gen_num_2 == 23)) {
00863                 sprintf(ftable_2_str, "f%d\t%f\t%d\t%s\n", 
00864                         ftable_2, ftable_2_init, 
00865                         gen_num_2, (const char *)snd_fname_2);  
00866         }
00867         else {          
00868                 sprintf(ftable_2_str, 
00869                         "f%d\t%f\t%d\t%d\t%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n",
00870                         ftable_2, ftable_2_init, ftable_2_len, gen_num_2, 
00871                         ftable_2_gen_param_1, ftable_2_gen_param_2, 
00872                         ftable_2_gen_param_3, ftable_2_gen_param_4,
00873                         ftable_2_gen_param_5, ftable_2_gen_param_6,
00874                         ftable_2_gen_param_7, ftable_2_gen_param_8);
00875         }
00876 }
00877 
00878 if(ftable_3_on) {
00879         if((gen_num_3 == 1) || (gen_num_3 == 23)) {
00880                 sprintf(ftable_3_str, "f%d\t%f\t%d\t%s\n", 
00881                         ftable_3, ftable_3_init, 
00882                         gen_num_3, (const char *)snd_fname_3);  
00883         }
00884         else {          
00885                 sprintf(ftable_3_str, 
00886 //                      "f%d\t%f\t%d\t%d\t%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n",
00887                         "f%d\t%f\t%d\t%d\t%s\n",
00888                         ftable_3, ftable_3_init, ftable_3_len, gen_num_3, 
00889                         (const char *)ftable_3_gen_param); 
00890 /*
00891                         ftable_3_gen_param_1, ftable_3_gen_param_2, 
00892                         ftable_3_gen_param_3, ftable_3_gen_param_4,
00893                         ftable_3_gen_param_5, ftable_3_gen_param_6,
00894                         ftable_3_gen_param_7, ftable_3_gen_param_8);
00895 */
00896 
00897         }
00898 }
00899 
00900 if(ftable_4_on) {
00901         if((gen_num_4 == 1) || (gen_num_4 == 23)) {
00902                 sprintf(ftable_4_str, "f%d\t%f\t%d\t%s\n", 
00903                         ftable_4, ftable_4_init, 
00904                         gen_num_4, (const char *)snd_fname_4);  
00905         }
00906         else {          
00907                 sprintf(ftable_4_str, 
00908 //                      "f%d\t%f\t%d\t%d\t%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n",
00909                         "f%d\t%f\t%d\t%d\t%s\n",
00910                         ftable_4, ftable_4_init, ftable_4_len, gen_num_4, 
00911                         (const char *)ftable_4_gen_param); 
00912 /*
00913                         ftable_4_gen_param_1, ftable_4_gen_param_2, 
00914                         ftable_4_gen_param_3, ftable_4_gen_param_4,
00915                         ftable_4_gen_param_5, ftable_4_gen_param_6,
00916                         ftable_4_gen_param_7, ftable_4_gen_param_8);
00917 */
00918 
00919         }
00920 }
00921 
00922 // if user wants the data echoed to the console
00923 if((DEBUG > 0) || console_out) {
00924         printf("; CSound Score generated by DCA CSound Score Generator CHOP \n");
00925         printf("; %s\n", asctime(time_ptr));
00926         printf("; %s\n\n", (const char *)comment);
00927                 
00928         printf("%s%s%s%s\n", 
00929                         ftable_1_str, ftable_2_str, ftable_3_str, ftable_4_str);
00930 }
00931 
00932 fprintf(fp, "; CSound Score generated by DCA CSound Score Generator CHOP\n");
00933 fprintf(fp, "; %s\n", asctime(time_ptr));
00934 fprintf(fp, "; %s\n", (const char *)comment);
00935 fprintf(fp, "%s%s%s%s\n",
00936                 ftable_1_str, ftable_2_str, ftable_3_str, ftable_4_str);
00937 
00938 // If an include has been specified, open the file.
00939 if(inc_tog) {
00940         fprintf(fp, "; CSound score include file: %s\n\n", 
00941                         (const char *)inc_fname);
00942 
00943         if((DEBUG > 0) || console_out) {        
00944                                 printf("; CSound score include file: %s\n\n",
00945                                 (const char *)inc_fname); 
00946         }
00947 
00948         // Open the score include file for reading
00949         if((inc_fp=fopen(inc_fname,"r")) == NULL) {
00950                 cout.setf(ios::unitbuf);
00951                 cout << "Cannot open score include file for reading\n";
00952         addError(CHOP_ERROR_MESSAGE);
00953                 return false;
00954         }
00955         // read the entire include file and print to the score file
00956         while(!feof(inc_fp)) {
00957                 if(fgets(str, 255, inc_fp))
00958                         if((DEBUG > 0) || console_out) { printf("%s", str); }
00959                         fprintf(fp, str); 
00960                 }
00961         fclose(inc_fp);
00962         }
00963 
00964 fflush(fp);
00965 return true;
00966 }

int CHOP_csound_score::writeTheFile void *  data,
int  index,
float  time,
const PRM_Template *  tplate
[static, private]
 

Definition at line 1345 of file CHOP_csound_score.C.

References calledFromCallback, cookMyChop(), DEBUG, myCallBackError, and myCallBackFlags.

01346                                                  {
01347 
01348     if(DEBUG > 0)
01349         cout << "writeTheFile() - Writing the Real Flow SD File" << endl;
01350 
01351     CHOP_csound_score *me = (CHOP_csound_score *) data;
01352 
01353     me->calledFromCallback = true;
01354     me->myCallBackFlags = 0;
01355 
01356     OP_Context myContext(time);
01357 
01358 //    myContext.setData(data, OP_GEOMETRY_DATA);
01359 
01360 //  me->cookMySop(myContext);
01361 
01362     me->myCallBackError = me->cookMyChop(myContext);
01363 
01364 //  me->reportCallBackErrors();
01365 
01366     return 1;
01367 }


Member Data Documentation

bool CHOP_csound_score::calledFromCallback [private]
 

Definition at line 516 of file CHOP_csound_score.h.

Referenced by writeTheFile().

UT_String CHOP_csound_score::comment [private]
 

Definition at line 423 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::console_out [private]
 

Definition at line 431 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::dur_override [private]
 

Definition at line 427 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

float CHOP_csound_score::duration [private]
 

Definition at line 428 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

int CHOP_csound_score::ftable_1 [private]
 

Definition at line 438 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_1 [private]
 

Definition at line 443 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_2 [private]
 

Definition at line 444 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_3 [private]
 

Definition at line 445 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_4 [private]
 

Definition at line 446 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_5 [private]
 

Definition at line 447 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_6 [private]
 

Definition at line 448 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_7 [private]
 

Definition at line 449 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_1_gen_param_8 [private]
 

Definition at line 450 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_1_grd_pt [private]
 

Definition at line 442 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

float CHOP_csound_score::ftable_1_init [private]
 

Definition at line 440 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_1_len [private]
 

Definition at line 441 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_1_on [private]
 

Definition at line 437 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

int CHOP_csound_score::ftable_2 [private]
 

Definition at line 455 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_1 [private]
 

Definition at line 460 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_2 [private]
 

Definition at line 461 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_3 [private]
 

Definition at line 462 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_4 [private]
 

Definition at line 463 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_5 [private]
 

Definition at line 464 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_6 [private]
 

Definition at line 465 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_7 [private]
 

Definition at line 466 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_2_gen_param_8 [private]
 

Definition at line 467 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_2_grd_pt [private]
 

Definition at line 459 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

float CHOP_csound_score::ftable_2_init [private]
 

Definition at line 457 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_2_len [private]
 

Definition at line 458 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_2_on [private]
 

Definition at line 454 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

int CHOP_csound_score::ftable_3 [private]
 

Definition at line 472 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::ftable_3_gen_param [private]
 

Definition at line 478 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_3_gen_param_1 [private]
 

Definition at line 477 of file CHOP_csound_score.h.

int CHOP_csound_score::ftable_3_grd_pt [private]
 

Definition at line 476 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

float CHOP_csound_score::ftable_3_init [private]
 

Definition at line 474 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_3_len [private]
 

Definition at line 475 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_3_on [private]
 

Definition at line 471 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

int CHOP_csound_score::ftable_4 [private]
 

Definition at line 493 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::ftable_4_gen_param [private]
 

Definition at line 499 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

float CHOP_csound_score::ftable_4_gen_param_1 [private]
 

Definition at line 498 of file CHOP_csound_score.h.

int CHOP_csound_score::ftable_4_grd_pt [private]
 

Definition at line 497 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

float CHOP_csound_score::ftable_4_init [private]
 

Definition at line 495 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_4_len [private]
 

Definition at line 496 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::ftable_4_on [private]
 

Definition at line 492 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), and getUIParms().

int CHOP_csound_score::gen_num_1 [private]
 

Definition at line 439 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::gen_num_2 [private]
 

Definition at line 456 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::gen_num_3 [private]
 

Definition at line 473 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::gen_num_4 [private]
 

Definition at line 494 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::inc_fname [private]
 

Definition at line 422 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), getUIParms(), and writeHeader().

int CHOP_csound_score::inc_tog [private]
 

Definition at line 430 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

int CHOP_csound_score::inst [private]
 

Definition at line 424 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

int CHOP_csound_score::inst_name [private]
 

Definition at line 425 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

int CHOP_csound_score::my_C [private]
 

Definition at line 525 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getVariableValue().

float CHOP_csound_score::my_DUR [private]
 

Definition at line 528 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getVariableValue().

int CHOP_csound_score::my_INST_NUM [private]
 

Definition at line 527 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getVariableValue().

int CHOP_csound_score::my_NC [private]
 

Definition at line 526 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getVariableValue().

OP_ERROR CHOP_csound_score::myCallBackError [private]
 

Definition at line 517 of file CHOP_csound_score.h.

Referenced by writeTheFile().

unsigned int CHOP_csound_score::myCallBackFlags [private]
 

Definition at line 518 of file CHOP_csound_score.h.

Referenced by writeTheFile().

UT_ExpandArray CHOP_csound_score::myExpandArray [private]
 

Definition at line 522 of file CHOP_csound_score.h.

PRM_Template CHOP_csound_score::myTemplateList [static]
 

Definition at line 384 of file CHOP_csound_score.C.

OP_TemplatePair CHOP_csound_score::myTemplatePair [static]
 

Referenced by newChopOperator().

CH_LocalVariable CHOP_csound_score::myVariableList [static]
 

Initial value:

 {
    { "C",              VAR_C },
    { "NC",             VAR_NC },
    { "INST_NUM",       VAR_INST_NUM },
    { "DUR",            VAR_DUR },
    { 0 }
}

Definition at line 70 of file CHOP_csound_score.C.

OP_VariablePair CHOP_csound_score::myVariablePair [static]
 

Referenced by newChopOperator().

UT_String CHOP_csound_score::score_fname [private]
 

Definition at line 421 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

UT_String CHOP_csound_score::snd_fname_1 [private]
 

Definition at line 436 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::snd_fname_2 [private]
 

Definition at line 453 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::snd_fname_3 [private]
 

Definition at line 470 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

UT_String CHOP_csound_score::snd_fname_4 [private]
 

Definition at line 491 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), getUIParms(), and writeHeader().

int CHOP_csound_score::time_mode [private]
 

Definition at line 432 of file CHOP_csound_score.h.

Referenced by cookMyChop(), and getUIParms().

float CHOP_csound_score::time_offset [private]
 

Definition at line 433 of file CHOP_csound_score.h.

Referenced by cookMyChop(), and getUIParms().

int CHOP_csound_score::use_event_gate [private]
 

Definition at line 429 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().

int CHOP_csound_score::use_inst_in [private]
 

Definition at line 426 of file CHOP_csound_score.h.

Referenced by CHOP_csound_score(), cookMyChop(), and getUIParms().


The documentation for this class was generated from the following files:
Generated on Wed Sep 17 11:11:57 2003 for Houdini/CSound Extensions by doxygen1.3