|
wavelength 1.0.0
|
ActiveX control that edits synthesiser banks for the workbook add-in. More...
#include <SyntheditCtl.h>


Public Member Functions | |
| CSyntheditCtrl () | |
| virtual void | OnDraw (CDC *pdc, const CRect &rcBounds, const CRect &rcInvalid) |
| Fill the bounds with white and draw an ellipse. | |
| virtual void | DoPropExchange (CPropExchange *pPX) |
| Exchange the persistent properties, of which there are none besides the version. | |
| virtual void | OnResetState () |
Protected Member Functions | |
| ~CSyntheditCtrl () | |
| Stop the systems InitSynthControl() started. | |
| afx_msg long | NewBank () |
| Create a bank, loading it from a file the user picks or prompting for its bank change identifier. | |
| afx_msg long | AttachSampleToInstrument (long iBankID, long iSampleID, long iInstrumentID) |
| Add a description that plays a sample to an instrument. | |
| afx_msg long | DeleteInstrument (long iBankID, long iInstrumentID) |
| Delete an instrument and its descriptions, and update the worksheets. | |
| afx_msg long | DeleteSample (long iBankID, long iSampleID) |
| Delete a sample and the descriptions that play it, and update the worksheets. | |
| afx_msg long | NewInstrument (long iBankID) |
| Add an instrument with program zero. | |
| afx_msg long | NewSample (long iBankID) |
| Add the samples of the WAV files the user picks. | |
| afx_msg long | RetireBank (long iBankID) |
| Close a bank. | |
| afx_msg long | ShutdownSynthCtrl () |
| Do nothing. | |
| afx_msg long | MakeSimpleBankFile () |
| Create a bank of six instruments of four samples each, which the user picks, save it, and close it. | |
| afx_msg long | XferSynthData (long iBankID, long iAction, VARIANT FAR *ioLongArray, VARIANT FAR *ioStringArray) |
| Read or write the data of a bank, an instrument, a sample description, or a sample. | |
| afx_msg long | DoDebugSomething () |
| Do nothing. | |
| afx_msg long | ReadAndSaveBankFile () |
| Create a bank, save it, and close it. | |
| afx_msg long | SaveBank (long iBankID, long iSaveAs) |
| Save a bank, prompting for the file when it has none or when requested. | |
| afx_msg long | NewSamplesFromFolder (long iBankID) |
| Add the WAV files of a folder the user picks, and of its subfolders, as samples. | |
| afx_msg long | NewInstrumentsFromFolder (long iBankID) |
| Add an instrument for each folder, the one the user picks and its subfolders, that has WAV files, playing those files. | |
| afx_msg long | NewSampleDescription (long iBankID, long iInstrumentID, long iSampleIDOptional) |
| Add descriptions to an instrument for a sample, or for the WAV files the user picks. | |
| afx_msg long | DeleteSampleDescription (long iBankID, long iInstrumentID, long iSampleDescID) |
| Delete a description from an instrument. | |
| afx_msg long | InitSynthControl (LPCTSTR iSystemDirectory) |
| Start the systems with the editor configuration. | |
| afx_msg void | AboutBox () |
| Show the about box. | |
| void | FireUpdateSampleComments (long iBankID, VARIANT FAR *iSampleIDs) |
| void | FireUpdateSampleDescriptionComments (long iBankID, long iSampleID, VARIANT FAR *iSampleDescIDs) |
| void | FireUpdateSampleData (long iBankID, long iSampleID) |
| void | FireUpdateBankData (long iBankID) |
| void | FireUpdateInstrumentData (long iBankID, long iInstrumentID) |
| void | FireUpdateSampleDescData (long iBankID, long iInstrumentID, long iSampleDescID) |
| void | FireUpdateInstrumentComments (long iBankID, long iInstrumentID) |
| void | FireInsertNewSample (long iBankID, long iSampleID) |
| void | FireProtectWorkSheets (long iBankID, long iYesNo) |
| void | FireInsertNewInstrument (long iBankID, long iInstrumentID) |
| void | FireInsertNewSampleDescription (long iBankID, long iInstrumentID, long iSampleDescID) |
| void | FireDeleteSampleDescription (long iBankID, long iInstrumentID, long iSampleDescID) |
| void | FireDeleteInstrument (long iBankID, long iInstrumentID) |
| void | FireDeleteSample (long iBankID, long iSampleID) |
| void | FireUpdateHyperLinks (long iBankID) |
ActiveX control that edits synthesiser banks for the workbook add-in.
The control is invisible at run time. The add-in calls its methods and keeps its worksheets in step through its events. The class name is from the runtime class information; the names of the methods and events are from the type library.
| anonymous enum |
Dispatch identifiers of the methods, as the type library numbers them.
The data XferSynthData() reads or writes, as the add-in numbers it.
| Enumerator | |
|---|---|
| kActionGetBankData | Bank volume, identifier, and name. |
| kActionGetInstrumentData | Instrument settings and name. |
| kActionGetSampleDescData | Sample description settings and name. |
| kActionGetSampleData | Sample loop points, file, and users. |
| kActionGetBankSamplesIDs | Identifiers of the bank's samples. |
| kActionGetBankInstrumentIDs | Identifiers of the bank's instruments. |
| kActionGetInstrumentSampleDescIDs | Identifiers of an instrument's descriptions. |
| kActionGetSampleWriteup | Text about a sample. |
| kActionGetInstrumentWriteup | Text about an instrument. |
| kActionSetBankData | Bank volume, identifier, and name. |
| kActionSetInstrumentData | Instrument settings and name. |
| kActionSetSampleDescData | Sample description settings and name. |
| kActionSetSampleData | Sample loop points and name. |
| kActionGetReferencedSample | The sample a description plays. |
| CSyntheditCtrl::CSyntheditCtrl | ( | ) |
|
protected |
Stop the systems InitSynthControl() started.
|
virtual |
Fill the bounds with white and draw an ellipse.
| pdc | The device context. |
| rcBounds | The bounds of the control. |
| rcInvalid | The area to redraw. |
|
virtual |
Exchange the persistent properties, of which there are none besides the version.
| pPX | The exchange. |
|
virtual |
|
protected |
Create a bank, loading it from a file the user picks or prompting for its bank change identifier.
The prompt repeats until the identifier is not negative.
|
protected |
Add a description that plays a sample to an instrument.
| iBankID | The bank. |
| iSampleID | The sample. |
| iInstrumentID | The instrument. |
|
protected |
Delete an instrument and its descriptions, and update the worksheets.
| iBankID | The bank. |
| iInstrumentID | The instrument. |
|
protected |
Delete a sample and the descriptions that play it, and update the worksheets.
| iBankID | The bank. |
| iSampleID | The sample. |
|
protected |
Add an instrument with program zero.
| iBankID | The bank. |
|
protected |
Add the samples of the WAV files the user picks.
| iBankID | The bank. |
|
protected |
Close a bank.
| iBankID | The bank. |
|
protected |
Do nothing.
|
protected |
Create a bank of six instruments of four samples each, which the user picks, save it, and close it.
|
protected |
Read or write the data of a bank, an instrument, a sample description, or a sample.
| iBankID | The bank. |
| iAction | An XferAction. |
| ioLongArray | A one-dimensional array of VT_I4 for the numbers. |
| ioStringArray | A one-dimensional array of VT_BSTR for the text. |
|
protected |
Do nothing.
|
protected |
Create a bank, save it, and close it.
|
protected |
Save a bank, prompting for the file when it has none or when requested.
| iBankID | The bank. |
| iSaveAs | Positive to prompt for the file even when the bank has one. |
|
protected |
Add the WAV files of a folder the user picks, and of its subfolders, as samples.
| iBankID | The bank. |
|
protected |
Add an instrument for each folder, the one the user picks and its subfolders, that has WAV files, playing those files.
| iBankID | The bank. |
|
protected |
Add descriptions to an instrument for a sample, or for the WAV files the user picks.
| iBankID | The bank. |
| iInstrumentID | The instrument. |
| iSampleIDOptional | The sample, or a negative value to prompt for files. |
|
protected |
Delete a description from an instrument.
| iBankID | The bank. |
| iInstrumentID | The instrument. |
| iSampleDescID | The description. |
|
protected |
Start the systems with the editor configuration.
| iSystemDirectory | The directory of synth_editor_config.txt. |
|
protected |
Show the about box.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |