# Very slow audio playback with Sound library

**URL:** https://discourse.processing.org/t/very-slow-audio-playback-with-sound-library/46857
**Category:** Libraries
**Created:** [August 4, 2025, 9:33pm UTC](https://discourse.processing.org/t/very-slow-audio-playback-with-sound-library/46857 "2025-08-04T21:33:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cjef](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cjef](https://discourse.processing.org/u/cjef)
#### Post date: [August 4, 2025, 9:33pm UTC](https://discourse.processing.org/t/very-slow-audio-playback-with-sound-library/46857/1 "2025-08-04T21:33:50Z")

</div>

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.

```auto
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
