Package com.neuralnetwork.jbrain.sensors

Examples of com.neuralnetwork.jbrain.sensors.AudioSensor


public class Main {

  public static void main(String[] args) throws LineUnavailableException {
   
    ISensor<ArrayList<RGBData>> s = new LowResVisualSensor();
    ISensor<Byte[]> audio = new AudioSensor(128);
    ArrayList<RGBData> data = s.getData();
   
    for (RGBData dd : data) {
        System.out.println(dd);
    }
   
    Byte[] audioData = audio.getData();
    for(Byte b : audioData) {
      System.out.println(b);
    }
  }
View Full Code Here

TOP

Related Classes of com.neuralnetwork.jbrain.sensors.AudioSensor

Copyright © 2018 www.massapicom. 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.