name: SnareAdam
comment: |
    Author: pestis/bC!. Suggested note: F#3. Originally from: 4k intro Adam.

    Main idea is to quickly drop the pitch of a triangle wave (that has harmonics) for the "tom", and add some noise for the "snares".

    Envelope-oscillator-mulp: The "tom". A trisaw, but transpose is modulated (see below).
    Envelope-distort-noise: The "snare".
    Filter: Only keep the very high end of the "snare".
    Distort: Make it loud.
    Delay: Add some reverb to make it sound little less synthetic. Used the exact same coefficients as the main reverb, so they appear in the final .asm only once.
    Compressor: Tame the transient, boost the tail.
    Envelope-distort-send: Quickly drop the pitch of the tom from high to neutral.
numvoices: 1
units:
    - type: envelope
      parameters: {attack: 32, decay: 60, gain: 128, release: 0, stereo: 0, sustain: 0}
    - type: oscillator
      id: 1
      parameters: {color: 64, detune: 64, gain: 128, phase: 0, shape: 64, stereo: 0, transpose: 64, type: 1}
    - type: mulp
      parameters: {stereo: 0}
    - parameters: {}
    - type: envelope
      parameters: {attack: 32, decay: 64, gain: 64, release: 66, stereo: 0, sustain: 0}
    - type: distort
      parameters: {drive: 32, stereo: 0}
    - type: noise
      parameters: {gain: 64, shape: 64, stereo: 0}
    - type: mulp
      parameters: {stereo: 0}
    - type: filter
      parameters: {bandpass: 0, frequency: 106, highpass: 1, lowpass: 0, negbandpass: 0, neghighpass: 0, resonance: 128, stereo: 0}
    - type: addp
      parameters: {stereo: 0}
    - parameters: {}
    - type: distort
      parameters: {drive: 112, stereo: 0}
    - type: delay
      parameters: {count: 8, damp: 0, delay: 1, dry: 128, feedback: 40, notetracking: 0, pregain: 24, stereo: 0}
      varargs: [1116, 1188, 1276, 1356, 1422, 1492, 1556, 1618]
    - type: compressor
      parameters: {attack: 51, invgain: 64, ratio: 112, release: 49, stereo: 0, threshold: 64}
    - type: mulp
      parameters: {stereo: 0}
    - parameters: {}
    - type: pan
      parameters: {panning: 68, stereo: 0}
    - type: outaux
      parameters: {auxgain: 0, outgain: 64, stereo: 1}
    - parameters: {}
    - type: envelope
      parameters: {attack: 0, decay: 60, gain: 128, release: 0, stereo: 0, sustain: 0}
    - type: distort
      parameters: {drive: 5, stereo: 0}
    - type: send
      parameters: {amount: 90, port: 0, sendpop: 1, stereo: 0, target: 1, unit: 0, voice: 0}
