new Instrument(instrumentName)
Represents an instrument. instrumentNames are found in the ext/soundfonts directory
See music21.miditools
and esp. loadSoundfont
for a way of loading soundfonts into
instruments.
Parameters:
Name | Type | Description |
---|---|---|
instrumentName |
string |
- Source:
Properties:
Name | Type | Default | Description |
---|---|---|---|
partId |
string | undefined | ||
partName |
string | undefined | ||
partAbbreviation |
string | undefined | ||
instrumentId |
string | undefined | ||
instrumentName |
string | undefined | ||
instrumentAbbreviation |
string | undefined | ||
midiProgram |
int | undefined | ||
midiChannel |
int | undefined | ||
lowestNote |
int | undefined | ||
highestNote |
int | undefined | ||
transposition |
music21.interval.Interval | undefined | ||
inGMPercMap |
Boolean | false | |
soundfontFn |
string | undefined | ||
oggSoundfont |
string | undefined | url of oggSoundfont for this instrument |
|
mp3Soundfont |
string | undefined | url of mp3Soundfont for this instrument |