Very slow audio playback with Sound library

I installed the Sound library which is created by the processing foundation itself, and tried to run the SimplePlayback example, but the audio isn’t right and i guess it plays very slowly.

I then created even a simpler sketch and this time with a very small (5 seconds) .wav file exported from Audacity but it has the same problem.

import processing.sound.*;

SoundFile soundFile;

void setup() {
  size(640, 480);
  background(255);
  soundFile = new SoundFile(this, "untitled.wav");
  print(soundFile.sampleRate());
  soundFile.loop();
}

void draw() {  
}  

the printed sample rate is correct and is 48000