@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); listeners = ps.getComponentList(PROP_DATA_LISTENERS, DataListener.class); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); gainFactor = ps.getDouble(GAIN_FACTOR); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); preemphasisFactor = ps.getDouble(PROP_PREEMPHASIS_FACTOR); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); maxEnergy = ps.getDouble(PROP_MAX_ENERGY); }
@Override public void newProperties(PropertySheet propertySheet) throws PropertyException { super.newProperties(propertySheet); blockSizeMs = propertySheet.getDouble(PROP_BLOCK_SIZE_MS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); logger = ps.getLogger(); String format = ps.getString(PROP_OUTPUT_FORMAT); formatter = new DecimalFormat(format, new DecimalFormatSymbols(Locale.US)); outputSignals = ps.getBoolean(PROP_OUTPUT_SIGNALS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); frontEndList = ps.getComponentList(PROP_PIPELINE, DataProcessor.class); init(); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); init((Loader) ps.getComponent(PROP_LOADER)); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); cmnWindow = ps.getInt(PROP_CMN_WINDOW); cmnShiftWindow = ps.getInt(PROP_CMN_SHIFT_WINDOW); initialCmnWindow = ps.getInt(PROP_INITIAL_CMN_WINDOW); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); initVars( ps.getInt(PROP_DROP_EVERY_NTH_FRAME), ps.getBoolean(PROP_REPLACE_NTH_WITH_PREVIOUS)); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); minFreq = ps.getDouble(PROP_MIN_FREQ); maxFreq = ps.getDouble(PROP_MAX_FREQ); numberFilters = ps.getInt(PROP_NUMBER_FILTERS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); alpha = ps.getDouble(PROP_ALPHA); windowSizeInMs = ps.getFloat(PROP_WINDOW_SIZE_MS); windowShiftInMs = ps.getFloat(PROP_WINDOW_SHIFT_MS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); minFreq = ps.getDouble(PROP_MIN_FREQ); maxFreq = ps.getDouble(PROP_MAX_FREQ); numberFilters = ps.getInt(PROP_NUMBER_FILTERS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); minFreq = ps.getDouble(PROP_MIN_FREQ); maxFreq = ps.getDouble(PROP_MAX_FREQ); numberFilters = ps.getInt(PROP_NUMBER_FILTERS); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); ditherMax = ps.getDouble(PROP_MAX_DITHER); useRandSeed = ps.getBoolean(PROP_USE_RANDSEED); maxValue = ps.getDouble(PROP_MAX_VAL); minValue = ps.getDouble(PROP_MIN_VAL); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); loader = (Loader) ps.getComponent(PROP_LOADER); try { loader.load(); } catch (IOException e) { throw new PropertyException(e); } initDataProcessors(); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); init( ps.getInt(PROP_SAMPLE_RATE), ps.getInt(PROP_BYTES_PER_READ), ps.getInt(PROP_BITS_PER_SAMPLE), ps.getBoolean(PROP_BIG_ENDIAN_DATA), ps.getBoolean(PROP_SIGNED_DATA)); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); lambdaPower = ps.getDouble(LAMBDA_POWER); lambdaA = ps.getDouble(LAMBDA_A); lambdaB = ps.getDouble(LAMBDA_B); lambdaT = ps.getDouble(LAMBDA_T); muT = ps.getDouble(MU_T); maxGain = ps.getDouble(MAX_GAIN); smoothWindow = ps.getInt(SMOOTH_WINDOW); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); cepstrumLength = ps.getInt(PROP_CEPSTRUM_LENGTH); binary = ps.getBoolean(PROP_BINARY); bigEndian = ps.getBoolean(PROP_BIG_ENDIAN_DATA); float frameShiftMs = ps.getFloat(PROP_FRAME_SHIFT_MS); float frameSizeMs = ps.getFloat(PROP_FRAME_SIZE_MS); sampleRate = ps.getInt(PROP_SAMPLE_RATE); frameShift = DataUtil.getSamplesPerWindow(sampleRate, frameShiftMs); frameSize = DataUtil.getSamplesPerShift(sampleRate, frameSizeMs); }
@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); logger = ps.getLogger(); maxRepeatedMs = ps.getDouble(RandomSampleRepeater.PROP_MAX_REAPTED_MS); uDistWidthSec = ps.getDouble(RandomSampleRepeater.PROP_UNIFORM_DIST_WIDTH); useRandSeed = ps.getBoolean(RandomSampleRepeater.PROP_USE_RANDSEED); randStreamStart = ps.getBoolean(RandomSampleRepeater.PROP_RAND_STREAM_START); sampleRate = ps.getInt(RandomSampleRepeater.PROP_SAMPLE_RATE); initialize(); }