Browse Source

Revert renaming of PulseGenerator to TriggerGenerator

tags/v0.6.2b
Andrew Belt 6 years ago
parent
commit
b8217aedda
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      include/dsp/digital.hpp

+ 2
- 5
include/dsp/digital.hpp View File

@@ -59,11 +59,11 @@ struct SchmittTrigger {


/** When triggered, holds a high value for a specified time before going low again */
struct TriggerGenerator {
struct PulseGenerator {
float time;
float triggerDuration;

TriggerGenerator() {
PulseGenerator() {
reset();
}
/** Immediately resets the state to LOW */
@@ -86,8 +86,5 @@ struct TriggerGenerator {
}
};

/** Deprecated name for TriggerGenerator */
typedef TriggerGenerator PulseGenerator;


} // namespace rack

Loading…
Cancel
Save