Source code for phimidi.instruments

"""
wrapper for managing instruments
"""
#  import phimidi as pm
from . import instrument_types as I
from .instrument import Instrument


[docs]def make_piano(mf, channel): return Instrument(mf, I.acoustic_grand_piano, channel)
[docs]def make_vibes(mf, channel): return Instrument(mf, I.vibraphone, channel)
[docs]def make_bass(mf, channel): return Instrument(mf, I.acoustic_bass, channel)
[docs]def make_horns(mf, channel): return Instrument(mf, I.brass_section, channel)
[docs]def make_strings(mf, channel): return Instrument(mf, I.string_ensemble_1, channel)