/[svn]/linuxsampler/trunk/src/engines/sfz/InstrumentScriptVM.h
ViewVC logotype

Annotation of /linuxsampler/trunk/src/engines/sfz/InstrumentScriptVM.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3082 - (hide annotations) (download) (as text)
Mon Jan 9 18:39:35 2017 UTC (7 years, 3 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 1279 byte(s)
* Added support for sfz extension opcode 'script' which may be used to
  load real-time instrument script file (NKSP script language).
* Removed code duplication in SFZ file loading code.
* Bumped version (2.0.0.svn37).

1 schoenebeck 3082 /*
2     * Copyright (c) 2014 - 2017 Christian Schoenebeck
3     *
4     * http://www.linuxsampler.org
5     *
6     * This file is part of LinuxSampler and released under the same terms.
7     * See README file for details.
8     */
9    
10     #ifndef LS_SFZ_INSTRUMENT_SCRIPT_VM_H
11     #define LS_SFZ_INSTRUMENT_SCRIPT_VM_H
12    
13     #include "../common/InstrumentScriptVM.h"
14     //#include "InstrumentScriptVMFunctions.h"
15    
16     namespace LinuxSampler { namespace sfz {
17    
18     /** @brief Real-time instrument script virtual machine (SFZ format).
19     *
20     * Extends the common sampler format independent InstrumentScriptVM with
21     * SFZ format specific built-in script variables and functions.
22     *
23     * Note that this class is currently re-entrant safe, but @b not thread
24     * safe! See also comments of base class ScriptVM regarding this issue.
25     */
26     class InstrumentScriptVM : public LinuxSampler::InstrumentScriptVM {
27     public:
28     InstrumentScriptVM();
29     //VMFunction* functionByName(const String& name) OVERRIDE;
30     //std::map<String,VMIntRelPtr*> builtInIntVariables() OVERRIDE;
31     //std::map<String,VMInt8Array*> builtInIntArrayVariables() OVERRIDE;
32     //std::map<String,int> builtInConstIntVariables() OVERRIDE;
33     };
34    
35     }} // namespace LinuxSampler::sfz
36    
37     #endif // LS_SFZ_INSTRUMENT_SCRIPT_VM_H

  ViewVC Help
Powered by ViewVC