Any ideas on how to quickly fade sample tails on a MIDI MAX/MSP sample playback patch?
Discussion: Take a monophonic MIDI playback sampler. The playback samples are sustaining at full amplitude (e.g. legato strings), and do not loop. When a performer selects a new MIDI note (e.g. on a keyboard), the waveform of the currently sustaining sample will be cut off, and the new one will immediately begin playing. This causes an audible "glitch".
Solution? I suppose I could use an ADSR, but I keep thinking there is a more elegant (and perhaps better sounding) solution. Cross-fading is another option. This must be a very common issue in sample playback, though (?).
Thank you for your consideration,