13 #ifndef __MINSTRUMENT_H__ 14 #define __MINSTRUMENT_H__ 42 bool read(
const QByteArray&, MQZipReader*,
const QString&
path);
50 bool load(
const QString&);
61 static QByteArray
buf;
Definition: instrument.h:30
bool read(const QByteArray &, MQZipReader *, const QString &path)
Definition: instrument.cpp:182
~ZInstrument()
Definition: instrument.cpp:109
void setRefCount(int val)
Definition: instrument.h:49
QString name() const
Definition: instrument.h:52
int _refCount
Definition: instrument.h:32
int program() const
Definition: instrument.h:51
bool loadSfz(const QString &)
Definition: sfz.cpp:592
Sample * readSample(const QString &s, MQZipReader *uz)
Definition: instrument.cpp:43
Definition: zerberus.h:75
const std::list< Zone * > & zones() const
Definition: instrument.h:54
std::list< Zone * > _zones
Definition: instrument.h:36
QString path() const
Definition: instrument.h:53
int refCount() const
Definition: instrument.h:48
void addZone(Zone *z)
Definition: instrument.h:57
QString _name
Definition: instrument.h:33
static QByteArray buf
Definition: instrument.h:61
bool load(const QString &)
Definition: instrument.cpp:120
QString instrumentPath
Definition: instrument.h:35
static int idx
Definition: instrument.h:62
std::list< Zone * > & zones()
Definition: instrument.h:55
ZInstrument(Zerberus *)
Definition: instrument.cpp:96
bool loadFromDir(const QString &)
Definition: instrument.cpp:137
bool loadFromFile(const QString &)
Definition: instrument.cpp:156
void addRegion(SfzRegion &)
Definition: sfz.cpp:294
Definition: xmlreader.h:28
int getSetCC(int v)
Definition: instrument.h:59
int _setcc[128]
Definition: instrument.h:37
int _program
Definition: instrument.h:34
Zerberus * zerberus
Definition: instrument.h:31