Musician

Musician

376k Downloads

Remove 6-second duration limitation for notes

LenweSaralonde opened this issue ยท 0 comments

commented

Musician has a 6-second limitation for the note duration. The only reason is the samples have a fixed duration of 6 seconds since they can't be looped by the WoW sound API. However, it should be possible for the Sampler module to retrigger a sample that is about to end to avoid long notes to be muted prematurely, for all instruments that are not percussion or "plucked".

  • Set "looping" points for sustained instruments.
  • Improve MUS format to allow note durations longer than 6 seconds. Use the currently last bit of the MIDI key (currently not used in "duration mode") to determine if the duration is encoded using 8 or 16 bits (long note).
  • Implement sample retrigger in Sampler module.
  • Update protocol to support long notes.