MuseScore  3.4
Music composition and notation
midiinstrument.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2002-2011 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __MIDIINSTRUMENT_H__
14 #define __MIDIINSTRUMENT_H__
15 
16 //---------------------------------------------------------
17 // MidiInstrument
18 //---------------------------------------------------------
19 
21  int type;
22  int hbank, lbank, patch;
23  int split;
24  const char* name;
25 
26  static QString instrName(int type, int hbank, int lbank, int program);
27  };
28 
29 extern MidiInstrument minstr[];
30 
31 #endif
32 
int type
Definition: midiinstrument.h:21
int hbank
Definition: midiinstrument.h:22
int lbank
Definition: midiinstrument.h:22
Definition: midiinstrument.h:20
int patch
Definition: midiinstrument.h:22
MidiInstrument minstr[]
Definition: midiinstrument.cpp:15
static QString instrName(int type, int hbank, int lbank, int program)
Definition: midiinstrument.cpp:567
const char * name
Definition: midiinstrument.h:24
int split
Definition: midiinstrument.h:23