979 |
* not available in the GigaStudio 4 software. It is currently only |
* not available in the GigaStudio 4 software. It is currently only |
980 |
* supported by LinuxSampler and gigedit. Scripts will not load with the |
* supported by LinuxSampler and gigedit. Scripts will not load with the |
981 |
* original GigaStudio software. |
* original GigaStudio software. |
982 |
|
* |
983 |
|
* You find more informations about Instrument Scripts on the LinuxSampler |
984 |
|
* documentation site: |
985 |
|
* |
986 |
|
* - <a href="http://doc.linuxsampler.org/Instrument_Scripts/">About Instrument Scripts in General</a> |
987 |
|
* - <a href="http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language">Introduction to the NKSP Script Language</a> |
988 |
|
* - <a href="http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language/Reference/">NKSP Reference Manual</a> |
989 |
|
* - <a href="http://doc.linuxsampler.org/Gigedit/Managing_Scripts">Using Instrument Scripts with Gigedit</a> |
990 |
*/ |
*/ |
991 |
class Script { |
class Script { |
992 |
public: |
public: |
997 |
COMPRESSION_NONE = 0 ///< Is not compressed at all (default). |
COMPRESSION_NONE = 0 ///< Is not compressed at all (default). |
998 |
}; |
}; |
999 |
enum Language_t { |
enum Language_t { |
1000 |
LANGUAGE_NKSP = 0 ///< NKSP stands for "Is Not KSP" (default). |
LANGUAGE_NKSP = 0 ///< NKSP stands for "Is Not KSP" (default). Refer to the <a href="http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language/Reference/">NKSP Reference Manual</a> for details about this script language. |
1001 |
}; |
}; |
1002 |
|
|
1003 |
String Name; ///< Arbitrary name of the script, which may be displayed i.e. in an instrument editor. |
String Name; ///< Arbitrary name of the script, which may be displayed i.e. in an instrument editor. |
1098 |
Region* GetNextRegion(); |
Region* GetNextRegion(); |
1099 |
Region* AddRegion(); |
Region* AddRegion(); |
1100 |
void DeleteRegion(Region* pRegion); |
void DeleteRegion(Region* pRegion); |
1101 |
|
void MoveTo(Instrument* dst); |
1102 |
virtual void UpdateChunks(progress_t* pProgress); |
virtual void UpdateChunks(progress_t* pProgress); |
1103 |
virtual void CopyAssign(const Instrument* orig); |
virtual void CopyAssign(const Instrument* orig); |
1104 |
// own methods |
// own methods |
1268 |
void SetSampleChecksum(Sample* pSample, uint32_t crc); |
void SetSampleChecksum(Sample* pSample, uint32_t crc); |
1269 |
friend class Region; |
friend class Region; |
1270 |
friend class Sample; |
friend class Sample; |
1271 |
|
friend class Instrument; |
1272 |
friend class Group; // so Group can access protected member pRIFF |
friend class Group; // so Group can access protected member pRIFF |
1273 |
friend class ScriptGroup; // so ScriptGroup can access protected member pRIFF |
friend class ScriptGroup; // so ScriptGroup can access protected member pRIFF |
1274 |
private: |
private: |