src/main/java/org/teachingextensions/logo/Sound.java
public synchronized void setSound(TKPSound mySound)
  {
    String sound = "soundFiles/" + mySound + ".wav";
    URL resource = this.getClass().getResource(sound);
    if (resource == null)
    {
      resource = this.getClass().getClassLoader().getResource(sound);
    }
    if (resource == null) { throw new IllegalStateException("Could not get TKPSound: " + sound); }
    this.soundUrl = resource;
  }
public synchronized void setSound(TKPSound mySound)
  {
    String sound = "soundFiles/" + mySound + ".wav";
    URL resource = this.getClass().getResource(sound);
    if (resource == null)
    {
      resource = this.getClass().getClassLoader().getResource(sound);
    }
    if (resource == null) { throw new IllegalStateException("Could not get TKPSound: " + sound); }
    this.soundUrl = resource;
  }
Sets a sound that you can play through your speakers.
Use a TKPSound (there is a list)<br>
<b>Example:</b> {@code  Sound.setSound(TKPSound.Ahem)}