Mercurial > jmeCapture
comparison src/com/aurellem/capture/examples/Advanced.java @ 44:388f9d062012
adapting to execellent new jmeSystem changes
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Dec 2011 12:18:55 -0600 |
parents | 2f129118e2d6 |
children | 5cd9e6c65a93 |
comparison
equal
deleted
inserted
replaced
43:2f129118e2d6 | 44:388f9d062012 |
---|---|
65 private Geometry ear3; | 65 private Geometry ear3; |
66 private AudioNode music; | 66 private AudioNode music; |
67 private MotionTrack motionControl; | 67 private MotionTrack motionControl; |
68 | 68 |
69 public static void main(String[] args) { | 69 public static void main(String[] args) { |
70 Logger.getLogger("com.jme3").setLevel(Level.OFF); | 70 //Logger.getLogger("com.jme3").setLevel(Level.OFF); |
71 Advanced app = new Advanced(); | 71 Advanced app = new Advanced(); |
72 AppSettings settings = new AppSettings(true); | 72 AppSettings settings = new AppSettings(true); |
73 settings.setAudioRenderer("Send"); | 73 settings.setAudioRenderer("Send"); |
74 app.setSettings(settings); | 74 app.setSettings(settings); |
75 app.setShowSettings(false); | 75 app.setShowSettings(false); |
213 music.setVolume(1f); | 213 music.setVolume(1f); |
214 music.setReverbEnabled(false); | 214 music.setReverbEnabled(false); |
215 music.setDirectional(false); | 215 music.setDirectional(false); |
216 music.setMaxDistance(200.0f); | 216 music.setMaxDistance(200.0f); |
217 music.setRefDistance(1f); | 217 music.setRefDistance(1f); |
218 music.setRolloffFactor(1f); | 218 //music.setRolloffFactor(1f); |
219 music.setLooping(false); | 219 music.setLooping(false); |
220 audioRenderer.pauseSource(music); | 220 audioRenderer.pauseSource(music); |
221 } | 221 } |
222 | 222 |
223 | 223 |