The dry sound of delay function in Sound library is not output

I tested delay function in Sound library with the simple sequencer.
You can control start and stop by space bar.
When delaySw = false, it goes well. But, delaySw = true, the dry sound is not output.
In addition, I would like to adjust balance of dry and wet sound.
How do I can like that?

import processing.sound.*;
SoundFile[] file;
Delay delay;
boolean delaySw = false;

void setup() {
  noLoop();
  delay = new Delay(this);
  file = new SoundFile[2];
  file[0] = new SoundFile(this, "kick.wav");
  file[1] = new SoundFile(this, "snare.wav");
  if (delaySw) {
    delay.process(file[1], 1);
  }
  delay.time(0.375);
  delay.feedback(0.5);
  loop();
}

int tick = 0;
int interval = 500;
int seq = -1;
boolean run = false;

void keyPressed() {
  switch (key) {
    case ' ':
      run = !run;
      break;
  }
}

void draw() {
  if (!run) {
    seq = -1;
    tick = millis();
    return;
  }
  if (millis() < tick) {
    return;
  }
  tick += interval;
  seq++;
  int cnt = seq % 4;
  switch (cnt) {
  case 0:
  case 2:
    file[0].stop();
    file[0].play();
    println(cnt + ":kick");
    break;
  case 1:
  case 3:
    file[1].stop();
    file[1].play();
    println(cnt + ":snare");
    break;
  }
}

I added one more SoundFile object for dry and wet.
Is this right? (You can control delay on/off by `d’ key.)

import processing.sound.*;
SoundFile[] file;
Delay delay;
boolean delaySw = true;

void setup() {
  noLoop();
  delay = new Delay(this);
  file = new SoundFile[3];
  file[0] = new SoundFile(this, "kick.wav");
  file[1] = new SoundFile(this, "snare.wav");
  file[2] = new SoundFile(this, "snare.wav");
  delay.process(file[2], 1);
  delay.time(0.375);
  delay.feedback(0.25);
  loop();
}

int tick = 0;
int interval = 500;
int seq = -1;
boolean run = false;

void keyPressed() {
  switch (key) {
  case ' ':
    run = !run;
    break;
  case 'd':
    delaySw = !delaySw;
    break;
  }
}

float dry = 1.0;
float wet = 0.5;

void draw() {
  if (!run) {
    seq = -1;
    tick = millis();
    return;
  }
  if (millis() < tick) {
    return;
  }
  tick += interval;
  seq++;
  int cnt = seq % 4;
  switch (cnt) {
  case 0:
  case 2:
    file[0].stop();
    file[0].play();
    println(cnt + ":kick");
    break;
  case 1:
  case 3:
    file[1].stop();
    file[2].stop();
    file[1].play(1.0, dry);
    if (delaySw) {
      file[2].play(1.0, wet);
    }
    println(cnt + ":snare " + "delay:" + (delaySw ? "on" : "off"));
    break;
  }
}