Audio.SoundFont.Melody.Maker toMelody has the signature:
toMelody :: Midi.Recording -> Melody
with a preset phrase length for the Melody of 0.6s.
we should instead use
toMelody :: Number -> Midi.Recording -> Melody
to allow the user to specify the phrase length. This influences the responsiveness of 'play' buttons in audio players, which can only interrupt the melody after each phrase has played.
Audio.SoundFont.Melody.Maker toMelody has the signature:
with a preset phrase length for the Melody of 0.6s.
we should instead use
to allow the user to specify the phrase length. This influences the responsiveness of 'play' buttons in audio players, which can only interrupt the melody after each phrase has played.