Examples of SoundListener


Examples of de.mud.jta.event.SoundListener

          System.err.println("jta: no layout property set for '" + name + "'");
          System.err.println("jta: ignoring '" + name + "'");
        }
      }

      pluginLoader.registerPluginListener(new SoundListener() {
        public void playSound(URL audioClip) {
          Applet.this.getAudioClip(audioClip).play();
        }
      });
View Full Code Here

Examples of toxi.audio.SoundListener

        String[] devices = audioUtil.getDeviceList();
        for (String d : devices) {
            System.out.println(d);
        }
        audioUtil.init(JOALUtil.SOFTWARE, false);
        SoundListener l = audioUtil.getListener();
        l.setGain(1);
        AudioBuffer b = audioUtil.loadBuffer("test/phone_ulaw.wav");
        int delay = b.getSampleSize() * 1000 / b.getFrequency();
        System.out.println(b + " length=" + delay);
        if (b.convertUlawToPCM(false)) {
            AudioSource src = audioUtil.generateSource();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.