#include <math.h>#include <time.h>#include <UT/UT_Math.h>#include <UT/UT_Floor.h>#include <OP/OP_Operator.h>#include <CH/CH_LocalVariable.h>#include <OP/OP_Node.h>#include <OP/OP_Network.h>#include <OP/OP_Director.h>#include <OP/OP_NodeFlags.h>#include <PRM/PRM_Include.h>#include <CHOP/CHOP_Node.h>#include <CHOP/CHOP_Handle.h>#include <CHOP/PRM_ChopShared.h>#include <OP/OP_OperatorTable.h>#include <UT/UT_DSOVersion.h>#include "CHOP_csound_score.h"Go to the source code of this file.
Defines | |
| #define | DEBUG 0 |
Enumerations | |
| enum | { VAR_C = 000, VAR_NC = 001, VAR_INST_NUM = 003, VAR_DUR = 004 } |
Functions | |
| CHOP_SWITCHER5 (14,"Setup", 15,"f-table#1", 15,"f-table#2", 8,"f-table#3", 8,"f-table#4") | |
| PRM_ChoiceList | inst_nameMenu ((PRM_ChoiceListType)(PRM_CHOICELIST_EXCLUSIVE|PRM_CHOICELIST_REPLACE), CHOP_inst_nameMenu) |
| PRM_ChoiceList | GEN_type_Menu ((PRM_ChoiceListType)(PRM_CHOICELIST_EXCLUSIVE|PRM_CHOICELIST_REPLACE), CHOP_GEN_type_Menu) |
| PRM_ChoiceList | f_table_len_Menu ((PRM_ChoiceListType)(PRM_CHOICELIST_EXCLUSIVE|PRM_CHOICELIST_REPLACE), CHOP_f_table_len_Menu) |
| PRM_Range | offsetRange (PRM_RANGE_RESTRICTED,-65535, PRM_RANGE_UI, 65536) |
| PRM_Default | Default_score_fname (0,"untitled.sco") |
| PRM_Default | Default_include_fname (0,"csound_header.h") |
| PRM_Default | Default_comment (0,"Comments") |
| PRM_Default | Default_snd_fname_1 (0,"untitled.aiff") |
| PRM_Default | Default_ftable_1_len (0,"1024") |
| PRM_Default | Default_snd_fname_2 (0,"untitled.aiff") |
| PRM_Default | Default_ftable_2_len (0,"1024") |
| PRM_Default | Default_snd_fname_3 (0,"untitled.aiff") |
| PRM_Default | Default_ftable_3_len (0,"1024") |
| PRM_Default | Default_ftable_3_gen_parm (0,"0 1 0 1 0 1 0 1 0 1") |
| PRM_Default | Default_snd_fname_4 (0,"untitled.aiff") |
| PRM_Default | Default_ftable_4_len (0,"1024") |
| PRM_Default | Default_ftable_4_gen_parm (0,"0 1 0 1 0 1 0 1 0 1") |
| void | newChopOperator (OP_OperatorTable *table) |
Variables | |
| PRM_Name | names [] |
| PRM_Name | CHOP_inst_nameMenu [] |
| PRM_Name | CHOP_GEN_type_Menu [] |
| PRM_Name | CHOP_f_table_len_Menu [] |
|
|
Definition at line 43 of file CHOP_csound_score.C. Referenced by CHOP_csound_score::CHOP_csound_score(), CHOP_csound_score::cookMyChop(), CHOP_csound_score::writeHeader(), CHOP_csound_score::writeTheFile(), and CHOP_csound_score::~CHOP_csound_score(). |
|
|
Definition at line 61 of file CHOP_csound_score.C.
00062 {
00063 VAR_C = 000,
00064 VAR_NC = 001,
00065 VAR_INST_NUM = 003,
00066 VAR_DUR = 004
00067 };
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 659 of file CHOP_csound_score.C. References CHOP_csound_score::myConstructor(), CHOP_csound_score::myTemplatePair, and CHOP_csound_score::myVariablePair.
00660 {
00661 table->addOperator(
00662 new OP_Operator("csound_score", // Internal name
00663 "CSound Score Generator", // UI name
00664 CHOP_csound_score::myConstructor, // CHOP constructor
00665 &CHOP_csound_score::myTemplatePair, // Parameters
00666 1, // Min # of inputs
00667 3, // Max # of inputs
00668 &CHOP_csound_score::myVariablePair) // Local variables
00669 );
00670 }
|
|
||||||||||||||||||||
|
|
|
|
Initial value: {
PRM_Name("128", "128"),
PRM_Name("256", "256"),
PRM_Name("512", "512"),
PRM_Name("1024", "1024"),
PRM_Name("2048", "2048"),
PRM_Name("4096", "4096"),
PRM_Name("8192", "8192"),
PRM_Name("16384", "16384"),
PRM_Name("32768", "32768"),
PRM_Name("65536", "65536"),
PRM_Name(0),
}
Definition at line 339 of file CHOP_csound_score.C. |
|
|
Initial value: {
PRM_Name("001", "1-Soundfile"),
PRM_Name("002", "2-Numeric Value Access"),
PRM_Name("003", "3-Waveshaping Polynomials"),
PRM_Name("004", "4-Amplitude Normalization"),
PRM_Name("005", "5-Exponential Segment"),
PRM_Name("006", "6-Cubic Segment"),
PRM_Name("007", "7-Line Segment"),
PRM_Name("008", "8-Spline Segment"),
PRM_Name("009", "9-Sine"),
PRM_Name("010", "10-Sine"),
PRM_Name("011", "11-Cosine"),
PRM_Name("012", "12-Amplitude Normalization"),
PRM_Name("013", "13-Waveshaping-Chebyshev first order"),
PRM_Name("014", "14-Waveshaping-Chebyshev second order"),
PRM_Name("015", "15-Waveshaping-phase-quadrature"),
PRM_Name("017", "17-Numeric Value Access"),
PRM_Name("019", "19-Sine"),
PRM_Name("020", "20-Window Function"),
PRM_Name("021", "21-Random Function"),
PRM_Name("023", "23-External File"),
PRM_Name("025", "25-Line/Exponential Segment"),
PRM_Name("027", "27-Line/Exponential Segment"),
PRM_Name(0),
}
Definition at line 311 of file CHOP_csound_score.C. |
|
|
Definition at line 177 of file CHOP_csound_score.C. |
|
|
Definition at line 82 of file CHOP_csound_score.C. Referenced by CHOP_csound_score::CHOP_csound_score(). |
1.3