|
Csound and CsoundAC API
5.17
|
#include <ScoreGeneratorVst.hpp>
Inheritance diagram for ScoreGeneratorVst:Public Member Functions | |
| virtual VstInt32 | canDo (char *text) |
| virtual void | clear () |
| virtual void | clearEvents () |
| Remove all stored events from the event array. | |
| virtual void | close () |
| virtual void | closeView () |
| virtual bool | copyProgram (VstInt32 destination) |
| virtual size_t | event (double start, double duration, double status, double channel, double data1, double data2) |
| Python function to add an event to the stored event array. | |
| virtual int | generate () |
| Clear the event array; execute the stored Python script, which may generate events and add them to the event array; sort the event array; mark this plugin as live. | |
| virtual VstInt32 | getChunk (void **data, bool isPreset) |
| virtual AEffEditor * | getEditor () |
| virtual bool | getEffectName (char *name) |
| virtual std::string | getFilename () const |
| virtual bool | getInputProperties (VstInt32 index, VstPinProperties *properties) |
| virtual std::string | getMidiFilename () const |
| virtual bool | getOutputProperties (VstInt32 index, VstPinProperties *properties) |
| virtual std::string | getOutputSoundfileName () const |
| virtual VstPlugCategory | getPlugCategory () |
| virtual bool | getProductString (char *name) |
| virtual VstInt32 | getProgram () |
| virtual void | getProgramName (char *name) |
| virtual bool | getProgramNameIndexed (VstInt32 category, VstInt32 index, char *text) |
| virtual std::string | getScript () const |
| virtual std::string | getText () |
| virtual bool | getVendorString (char *name) |
| virtual void | initialize () |
| virtual bool | keysRequired () |
| virtual void | load (std::string filename) |
| virtual void | loadAppend (std::string filename) |
| virtual void | log (char *message) |
| Python function to print a message to the log window. | |
| virtual void | logv (char *format,...) |
| virtual void | main (int argc, char **argv) |
| virtual void | open () |
| Initialize the embedded Python interpreter, create a ScoreGenerator proxy, bind it to this. | |
| virtual void | openFile (std::string filename) |
| virtual void | openView (bool doRun=true) |
| virtual void | process (float **inputs, float **outputs, VstInt32 sampleFrames) |
| virtual VstInt32 | processEvents (VstEvents *vstEvents) |
| virtual void | processReplacing (float **inputs, float **outputs, VstInt32 sampleFrames) |
| virtual void | reset () |
| virtual void | resume () |
| virtual int | runScript () |
| virtual int | runScript (std::string script_) |
| Run a Python script using the embedded interpreter. | |
| virtual void | save (std::string filename) const |
| virtual void | save () const |
| ScoreGeneratorVst (audioMasterCallback audioMaster) | |
| ScoreGeneratorVst () | |
| virtual void | sendEvents (VstInt32 frames) |
| Send all events occurring within the current block of sample frames, relative to the start of the track or part, to the host. | |
| virtual VstInt32 | setChunk (void *data, VstInt32 byteSize, bool isPreset) |
| virtual void | setFilename (std::string filename) |
| virtual void | setProgram (VstInt32 program) |
| virtual void | setProgramName (char *name) |
| virtual void | setScript (std::string text) |
| virtual void | setText (const std::string text) |
| virtual void | stop () |
| virtual void | suspend () |
| virtual bool | synchronizeScore (VstInt32 blockSize) |
| virtual | ~ScoreGeneratorVst () |
Static Public Member Functions | |
| static std::string | generateFilename () |
Data Fields | |
| std::vector< Preset > | bank |
Protected Types | |
| enum | { kNumInputs = 2 } |
| enum | { kNumOutputs = 2 } |
| enum | { kNumPrograms = 10 } |
Protected Attributes | |
| char | alive |
| std::string | filename |
| PyObject * | score |
| std::multimap< double, ScoreGeneratorEvent > | scoreGeneratorEvents |
| ScoreGeneratorVstFltk * | scoreGeneratorVstFltk |
| std::string | script |
| double | vstCurrentBlockStart |
| double | vstCurrentBlockStartFrame |
| VstEvents * | vstEventsPointer |
| double | vstFramesPerSecond |
| double | vstInputLatency |
| double | vstInputLatencySeconds |
| std::vector< VstMidiEvent > | vstMidiEventsBuffer |
| double | vstSecondsPerFrame |
| bool | vstTransportActive |
Static Protected Attributes | |
| static void * | pythonLibrary |
| static const char * | pythonLibraryPathList [] |
| ScoreGeneratorVst::ScoreGeneratorVst | ( | audioMasterCallback | audioMaster | ) |
|
virtual |
| ScoreGeneratorVst::ScoreGeneratorVst | ( | ) |
|
virtual |
|
virtualinherited |
|
virtual |
Remove all stored events from the event array.
|
virtualinherited |
|
virtual |
|
virtual |
|
virtual |
Python function to add an event to the stored event array.
If the event is a "note on", a matching "note off" event is created and stored as well.
|
virtual |
Clear the event array; execute the stored Python script, which may generate events and add them to the event array; sort the event array; mark this plugin as live.
|
staticinherited |
|
virtual |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtualinherited |
|
virtualinherited |
|
virtual |
Python function to print a message to the log window.
Newlines are not automatically added, but must be embedded in the message string.
|
virtual |
|
virtualinherited |
|
virtual |
Initialize the embedded Python interpreter, create a ScoreGenerator proxy, bind it to this.
Reimplemented from csound::Shell.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtual |
Run a Python script using the embedded interpreter.
The script will have access to the 'score' proxy object for this, with event and log functions, also std::vector<VstMidiEvent> functions.
Reimplemented from csound::Shell.
|
virtualinherited |
|
virtualinherited |
|
virtual |
Send all events occurring within the current block of sample frames, relative to the start of the track or part, to the host.
|
virtual |
|
virtualinherited |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtualinherited |
|
virtual |
|
virtual |
|
protected |
| std::vector<Preset> ScoreGeneratorVst::bank |
|
protectedinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.1.2