|  |     (BTW, this is the third time I've tried to reply to this item and
    had my answer blown away by a network error.  At least Notes-11
    would leave you a .TMP file to recover with.  Any suggestions? 
    I can't find any help in the VAXNotes documentation)
    
 1) Tom describes the simple answer.  More resourceful samplers use
    the looping technique you ask about next to solve the problem of
    "played duration longer than sampled duration".  The pitch is
    controlled by the effective rate at which the sample is read out;
    I say "effective" because it's usually easier to repeat or skip
    sample values than actually change the clock rate.  Note that some
    samples should be played back at a fixed length independent of how
    long a key is held down - e.g., percussive sounds.
    
 2) Again, more resourceful samplers use a more effective technique.
    Divide the sample into three phases - attack, sustain, release.
    When the key goes down, read out the attack phase.  If the key goes
    up before you get to the end of the attack phase, go to the release
    phase.  If you get to the end of the attack phase and the key is
    still down, read out the sustain phase.  If the key goes up before
    you get to the end of the sustain phase, go to the release phase.
    If you get to the end of the sustain phase and the key is still
    down, go back to the beginning of the sustain phase.  Repeat as
    necessary.
    
    Good samplers allow you to edit the sustain phase so the start and
    end points match up better.  This way the looping is not egregiously
    obvious.  They may also allow you to control the attack phase read
    rate as a function of key velocity or pitch, simulating "envelope
    time dynamics" and "envelope key follow".
    
 3) You usually tell the sampler which key you want the sampled sound
    to correspond to.  You can "tune" the entire instrument by changing
    the clock frequency a little.  This means you can transpose down
    or up at sample time, if you want.
    
    
    I think sampling is still and "up-and-coming" technology.  I think
    it shows most promise as a source of waveforms to which you can
    then apply the filtering and enveloping techniques developed to
    support subtractive synthesis.
    
    len.
    
 |