public AudioSpeakerSource makeAudioSpeakerSource(String nodeName, String textToSpeech, Vector3f location) {
        AudioSpeakerSource audioNode = createAudioSpeakingNode(textToSpeech);
        audioNode.setPositional(true);                
        audioNode.setDirectional(false);
        /*
        audioNode.setInnerAngle(180f);
        audioNode.setOuterAngle(90f);
         */
        audioNode.setName(nodeName);
        audioNode.setLocalTranslation(location);
        audioNode.setVolume(1f);
        audioNode.setMaxDistance(Float.MAX_VALUE);        
        audioNode.setRefDistance(1f);
        //audioNode.setTimeOffset((float)Math.random());
        return audioNode;
    }
public AudioSpeakerSource makeAudioSpeakerSource ( String nodeName , String textToSpeech , Vector3f location ) { AudioSpeakerSource audioNode = createAudioSpeakingNode ( textToSpeech ) ; audioNode . setPositional ( true ) ; audioNode . setDirectional ( false ) ; audioNode . setName ( nodeName ) ; audioNode . setLocalTranslation ( location ) ; audioNode . setVolume ( 1f ) ; audioNode . setMaxDistance ( Float . MAX_VALUE ) ; audioNode . setRefDistance ( 1f ) ; return audioNode ; }
/*public AudioSource makeAudioSource(String name, String resource, Vector3f location) {
AudioNode audioNode = new AudioNode(assetManager, resource);
audioNode.setChannel(0);
audioNode.setPositional(true);
audioNode.setName(name);
audioNode.setLooping(true);
audioNode.setLocalTranslation(location);
audioNode.setVolume(0.03f);
audioNode.setMaxDistance(100000000);
audioNode.setRefDistance(5f);
audioNode.setTimeOffset((float)Math.random());
AudioSource as = new AudioSource(audioNode, rootNode,assetManager);
return as;
}