Package com.talixa.specan.demod.ook

Examples of com.talixa.specan.demod.ook.CwDemod


    ookMenuItem.addActionListener(new ActionListener() {     
      @Override
      public void actionPerformed(ActionEvent e) {
        WaveFile waveFile = SpectrumAnalyzer.readWaveFile(inputFile);
        short data[] = SharedDSPFunctions.extractWaveFileData(waveFile);
        CwDemod demod = new CwDemod(data);
        String morse = demod.demodulate();
        int speed = demod.getWpm();
        JOptionPane.showMessageDialog(frame, "Speed: " + speed + " WPM\n" + morse);
      }
    });
    demodMenu.add(ookMenuItem);
   
View Full Code Here

TOP

Related Classes of com.talixa.specan.demod.ook.CwDemod

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.