musicaiz.structure.InstrumentMidiFamilies¶
- class musicaiz.structure.InstrumentMidiFamilies(value)[source]¶
Value 1: List of Midi instrument program number Value 2: Color (for plot purposes) Value 3: Pitch range?
- MIDI Instrument families:
Piano 1-8
Chromatic Percussion 9-16
Organ 17-24
Guitar 25-32
Bass 33-40
Strings 41-48
Ensemble 49-56
Brass 57-64
Reed 65-72
Pipe 73-80
Synth Lead 81-88
Synth Pad 89-96
Synth Effects 97-104
Ethnic 105-112
Percussion 113-119
Sound Effects 120-127
- __init__(*args, **kwargs)¶
Methods
get_family_from_instrument_name
(instr_name)get_family_from_instrument_program
()Attributes
PIANO
CHROMATIC_PERCUSSION
ORGAN
GUITAR
BASS
STRINGS
ENSEMBLE
BRASS
REED
PIPE
SYNTH_LEAD
SYNTH_PAD
SYNTH_EFFECTS
ETHNIC
PERCUSSION
SOUND_EFFECTS
program_range
Returns the list of instrument programs for an instrument family