ApulsatorSettings constructor

const ApulsatorSettings({
  1. bool enabled = false,
  2. double amount = 1.0,
  3. double bpm = 120.0,
  4. double hz = 2.0,
  5. double level_in = 1.0,
  6. double level_out = 1.0,
  7. ApulsatorMode mode = ApulsatorMode.sine,
  8. int ms = 500,
  9. double offset_l = 0.0,
  10. double offset_r = .5,
  11. ApulsatorTiming timing = ApulsatorTiming.hz,
  12. double width = 1.0,
})

Creates an ApulsatorSettings with the given parameter values.

Each parameter defaults to its ffmpeg default; the effect stays inactive until enabled is set to true.

Implementation

const ApulsatorSettings({
  this.enabled = false,
  this.amount = 1.0,
  this.bpm = 120.0,
  this.hz = 2.0,
  this.level_in = 1.0,
  this.level_out = 1.0,
  this.mode = ApulsatorMode.sine,
  this.ms = 500,
  this.offset_l = 0.0,
  this.offset_r = .5,
  this.timing = ApulsatorTiming.hz,
  this.width = 1.0,
});