@Override
    public void onUpdate(float tpf) {
        if (audioNode.getStatus() == AudioSource.Status.Stopped) {
            stop();
        }
    }
creates a sound event
used for serialization
jme3-core/src/main/java/com/jme3/cinematic/events/SoundEvent.java