MCPcopy Create free account
hub / github.com/bspaans/python-mingus / MidiInstrument

Class MidiInstrument

mingus/containers/instrument.py:125–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124
125class MidiInstrument(Instrument):
126
127 range = (Note("C", 0), Note("B", 8))
128 instrument_nr = 1
129 name = ""
130 names = [
131 "Acoustic Grand Piano",
132 "Bright Acoustic Piano",
133 "Electric Grand Piano",
134 "Honky-tonk Piano",
135 "Electric Piano 1",
136 "Electric Piano 2",
137 "Harpsichord",
138 "Clavi",
139 "Celesta",
140 "Glockenspiel",
141 "Music Box",
142 "Vibraphone",
143 "Marimba",
144 "Xylophone",
145 "Tubular Bells",
146 "Dulcimer",
147 "Drawbar Organ",
148 "Percussive Organ",
149 "Rock Organ",
150 "Church Organ",
151 "Reed Organ",
152 "Accordion",
153 "Harmonica",
154 "Tango Accordion",
155 "Acoustic Guitar (nylon)",
156 "Acoustic Guitar (steel)",
157 "Electric Guitar (jazz)",
158 "Electric Guitar (clean)",
159 "Electric Guitar (muted)",
160 "Overdriven Guitar",
161 "Distortion Guitar",
162 "Guitar harmonics",
163 "Acoustic Bass",
164 "Electric Bass (finger)",
165 "Electric Bass (pick)",
166 "Fretless Bass",
167 "Slap Bass 1",
168 "Slap Bass 2",
169 "Synth Bass 1",
170 "Synth Bass 2",
171 "Violin",
172 "Viola",
173 "Cello",
174 "Contrabass",
175 "Tremolo Strings",
176 "Pizzicato Strings",
177 "Orchestral Harp",
178 "Timpani",
179 "String Ensemble 1",
180 "String Ensemble 2",
181 "SynthStrings 1",
182 "SynthStrings 2",

Callers 3

MIDI_to_CompositionMethod · 0.90
midi_file_out.pyFile · 0.90
test_compositionMethod · 0.85

Calls 1

NoteClass · 0.90

Tested by 1

test_compositionMethod · 0.68