private void HandleWaveform(WaveformMessage waveform) { var result = Algorithm.Instance.TFF(waveform.VData, waveform.SamplePoint, waveform.SampleFre); Sender.Tell(new TFFMessage(result)); }
private void HandleEnvelope(WaveformMessage envelope) { var result = Algorithm.Instance.Envelope(envelope.VData, envelope.SamplePoint); Sender.Tell(new EnvelopeMessage(result)); }
private void HandleCepstrum(WaveformMessage Cepstrum) { var result = Algorithm.Instance.Cepstrum(Cepstrum.VData, Cepstrum.SamplePoint); Sender.Tell(new CepstrumMessage(result)); }