Package com.talixa.specan.demod.psk

Examples of com.talixa.specan.demod.psk.Psk31Demod


      @Override
      public void actionPerformed(ActionEvent e) {
        int center = Integer.valueOf(freqText.getText());
       
        try {
          Psk31Demod demod = new Psk31Demod(inputFile);
          String data = demod.demodulate(center);   
          data = data.replaceAll("\r", "\n");
          FrameDecodedMessage.createAndShowGUI(data);                           
          frame.dispose();       
        } catch (IOException e1) {
          JOptionPane.showMessageDialog(frame, SpecAnConstants.ERROR_FILE_LOAD);
View Full Code Here


    String testFile = "/home/thomas/audio/rtty-psk.wav";   
    try {     
      WaveFile waveFile = WaveReader.readFromFile(testFile);
      short[] data = SharedDSPFunctions.extractWaveFileData(waveFile);           
      data = filterData(data, 1750, 2150);     
      Psk31Demod demod = new Psk31Demod(data);
      String msg = demod.demodulate(1900);
      System.out.println(msg);
    } catch (IOException e) {     
      e.printStackTrace();
    } catch (RiffFormatException e) {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.talixa.specan.demod.psk.Psk31Demod

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.