sounds = new HashMap<Integer, Sound>();
for(Entry<Integer, SampleData> entry : chart.getSamples().entrySet())
{
SampleData sampleData = entry.getValue();
try {
Sound sound = soundSystem.load(sampleData);
sounds.put(entry.getKey(), sound);
} catch (SoundSystemException ex) {
java.util.logging.Logger.getLogger(Render.class.getName()).log(Level.SEVERE, "{0}", ex);
}
try {