code: private static Playback createPlayback(Media media, Align alignment, int volume) throws IOException
      {
          final AudioInputStream input = openStream(media);
          final SourceDataLine dataLine = getDataLine(input);
          dataLine.start();
          updateAlignment(dataLine, alignment);
          updateVolume(dataLine, volume);
  
          return new Playback(input, dataLine);
      }
docs: Play a sound.
  
  @param media The audio media.
  @param alignment The alignment type.
  @param volume The audio volume value.
  @return The created and opened playback ready to be played.
  @throws IOException If playback error.