All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vacco.volach.wavelet.dto.VlAudioIOParameters Maven / Gradle / Ivy

package io.vacco.volach.wavelet.dto;

import io.vacco.volach.wavelet.VlWpNode;
import io.vacco.volach.wavelet.type.VlWavelet;
import java.net.URL;

public class VlAudioIOParameters {

  public URL src;
  public boolean scaleToUnit;
  public int analysisSampleSize, level;
  public VlWavelet wavelet;
  public VlWpNode.Order order;

  public static VlAudioIOParameters from(URL src, int analysisSampleSize, int level, boolean scaleToUnit,
                                         VlWavelet wavelet, VlWpNode.Order order) {
    VlAudioIOParameters p = new VlAudioIOParameters();
    p.src = src;
    p.analysisSampleSize = analysisSampleSize;
    p.level = level;
    p.wavelet = wavelet;
    p.order = order;
    p.scaleToUnit = scaleToUnit;
    return p;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy