Instrument object - jhhl/AUMI-Together GitHub Wiki

Instrument

Instruments can respond to commands to alter their parameters while playing. Instruments may fall into several categories:

  • one shot sounds
    • played with initial velocity
    • may have a curtailed envelope (cutoff)
    • may have modulations while playing, probably not.
    • provides a flag that proves it's playing. this is used for whole mono mode
  • loops
    • volume may change while playing
    • there may be a resynch signal like for mellotrons. there may be a target chosen to be the resynching target, its 0 is every 0
    • wavetable may be calculated to play at different pitches
  • attack sustain release
    • as in AUMI Sings
    • sustain can be loop or grains
    • pitch and intensity can modulate
    • ranked samples like AUMI Sings

the one shots and asrs could have sforzando jnstruments as sound sources.