This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
void open_score_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 20 of file inOut.h.
References dataScore, editor_win(), and open().
00021 { 00022 dataScore = 0; 00023 editor_win(); 00024 open(); 00025 }
Here is the call graph for this function:
void open_data_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 27 of file inOut.h.
References dataScore, editor_win(), and open().
00028 { 00029 dataScore = 1; 00030 editor_win(); 00031 open(); 00032 }
Here is the call graph for this function:
void open_orc_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 34 of file inOut.h.
References dataScore, editor_win(), and open().
00035 { 00036 dataScore = 2; 00037 editor_win(); 00038 open(); 00039 }
Here is the call graph for this function:
void load_file | ( | const char * | n | ) |
Definition at line 48 of file inOut.h.
00048 { 00049 if (img) img->release(); 00050 00051 img = Fl_Shared_Image::get(n); 00052 if (!img) { 00053 fl_alert("Image file format not recognized!"); 00054 return; 00055 } 00056 if (img->w() > b->w() || img->h() > b->h()) { 00057 Fl_Image *temp; 00058 if (img->w() > img->h()) temp = img->copy(b->w(), b->h() * img->h() / img->w()); 00059 else temp = img->copy(b->w() * img->w() / img->h(), b->h()); 00060 00061 img->release(); 00062 img = (Fl_Shared_Image *)temp; 00063 } 00064 b->label(name); 00065 b->image(img); 00066 b->redraw(); 00067 }
void file_cb | ( | const char * | n | ) |
void fileOrc_cb | ( | const char * | n | ) |
void fileData_cb | ( | const char * | n | ) |
void fileGroup_cb | ( | const char * | n | ) |
void fileHelp_cb | ( | const char * | n | ) |
void btload_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
void btloadOrc_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 111 of file inOut.h.
References fileOrc_cb(), and name.
Referenced by makeWinPath().
00112 { 00113 fl_file_chooser_callback(fileOrc_cb); 00114 fl_file_chooser("Orc file?","*orc|*csd", name); 00115 fl_file_chooser_callback(0); 00116 }
Here is the call graph for this function:
void btloadData_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 118 of file inOut.h.
References fileData_cb(), and name.
Referenced by makeWinPath().
00119 { 00120 fl_file_chooser_callback(fileData_cb); 00121 fl_file_chooser("Text file?","*.{txt}", name); 00122 fl_file_chooser_callback(0); 00123 }
Here is the call graph for this function:
void btloadGroup_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 125 of file inOut.h.
References fileGroup_cb(), and name.
00126 { 00127 fl_file_chooser_callback(fileGroup_cb); 00128 fl_file_chooser("GDir","", name); 00129 fl_file_chooser_callback(0); 00130 }
Here is the call graph for this function:
void btloadHelp_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 132 of file inOut.h.
References fileHelp_cb(), and name.
Referenced by makeWinPath().
00133 { 00134 fl_file_chooser_callback(fileHelp_cb); 00135 fl_file_chooser("html file?","*.{html}", name); 00136 fl_file_chooser_callback(0); 00137 }
Here is the call graph for this function:
void clearsco_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 141 of file inOut.h.
References act, actVal, bt_enable_act, def_act(), nserie, outData, and scoPath.
Referenced by make_form().
00142 { 00143 if (!fl_ask("Delete all contents of the current score file?")) return; 00144 ofstream out1(scoPath->value(), ios::trunc); 00145 out1.close(); 00146 00147 ofstream out2(outData->value(), ios::trunc); 00148 out2.close(); 00149 00150 actVal->value(0); 00151 nserie->value(0); 00152 act = 0; 00153 if ( bt_enable_act->value() == 0) 00154 { 00155 def_act(); 00156 } 00157 }
Here is the call graph for this function:
void readPrefs_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 159 of file inOut.h.
References bt_enable_act, def_act(), ini_act(), out_File, readPrefs(), and readPrefsSerie().
Referenced by makeWinPath().
00160 { 00161 if (out_File->value() >= 1) 00162 { 00163 readPrefs(); 00164 readPrefsSerie(); 00165 ini_act(); 00166 if (bt_enable_act->value() == 0) 00167 { 00168 def_act(); 00169 } 00170 } 00171 else 00172 { 00173 (fl_message("Load before an already existing data group and series")); 00174 } 00175 }
Here is the call graph for this function:
void writePrefs_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 177 of file inOut.h.
References loadMoreParams, loadMoreParams2, out_File, writePrefs(), writePrefsSerieParams(), and writePrefsSerieParams2().
Referenced by make_form(), and makeWinPath().
00178 { 00179 if (out_File->value() >= 1) 00180 { 00181 if (!fl_ask("Do you want really save this setting?")) return; 00182 writePrefs(); 00183 if (loadMoreParams == 1) { 00184 writePrefsSerieParams(); 00185 } 00186 if (loadMoreParams2 == 1) { 00187 writePrefsSerieParams2(); 00188 } 00189 } 00190 else 00191 { 00192 (fl_message("Load before an already existing data group and series")); 00193 } 00194 //exit(0); 00195 }
Here is the call graph for this function:
void init_all_series | ( | ) |
Definition at line 197 of file inOut.h.
References bt_enable_p10, bt_enable_p10b, bt_enable_p11, bt_enable_p11b, bt_enable_p12, bt_enable_p12b, bt_enable_p13, bt_enable_p13b, bt_enable_p14, bt_enable_p14b, bt_enable_p15, bt_enable_p15b, bt_enable_p6, bt_enable_p6b, bt_enable_p7, bt_enable_p7b, bt_enable_p8, bt_enable_p8b, bt_enable_p9, bt_enable_p9b, ini_act(), ini_db(), ini_dur(), ini_instr(), ini_p10(), ini_p10b(), ini_p11(), ini_p11b(), ini_p12(), ini_p12b(), ini_p13(), ini_p13b(), ini_p14(), ini_p14b(), ini_p15(), ini_p15b(), ini_p6(), ini_p6b(), ini_p7(), ini_p7b(), ini_p8(), ini_p8b(), ini_p9(), ini_p9b(), ini_pitch(), loadMoreParams, and loadMoreParams2.
Referenced by score_out().
00198 { 00199 ini_pitch(); 00200 ini_db(); 00201 ini_instr(); 00202 ini_dur(); 00203 ini_act(); 00204 if (loadMoreParams == 1) 00205 { 00206 if (bt_enable_p6->value() == 1) 00207 { 00208 ini_p6(); 00209 } 00210 if (bt_enable_p7->value() == 1) 00211 { 00212 ini_p7(); 00213 } 00214 if (bt_enable_p8->value() == 1) 00215 { 00216 ini_p8(); 00217 } 00218 if (bt_enable_p9->value() == 1) 00219 { 00220 ini_p9(); 00221 } 00222 if (bt_enable_p10->value() == 1) 00223 { 00224 ini_p10(); 00225 } 00226 if (bt_enable_p11->value() == 1) 00227 { 00228 ini_p11(); 00229 } 00230 if (bt_enable_p12->value() == 1) 00231 { 00232 ini_p12(); 00233 } 00234 if (bt_enable_p13->value() == 1) 00235 { 00236 ini_p13(); 00237 } 00238 if (bt_enable_p14->value() == 1) 00239 { 00240 ini_p14(); 00241 } 00242 if (bt_enable_p15->value() == 1) 00243 { 00244 ini_p15(); 00245 } 00246 } 00247 00248 if (loadMoreParams2 == 1) 00249 { 00250 if (bt_enable_p6b->value() == 1) 00251 { 00252 ini_p6b(); 00253 } 00254 if (bt_enable_p7b->value() == 1) 00255 { 00256 ini_p7b(); 00257 } 00258 if (bt_enable_p8b->value() == 1) 00259 { 00260 ini_p8b(); 00261 } 00262 if (bt_enable_p9b->value() == 1) 00263 { 00264 ini_p9b(); 00265 } 00266 if (bt_enable_p10b->value() == 1) 00267 { 00268 ini_p10b(); 00269 } 00270 if (bt_enable_p11b->value() == 1) 00271 { 00272 ini_p11b(); 00273 } 00274 if (bt_enable_p12b->value() == 1) 00275 { 00276 ini_p12b(); 00277 } 00278 if (bt_enable_p13b->value() == 1) 00279 { 00280 ini_p13b(); 00281 } 00282 if (bt_enable_p14b->value() == 1) 00283 { 00284 ini_p14b(); 00285 } 00286 if (bt_enable_p15b->value() == 1) 00287 { 00288 ini_p15b(); 00289 } 00290 } 00291 }
Here is the call graph for this function:
void select_comb | ( | ) |
Definition at line 295 of file inOut.h.
References autoCounterpoint, outAutoCroce(), outAutoJumpone(), outAutoRetro(), and outAutoSlide().
Referenced by score_out().
00296 { 00297 if (autoCounterpoint == 1) 00298 { 00299 outAutoCroce(); 00300 } 00301 else if (autoCounterpoint == 2) 00302 { 00303 outAutoRetro(); 00304 } 00305 else if (autoCounterpoint == 3) 00306 { 00307 outAutoSlide(); 00308 } 00309 else if (autoCounterpoint == 4) 00310 { 00311 outAutoJumpone(); 00312 } 00313 }
Here is the call graph for this function:
void score_out | ( | ) |
Definition at line 315 of file inOut.h.
References act, act_1, act_12, actTime(), actVal, bt_enable_act, bt_enable_p10, bt_enable_p10b, bt_enable_p11, bt_enable_p11b, bt_enable_p12, bt_enable_p12b, bt_enable_p13, bt_enable_p13b, bt_enable_p14, bt_enable_p14b, bt_enable_p15, bt_enable_p15b, bt_enable_p6, bt_enable_p6b, bt_enable_p7, bt_enable_p7b, bt_enable_p8, bt_enable_p8b, bt_enable_p9, bt_enable_p9b, def_act(), dur_12, init_act, init_all_series(), init_db, init_dur, init_instr, init_p10, init_p10b, init_p11, init_p11b, init_p12, init_p12b, init_p13, init_p13b, init_p14, init_p14b, init_p15, init_p15b, init_p6, init_p6b, init_p7, init_p7b, init_p8, init_p8b, init_p9, init_p9b, init_pitch, loadMoreParams, loadMoreParams2, nserie, out_setting(), scoPath, select_comb(), subset(), formula::trp_seq(), window, winParamn, and winParamnb.
Referenced by outAutoCroce_cb(), outAutoJumpone_cb(), outAutoRetro_cb(), outAutoSlide_cb(), and scoreout_cb().
00316 { 00317 out_setting(); 00318 formula formula; 00319 formula.trp_seq(); 00320 window->redraw(); 00321 if (loadMoreParams == 1) { 00322 winParamn->redraw(); 00323 } 00324 if (loadMoreParams2 == 1) { 00325 winParamnb->redraw(); 00326 } 00327 init_all_series(); 00328 window->redraw(); 00329 if (loadMoreParams == 1) { 00330 winParamn->redraw(); 00331 } 00332 if (loadMoreParams2 == 1) { 00333 winParamnb->redraw(); 00334 } 00335 int i; 00336 ofstream out(scoPath->value(), ios::app); 00337 out.setf(ios::left); 00338 00339 struct tm *ptr; 00340 time_t lt; 00341 lt = time('\0'); 00342 ptr = localtime(<); 00343 00344 out << ";>>>csmusgen INPUT session: " << asctime(ptr) << "\n\n"; 00345 00346 if (bt_enable_act->value() == 0) 00347 { 00348 actVal->value(act_12->value() + dur_12->value()); 00349 act_1->value(actVal->value()); 00350 } 00351 out << setw(11) << ";p1" << setw(20) << ";p2" << setw(20) << ";p3"; 00352 out << setw(20) << ";p4" << setw(20) << ";p5"; 00353 if ( loadMoreParams == 1 ) { 00354 if (bt_enable_p6->value() == 1) 00355 { 00356 out << setw(20) << ";p6"; 00357 } 00358 if (bt_enable_p7->value() == 1) 00359 { 00360 out << setw(20) << ";p7"; 00361 } 00362 if (bt_enable_p8->value() == 1) 00363 { 00364 out << setw(20) << ";p8"; 00365 } 00366 if (bt_enable_p9->value() == 1) 00367 { 00368 out << setw(20) << ";p9"; 00369 } 00370 if (bt_enable_p10->value() == 1) 00371 { 00372 out << setw(20) << ";p10"; 00373 } 00374 if (bt_enable_p11->value() == 1) 00375 { 00376 out << setw(20) << ";p11"; 00377 } 00378 if (bt_enable_p12->value() == 1) 00379 { 00380 out << setw(20) << ";p12"; 00381 } 00382 if (bt_enable_p13->value() == 1) 00383 { 00384 out << setw(20) << ";p13"; 00385 } 00386 if (bt_enable_p14->value() == 1) 00387 { 00388 out << setw(20) << ";p14"; 00389 } 00390 if (bt_enable_p15->value() == 1) 00391 { 00392 out << setw(20) << ";p15"; 00393 } 00394 } 00395 ////// 00396 if ( loadMoreParams2 == 1 ) { 00397 if (bt_enable_p6b->value() == 1) 00398 { 00399 out << setw(20) << ";p16"; 00400 } 00401 if (bt_enable_p7b->value() == 1) 00402 { 00403 out << setw(20) << ";p17"; 00404 } 00405 if (bt_enable_p8b->value() == 1) 00406 { 00407 out << setw(20) << ";p18"; 00408 } 00409 if (bt_enable_p9b->value() == 1) 00410 { 00411 out << setw(20) << ";p19"; 00412 } 00413 if (bt_enable_p10b->value() == 1) 00414 { 00415 out << setw(20) << ";p20"; 00416 } 00417 if (bt_enable_p11b->value() == 1) 00418 { 00419 out << setw(20) << ";p21"; 00420 } 00421 if (bt_enable_p12b->value() == 1) 00422 { 00423 out << setw(20) << ";p22"; 00424 } 00425 if (bt_enable_p13b->value() == 1) 00426 { 00427 out << setw(20) << ";p23"; 00428 } 00429 if (bt_enable_p14b->value() == 1) 00430 { 00431 out << setw(20) << ";p24"; 00432 } 00433 if (bt_enable_p15b->value() == 1) 00434 { 00435 out << setw(20) << ";p25"; 00436 } 00437 } 00438 ////// 00439 out << "\n"; 00440 for (i=0;i<12;i++) 00441 { 00442 out << "i" << setw(10) << init_instr[i]; 00443 out << setw(20); 00444 out << init_act[i]; 00445 act = act + init_dur[i]; 00446 out << setw(20); 00447 out << init_dur[i]; 00448 out << setw(20); 00449 out << init_db[i]; 00450 out << setw(20); 00451 out << init_pitch[i]; 00452 if (loadMoreParams == 1) { 00453 if (bt_enable_p6->value() == 1) 00454 { 00455 out << setw(20); 00456 out << init_p6[i]; 00457 } 00458 if (bt_enable_p7->value() == 1) 00459 { 00460 out << setw(20); 00461 out << init_p7[i]; 00462 } 00463 if (bt_enable_p8->value() == 1) 00464 { 00465 out << setw(20); 00466 out << init_p8[i]; 00467 } 00468 if (bt_enable_p9->value() == 1) 00469 { 00470 out << setw(20); 00471 out << init_p9[i]; 00472 } 00473 if (bt_enable_p10->value() == 1) 00474 { 00475 out << setw(20); 00476 out << init_p10[i]; 00477 } 00478 if (bt_enable_p11->value() == 1) 00479 { 00480 out << setw(20); 00481 out << init_p11[i]; 00482 } 00483 if (bt_enable_p12->value() == 1) 00484 { 00485 out << setw(20); 00486 out << init_p12[i]; 00487 } 00488 if (bt_enable_p13->value() == 1) 00489 { 00490 out << setw(20); 00491 out << init_p13[i]; 00492 } 00493 if (bt_enable_p14->value() == 1) 00494 { 00495 out << setw(20); 00496 out << init_p14[i]; 00497 } 00498 if (bt_enable_p15->value() == 1) 00499 { 00500 out << setw(20); 00501 out << init_p15[i]; 00502 } 00503 } 00504 if (loadMoreParams2 == 1) { 00505 if (bt_enable_p6b->value() == 1) 00506 { 00507 out << setw(20); 00508 out << init_p6b[i]; 00509 } 00510 if (bt_enable_p7b->value() == 1) 00511 { 00512 out << setw(20); 00513 out << init_p7b[i]; 00514 } 00515 if (bt_enable_p8b->value() == 1) 00516 { 00517 out << setw(20); 00518 out << init_p8b[i]; 00519 } 00520 if (bt_enable_p9b->value() == 1) 00521 { 00522 out << setw(20); 00523 out << init_p9b[i]; 00524 } 00525 if (bt_enable_p10b->value() == 1) 00526 { 00527 out << setw(20); 00528 out << init_p10b[i]; 00529 } 00530 if (bt_enable_p11b->value() == 1) 00531 { 00532 out << setw(20); 00533 out << init_p11b[i]; 00534 } 00535 if (bt_enable_p12b->value() == 1) 00536 { 00537 out << setw(20); 00538 out << init_p12b[i]; 00539 } 00540 if (bt_enable_p13b->value() == 1) 00541 { 00542 out << setw(20); 00543 out << init_p13b[i]; 00544 } 00545 if (bt_enable_p14b->value() == 1) 00546 { 00547 out << setw(20); 00548 out << init_p14b[i]; 00549 } 00550 if (bt_enable_p15b->value() == 1) 00551 { 00552 out << setw(20); 00553 out << init_p15b[i]; 00554 } 00555 } 00556 00557 out << '\n'; 00558 } 00559 out << '\n'; 00560 00561 out.close(); 00562 subset(); 00563 select_comb(); 00564 window->redraw(); 00565 if (loadMoreParams == 1) { 00566 winParamn->redraw(); 00567 } 00568 if (loadMoreParams2 == 1) { 00569 winParamnb->redraw(); 00570 } 00571 00572 if (bt_enable_act->value() == 0) 00573 { 00574 actVal->value(act_12->value() + dur_12->value()); 00575 actTime(); 00576 } 00577 else if (bt_enable_act->value() == 1) 00578 { 00579 def_act(); 00580 } 00581 nserie->value(nserie->value() + 1); 00582 }
Here is the call graph for this function:
void out_setting | ( | ) |
Definition at line 584 of file inOut.h.
References act_1, act_10, act_11, act_12, act_2, act_3, act_4, act_5, act_6, act_7, act_8, act_9, actVal, auto_ctp, bt_calc_act, bt_enable_act, bt_enable_db, bt_enable_dur, bt_enable_instr, bt_enable_pch, counterpointAct, counterpointDb, counterpointDur, counterpointInstr, counterpointPitch, dataPath, db_1, db_10, db_11, db_12, db_2, db_3, db_4, db_5, db_6, db_7, db_8, db_9, dur_1, dur_10, dur_11, dur_12, dur_2, dur_3, dur_4, dur_5, dur_6, dur_7, dur_8, dur_9, instr_1, instr_10, instr_11, instr_12, instr_2, instr_3, instr_4, instr_5, instr_6, instr_7, instr_8, instr_9, loadMoreParams, loadMoreParams2, logic_a, logic_b, logic_c, max_db, max_dur, max_instr, max_pch, min_db, min_dur, min_instr, min_pch, nserie, orcPath, out_File, outData, outMinMaxAct, outMinMaxDb, outMinMaxDur, outMinMaxInstr, outMinMaxPitch, outP10, outP10b, outP11, outP11b, outP12, outP12b, outP13, outP13b, outP14, outP14b, outP15, outP15b, outP6, outP6b, outP7, outP7b, outP8, outP8b, outP9, outP9b, outSerieDb, outSerieDur, outSerieInstr, outSeriePitch, p10_1, p10_10, p10_10b, p10_11, p10_11b, p10_12, p10_12b, p10_1b, p10_2, p10_2b, p10_3, p10_3b, p10_4, p10_4b, p10_5, p10_5b, p10_6, p10_6b, p10_7, p10_7b, p10_8, p10_8b, p10_9, p10_9b, p11_1, p11_10, p11_10b, p11_11, p11_11b, p11_12, p11_12b, p11_1b, p11_2, p11_2b, p11_3, p11_3b, p11_4, p11_4b, p11_5, p11_5b, p11_6, p11_6b, p11_7, p11_7b, p11_8, p11_8b, p11_9, p11_9b, p12_1, p12_10, p12_10b, p12_11, p12_11b, p12_12, p12_12b, p12_1b, p12_2, p12_2b, p12_3, p12_3b, p12_4, p12_4b, p12_5, p12_5b, p12_6, p12_6b, p12_7, p12_7b, p12_8, p12_8b, p12_9, p12_9b, p13_1, p13_10, p13_10b, p13_11, p13_11b, p13_12, p13_12b, p13_1b, p13_2, p13_2b, p13_3, p13_3b, p13_4, p13_4b, p13_5, p13_5b, p13_6, p13_6b, p13_7, p13_7b, p13_8, p13_8b, p13_9, p13_9b, p14_1, p14_10, p14_10b, p14_11, p14_11b, p14_12, p14_12b, p14_1b, p14_2, p14_2b, p14_3, p14_3b, p14_4, p14_4b, p14_5, p14_5b, p14_6, p14_6b, p14_7, p14_7b, p14_8, p14_8b, p14_9, p14_9b, p15_1, p15_10, p15_10b, p15_11, p15_11b, p15_12, p15_12b, p15_1b, p15_2, p15_2b, p15_3, p15_3b, p15_4, p15_4b, p15_5, p15_5b, p15_6, p15_6b, p15_7, p15_7b, p15_8, p15_8b, p15_9, p15_9b, p6_1, p6_10, p6_10b, p6_11, p6_11b, p6_12, p6_12b, p6_1b, p6_2, p6_2b, p6_3, p6_3b, p6_4, p6_4b, p6_5, p6_5b, p6_6, p6_6b, p6_7, p6_7b, p6_8, p6_8b, p6_9, p6_9b, p7_1, p7_10, p7_10b, p7_11, p7_11b, p7_12, p7_12b, p7_1b, p7_2, p7_2b, p7_3, p7_3b, p7_4, p7_4b, p7_5, p7_5b, p7_6, p7_6b, p7_7, p7_7b, p7_8, p7_8b, p7_9, p7_9b, p8_1, p8_10, p8_10b, p8_11, p8_11b, p8_12, p8_12b, p8_1b, p8_2, p8_2b, p8_3, p8_3b, p8_4, p8_4b, p8_5, p8_5b, p8_6, p8_6b, p8_7, p8_7b, p8_8, p8_8b, p8_9, p8_9b, p9_1, p9_10, p9_10b, p9_11, p9_11b, p9_12, p9_12b, p9_1b, p9_2, p9_2b, p9_3, p9_3b, p9_4, p9_4b, p9_5, p9_5b, p9_6, p9_6b, p9_7, p9_7b, p9_8, p9_8b, p9_9, p9_9b, pch_1, pch_10, pch_11, pch_12, pch_2, pch_3, pch_4, pch_5, pch_6, pch_7, pch_8, pch_9, scoPath, and serieName.
Referenced by score_out(), and scoreout_cb().
00585 { 00586 ofstream out(outData->value(), ios::app); 00587 00588 struct tm *ptr; 00589 time_t lt; 00590 lt = time('\0'); 00591 ptr = localtime(<); 00592 00593 out << ";>>>csmusgen INPUT session: " << asctime(ptr) << "\n\n"; 00594 out << setw(25) << "orc file:" << setw(5) << "[" << orcPath->value() << "]" << "\n"; 00595 out << setw(25) << "sco file:" << setw(5) << "[" << scoPath->value() << "]" << "\n"; 00596 out << setw(25) << "group:" << setw(5) << "[" << dataPath->value() << "]" << "\n"; 00597 out << setw(25) << "serie number:" << setw(5) << "[" << out_File->text() << "]" << "\n"; 00598 out << setw(25) << "serie name:" << setw(5) << "[" << serieName->value() << "]" << "\n"; 00599 out << setw(25) << "Action time:" << setw(5) << "[" << actVal->value() << "]" << "\n"; 00600 out << setw(25) << "Formula:" << setw(5) << "[" << logic_a->value() << " " << logic_b->value() << " " << logic_c->value() << "]"<< "\n"; 00601 00602 if (outSeriePitch->value() == 1) { 00603 out << setw(25) << "INPUT pitch series:"; 00604 out << setw(5) << "[" << pch_1->value() << " " << pch_2->value() << " " << pch_3->value() << " " << pch_4->value() << " " ; 00605 out << pch_5->value() << " " << pch_6->value() << " " << pch_7->value() << " " << pch_8->value() << " " ; 00606 out << pch_9->value() << " " << pch_10->value() << " " << pch_11->value() << " " << pch_12->value() << "]" << "\n" ; 00607 } 00608 00609 if (outSerieDur->value() == 1) { 00610 out << setw(25) << "INPUT durations series:"; 00611 out << setw(5) << "[" << dur_1->value() << " " << dur_2->value() << " " << dur_3->value() << " " << dur_4->value() << " " ; 00612 out << dur_5->value() << " " << dur_6->value() << " " << dur_7->value() << " " << dur_8->value() << " " ; 00613 out << dur_9->value() << " " << dur_10->value() << " " << dur_11->value() << " " << dur_12->value() << "]" << "\n" ; 00614 } 00615 00616 if (outSerieDb->value() == 1) { 00617 out << setw(25) << "INPUT db series:"; 00618 out << setw(5) << "[" << db_1->value() << " " << db_2->value() << " " << db_3->value() << " " << db_4->value() << " " ; 00619 out << db_5->value() << " " << db_6->value() << " " << db_7->value() << " " << db_8->value() << " " ; 00620 out << db_9->value() << " " << db_10->value() << " " << db_11->value() << " " << db_12->value() << "]" << "\n" ; 00621 } 00622 00623 if (outSerieInstr->value() == 1) { 00624 out << setw(25) << "INPUT instr series:"; 00625 out << setw(5) << "[" << instr_1->value() << " " << instr_2->value() << " " << instr_3->value() << " " << instr_4->value() << " " ; 00626 out << instr_5->value() << " " << instr_6->value() << " " << instr_7->value() << " " << instr_8->value() << " " ; 00627 out << instr_9->value() << " " << instr_10->value() << " " << instr_11->value() << " " << instr_12->value() << "]" << "\n" ; 00628 } 00629 00630 if (loadMoreParams == 1) { 00631 if (outP6->value() == 1) { 00632 out << setw(25) << "INPUT p6 series:"; 00633 out << setw(5) << "[" << p6_1->value() << " " << p6_2->value() << " " << p6_3->value() << " " << p6_4->value() << " " ; 00634 out << p6_5->value() << " " << p6_6->value() << " " << p6_7->value() << " " << p6_8->value() << " " ; 00635 out << p6_9->value() << " " << p6_10->value() << " " << p6_11->value() << " " << p6_12->value() << "]" << "\n" ; 00636 } 00637 00638 if (outP7->value() == 1) { 00639 out << setw(25) << "INPUT p7 series:"; 00640 out << setw(5) << "[" << p7_1->value() << " " << p7_2->value() << " " << p7_3->value() << " " << p7_4->value() << " " ; 00641 out << p7_5->value() << " " << p7_6->value() << " " << p7_7->value() << " " << p7_8->value() << " " ; 00642 out << p7_9->value() << " " << p7_10->value() << " " << p7_11->value() << " " << p7_12->value() << "]" << "\n" ; 00643 } 00644 00645 if (outP8->value() == 1) { 00646 out << setw(25) << "INPUT p8 series:"; 00647 out << setw(5) << "[" << p8_1->value() << " " << p8_2->value() << " " << p8_3->value() << " " << p8_4->value() << " " ; 00648 out << p8_5->value() << " " << p8_6->value() << " " << p8_7->value() << " " << p8_8->value() << " " ; 00649 out << p8_9->value() << " " << p8_10->value() << " " << p8_11->value() << " " << p8_12->value() << "]" << "\n" ; 00650 } 00651 00652 if (outP9->value() == 1) { 00653 out << setw(25) << "INPUT p9 series:"; 00654 out << setw(5) << "[" << p9_1->value() << " " << p9_2->value() << " " << p9_3->value() << " " << p9_4->value() << " " ; 00655 out << p9_5->value() << " " << p9_6->value() << " " << p9_7->value() << " " << p9_8->value() << " " ; 00656 out << p9_9->value() << " " << p9_10->value() << " " << p9_11->value() << " " << p9_12->value() << "]" << "\n" ; 00657 } 00658 00659 if (outP10->value() == 1) { 00660 out << setw(25) << "INPUT p10 series:"; 00661 out << setw(5) << "[" << p10_1->value() << " " << p10_2->value() << " " << p10_3->value() << " " << p10_4->value() << " " ; 00662 out << p10_5->value() << " " << p10_6->value() << " " << p10_7->value() << " " << p10_8->value() << " " ; 00663 out << p10_9->value() << " " << p10_10->value() << " " << p10_11->value() << " " << p10_12->value() << "]" << "\n" ; 00664 } 00665 00666 if (outP11->value() == 1) { 00667 out << setw(25) << "INPUT p11 series:"; 00668 out << setw(5) << "[" << p11_1->value() << " " << p11_2->value() << " " << p11_3->value() << " " << p11_4->value() << " " ; 00669 out << p11_5->value() << " " << p11_6->value() << " " << p11_7->value() << " " << p11_8->value() << " " ; 00670 out << p11_9->value() << " " << p11_10->value() << " " << p11_11->value() << " " << p11_12->value() << "]" << "\n" ; 00671 } 00672 00673 if (outP12->value() == 1) { 00674 out << setw(25) << "INPUT p12 series:"; 00675 out << setw(5) << "[" << p12_1->value() << " " << p12_2->value() << " " << p12_3->value() << " " << p12_4->value() << " " ; 00676 out << p12_5->value() << " " << p12_6->value() << " " << p12_7->value() << " " << p12_8->value() << " " ; 00677 out << p12_9->value() << " " << p12_10->value() << " " << p12_11->value() << " " << p12_12->value() << "]" << "\n" ; 00678 } 00679 00680 if (outP13->value() == 1) { 00681 out << setw(25) << "INPUT p13 series:"; 00682 out << setw(5) << "[" << p13_1->value() << " " << p13_2->value() << " " << p13_3->value() << " " << p13_4->value() << " " ; 00683 out << p13_5->value() << " " << p13_6->value() << " " << p13_7->value() << " " << p13_8->value() << " " ; 00684 out << p13_9->value() << " " << p13_10->value() << " " << p13_11->value() << " " << p13_12->value() << "]" << "\n" ; 00685 } 00686 00687 if (outP14->value() == 1) { 00688 out << setw(25) << "INPUT p14 series:"; 00689 out << setw(5) << "[" << p14_1->value() << " " << p14_2->value() << " " << p14_3->value() << " " << p14_4->value() << " " ; 00690 out << p14_5->value() << " " << p14_6->value() << " " << p14_7->value() << " " << p14_8->value() << " " ; 00691 out << p14_9->value() << " " << p14_10->value() << " " << p14_11->value() << " " << p14_12->value() << "]" << "\n" ; 00692 } 00693 00694 if (outP15->value() == 1) { 00695 out << setw(25) << "INPUT p15 series:"; 00696 out << setw(5) << "[" << p15_1->value() << " " << p15_2->value() << " " << p15_3->value() << " " << p15_4->value() << " " ; 00697 out << p15_5->value() << " " << p15_6->value() << " " << p15_7->value() << " " << p15_8->value() << " " ; 00698 out << p15_9->value() << " " << p15_10->value() << " " << p15_11->value() << " " << p15_12->value() << "]" << "\n" ; 00699 } 00700 } 00701 00702 ////////////////////////////////////////////// 00703 if (loadMoreParams2 == 1) 00704 { 00705 if (outP6b->value() == 1) { 00706 out << setw(25) << "INPUT p16 series:"; 00707 out << setw(5) << "[" << p6_1b->value() << " " << p6_2b->value() << " " << p6_3b->value() << " " << p6_4b->value() << " " ; 00708 out << p6_5b->value() << " " << p6_6b->value() << " " << p6_7b->value() << " " << p6_8b->value() << " " ; 00709 out << p6_9b->value() << " " << p6_10b->value() << " " << p6_11b->value() << " " << p6_12b->value() << "]" << "\n" ; 00710 } 00711 00712 if (outP7b->value() == 1) { 00713 out << setw(25) << "INPUT p17 series:"; 00714 out << setw(5) << "[" << p7_1b->value() << " " << p7_2b->value() << " " << p7_3b->value() << " " << p7_4b->value() << " " ; 00715 out << p7_5b->value() << " " << p7_6b->value() << " " << p7_7b->value() << " " << p7_8b->value() << " " ; 00716 out << p7_9b->value() << " " << p7_10b->value() << " " << p7_11b->value() << " " << p7_12b->value() << "]" << "\n" ; 00717 } 00718 00719 if (outP8b->value() == 1) { 00720 out << setw(25) << "INPUT p18 series:"; 00721 out << setw(5) << "[" << p8_1b->value() << " " << p8_2b->value() << " " << p8_3b->value() << " " << p8_4b->value() << " " ; 00722 out << p8_5b->value() << " " << p8_6b->value() << " " << p8_7b->value() << " " << p8_8b->value() << " " ; 00723 out << p8_9b->value() << " " << p8_10b->value() << " " << p8_11b->value() << " " << p8_12b->value() << "]" << "\n" ; 00724 } 00725 00726 if (outP9b->value() == 1) { 00727 out << setw(25) << "INPUT p19 series:"; 00728 out << setw(5) << "[" << p9_1b->value() << " " << p9_2b->value() << " " << p9_3b->value() << " " << p9_4b->value() << " " ; 00729 out << p9_5b->value() << " " << p9_6b->value() << " " << p9_7b->value() << " " << p9_8b->value() << " " ; 00730 out << p9_9b->value() << " " << p9_10b->value() << " " << p9_11b->value() << " " << p9_12b->value() << "]" << "\n" ; 00731 } 00732 00733 if (outP10b->value() == 1) { 00734 out << setw(25) << "INPUT p20 series:"; 00735 out << setw(5) << "[" << p10_1b->value() << " " << p10_2b->value() << " " << p10_3b->value() << " " << p10_4b->value() << " " ; 00736 out << p10_5b->value() << " " << p10_6b->value() << " " << p10_7b->value() << " " << p10_8b->value() << " " ; 00737 out << p10_9b->value() << " " << p10_10b->value() << " " << p10_11b->value() << " " << p10_12b->value() << "]" << "\n" ; 00738 } 00739 00740 if (outP11b->value() == 1) { 00741 out << setw(25) << "INPUT p21 series:"; 00742 out << setw(5) << "[" << p11_1b->value() << " " << p11_2b->value() << " " << p11_3b->value() << " " << p11_4b->value() << " " ; 00743 out << p11_5b->value() << " " << p11_6b->value() << " " << p11_7b->value() << " " << p11_8b->value() << " " ; 00744 out << p11_9b->value() << " " << p11_10b->value() << " " << p11_11b->value() << " " << p11_12b->value() << "]" << "\n" ; 00745 } 00746 00747 if (outP12b->value() == 1) { 00748 out << setw(25) << "INPUT p22 series:"; 00749 out << setw(5) << "[" << p12_1b->value() << " " << p12_2b->value() << " " << p12_3b->value() << " " << p12_4b->value() << " " ; 00750 out << p12_5b->value() << " " << p12_6b->value() << " " << p12_7b->value() << " " << p12_8b->value() << " " ; 00751 out << p12_9b->value() << " " << p12_10b->value() << " " << p12_11b->value() << " " << p12_12b->value() << "]" << "\n" ; 00752 } 00753 00754 if (outP13b->value() == 1) { 00755 out << setw(25) << "INPUT p23 series:"; 00756 out << setw(5) << "[" << p13_1b->value() << " " << p13_2b->value() << " " << p13_3b->value() << " " << p13_4b->value() << " " ; 00757 out << p13_5b->value() << " " << p13_6b->value() << " " << p13_7b->value() << " " << p13_8b->value() << " " ; 00758 out << p13_9b->value() << " " << p13_10b->value() << " " << p13_11b->value() << " " << p13_12b->value() << "]" << "\n" ; 00759 } 00760 00761 if (outP14b->value() == 1) { 00762 out << setw(25) << "INPUT p24 series:"; 00763 out << setw(5) << "[" << p14_1b->value() << " " << p14_2b->value() << " " << p14_3b->value() << " " << p14_4b->value() << " " ; 00764 out << p14_5b->value() << " " << p14_6b->value() << " " << p14_7b->value() << " " << p14_8b->value() << " " ; 00765 out << p14_9b->value() << " " << p14_10b->value() << " " << p14_11b->value() << " " << p14_12b->value() << "]" << "\n" ; 00766 } 00767 00768 if (outP15b->value() == 1) { 00769 out << setw(25) << "INPUT p25 series:"; 00770 out << setw(5) << "[" << p15_1b->value() << " " << p15_2b->value() << " " << p15_3b->value() << " " << p15_4b->value() << " " ; 00771 out << p15_5b->value() << " " << p15_6b->value() << " " << p15_7b->value() << " " << p15_8b->value() << " " ; 00772 out << p15_9b->value() << " " << p15_10b->value() << " " << p15_11b->value() << " " << p15_12b->value() << "]" << "\n" ; 00773 } 00774 } 00775 ////////////////////////////////////////////// 00776 00777 if (outMinMaxPitch->value() == 1) { 00778 out << setw(25) << "min / max pitch value:" << setw(5) << "[" << min_pch->text() << "] " << "[" << max_pch->text() << "]" << "\n"; 00779 } 00780 00781 if (outMinMaxDur->value() == 1) { 00782 out << setw(25) << "min / max dur value:" << setw(5) << "[" << min_dur->text() << "] " << "[" << max_dur->text() << "]" << "\n"; 00783 } 00784 00785 if (outMinMaxDb->value() == 1) { 00786 out << setw(25) << "min / max db value:" << setw(5) << "[" << min_db->text() << "] " << "[" << max_db->text() << "]" << "\n"; 00787 } 00788 00789 if (outMinMaxInstr->value() == 1) { 00790 out << setw(25) << "min / max instr value:" << setw(5) << "[" << min_instr->text() << "] " << "[" << max_instr->text() << "]" << "\n"; 00791 } 00792 00793 00794 if (outMinMaxPitch->value() == 1) { 00795 if (bt_enable_pch->value() == 1 ) 00796 { 00797 out << setw(25) << "PITCH SERIE STATUS:" << setw(5) << "[" << "ACTIVE" << "]" << "\n"; 00798 out << setw(25) << "pitch combination:" << setw(5) << "[" << auto_ctp->text() << "]" << "\n"; 00799 } 00800 else if (bt_enable_pch->value() == 0 ) 00801 { 00802 out << setw(25) << "PITCH SERIE STATUS:" << setw(5) << "[" << "INACTIVE" << "]" << "\n"; 00803 out << setw(25) << "pitch combination:" << setw(5) << "[" << counterpointPitch->text() << "]" << "\n"; 00804 } 00805 } 00806 00807 if (outMinMaxDur->value() == 1) { 00808 if (bt_enable_dur->value() == 1 ) 00809 { 00810 out << setw(25) << "DUR SERIE STATUS:" << setw(5) << "[" << "ACTIVE" << "]" << "\n"; 00811 out << setw(25) << "dur combination:" << setw(5) << "[" << auto_ctp->text() << "]" << "\n"; 00812 } 00813 else if (bt_enable_dur->value() == 0 ) 00814 { 00815 out << setw(25) << "DUR SERIE STATUS:" << setw(5) << "[" << "INACTIVE" << "]" << "\n"; 00816 out << setw(25) << "dur combination:" << setw(5) << "[" << counterpointDur->text() << "\n"; 00817 } 00818 } 00819 00820 00821 if (outMinMaxDb->value() == 1) { 00822 if (bt_enable_db->value() == 1 ) 00823 { 00824 out << setw(25) << "DB SERIE STATUS:" << setw(5) << "[" << "ACTIVE" << "]" << "\n"; 00825 out << setw(25) << "db combination:" << setw(5) << "[" << auto_ctp->text() << "]" << "\n"; 00826 } 00827 else if (bt_enable_db->value() == 0 ) 00828 { 00829 out << setw(25) << "DB SERIE STATUS:" << setw(5) << "[" << "INACTIVE" << "]" << "\n"; 00830 out << setw(25) << "db combination:" << setw(5) << "[" << counterpointDb->text() << "]" << "\n"; 00831 } 00832 } 00833 00834 if (outMinMaxInstr->value() == 1) { 00835 if (bt_enable_instr->value() == 1 ) 00836 { 00837 out << setw(25) << "INSTR SERIE STATUS:" << setw(5) << "[" << "ACTIVE" << "]" << "\n"; 00838 out << setw(25) << "instr combination:" << setw(5) << "[" << auto_ctp->text() << "]" << "\n"; 00839 } 00840 else if (bt_enable_instr->value() == 0 ) 00841 { 00842 out << setw(25) << "INSTR SERIE STATUS:" << setw(5) << "[" << "INACTIVE" << "]" << "\n"; 00843 out << setw(25) << "instr combination:" << setw(5) << "[" << counterpointInstr->text() << "[" << "\n"; 00844 } 00845 } 00846 00847 if (outMinMaxAct->value() == 1) { 00848 if (bt_enable_act->value() == 1 ) 00849 { 00850 out << setw(25) << "using act serie:" << setw(5) << "[" << "YES" << "]" << "\n"; 00851 out << setw(25) << "INPUT act series:"; 00852 out << setw(5) << "[" << act_1->value() << " " << act_2->value() << " " << act_3->value() << " " << act_4->value() << " " ; 00853 out << act_5->value() << " " << act_6->value() << " " << act_7->value() << " " << act_8->value() << " " ; 00854 out << act_9->value() << " " << act_10->value() << " " << act_11->value() << " " << act_12->value() << "]" << "\n" ; 00855 } 00856 else if (bt_enable_act->value() == 0 ) 00857 { 00858 out <<setw(25) << "using act serie:" << setw(5) << "[" << "NO" << "]" << "\n"; 00859 } 00860 00861 if (bt_calc_act->value() == 1 ) 00862 { 00863 out << setw(25) << "ACT SERIE STATUS:" << setw(5) << "[" << "ACTIVE" << "]" << "\n"; 00864 out << setw(25) << "act combination:" << setw(5) << "[" << auto_ctp->text() << "]" << "\n"; 00865 } 00866 else if (bt_calc_act->value() == 0 ) 00867 { 00868 out << setw(25) << "ACT SERIE STATUS:" << setw(5) << "[" << "INACTIVE" << "]" << "\n"; 00869 out << setw(25) << "act combination:" << setw(5) << "[" << counterpointAct->text() << "]" << "\n"; 00870 } 00871 } 00872 00873 out << "SERIES N. " << nserie->value() << " HAS BEEN GENERATED\n\n\n"; 00874 out.close(); 00875 00876 }
void scoreout_cb | ( | Fl_Widget * | , | |
void * | ||||
) |
Definition at line 878 of file inOut.h.
References out_setting(), and score_out().
00879 { 00880 out_setting(); 00881 score_out(); 00882 }
Here is the call graph for this function:
Fl_Shared_Image* img |
Fl_Box* b |
char name[1024] [static] |
Definition at line 46 of file inOut.h.
Referenced by btload_cb(), btloadData_cb(), btloadGroup_cb(), btloadHelp_cb(), btloadOrc_cb(), file_cb(), fileData_cb(), fileGroup_cb(), fileHelp_cb(), fileOrc_cb(), and load_file().